Skip to content

Commit 927fbf8

Browse files
committed
Bump pinned deps
1 parent 851d4c7 commit 927fbf8

File tree

5 files changed

+244
-77
lines changed

5 files changed

+244
-77
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
runs-on: ubuntu-latest
2727
strategy:
2828
matrix:
29-
python-version: [3.6, 3.7, 3.8]
29+
python-version: [3.6, 3.7, 3.8, 3.9]
3030
fail-fast: false
3131
steps:
3232
- uses: actions/checkout@v2

deps/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Pinning dependencies
22

3-
Hypothesmith pins *all* our dependencies for testing, and disables installation
3+
`hypothesis-jsonschema` pins *all* our dependencies for testing, and disables installation
44
of any unlisted dependencies to make sure the set of pins is complete.
55

66
How does this work?

deps/check.txt

Lines changed: 129 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -4,50 +4,132 @@
44
#
55
# pip-compile --output-file=deps/check.txt deps/check.in
66
#
7-
appdirs==1.4.4 # via black
8-
attrs==20.2.0 # via flake8-bugbear
9-
autoflake==1.4 # via shed
10-
bandit==1.6.2 # via flake8-bandit
11-
black==20.8b1 # via shed
12-
click==7.1.2 # via black, pybetter, pyemojify
13-
colorama==0.4.3 # via bandit
14-
com2ann==0.1.1 # via -r deps/check.in
15-
flake8-bandit==2.1.2 # via -r deps/check.in
16-
flake8-bugbear==20.1.4 # via -r deps/check.in
17-
flake8-builtins==1.5.3 # via -r deps/check.in
18-
flake8-comprehensions==3.2.3 # via -r deps/check.in
19-
flake8-docstrings==1.5.0 # via -r deps/check.in
20-
flake8-polyfill==1.0.2 # via flake8-bandit, pep8-naming
21-
flake8-print==3.1.4 # via -r deps/check.in
22-
flake8==3.8.4 # via -r deps/check.in, flake8-bandit, flake8-bugbear, flake8-builtins, flake8-comprehensions, flake8-docstrings, flake8-polyfill, flake8-print
23-
gitdb==4.0.5 # via gitpython
24-
gitpython==3.1.9 # via bandit
25-
importlib-metadata==2.0.0 # via flake8, flake8-comprehensions, stevedore
26-
isort==5.5.4 # via shed
27-
libcst==0.3.12 # via pybetter
28-
mccabe==0.6.1 # via flake8
29-
mypy-extensions==0.4.3 # via black, mypy, typing-inspect
30-
mypy==0.782 # via -r deps/check.in
31-
pathspec==0.8.0 # via black
32-
pbr==5.5.0 # via stevedore
33-
pep8-naming==0.11.1 # via -r deps/check.in
34-
pybetter==0.3.5 # via shed
35-
pycodestyle==2.6.0 # via flake8, flake8-bandit, flake8-print
36-
pydocstyle==5.1.1 # via flake8-docstrings
37-
pyemojify==0.2.0 # via pybetter
38-
pyflakes==2.2.0 # via autoflake, flake8
39-
pygments==2.7.1 # via pybetter
40-
pyupgrade==2.7.2 # via shed
41-
pyyaml==5.3.1 # via bandit, libcst
42-
regex==2020.9.27 # via black
43-
shed==0.2.4 # via -r deps/check.in
44-
six==1.15.0 # via bandit, flake8-print
45-
smmap==3.0.4 # via gitdb
46-
snowballstemmer==2.0.0 # via pydocstyle
47-
stevedore==3.2.2 # via bandit
48-
tokenize-rt==4.0.0 # via pyupgrade
49-
toml==0.10.1 # via black
50-
typed-ast==1.4.1 # via black, mypy
51-
typing-extensions==3.7.4.3 # via black, libcst, mypy, typing-inspect
52-
typing-inspect==0.6.0 # via libcst
53-
zipp==3.3.0 # via importlib-metadata
7+
appdirs==1.4.4
8+
# via black
9+
attrs==20.3.0
10+
# via flake8-bugbear
11+
autoflake==1.4
12+
# via shed
13+
bandit==1.7.0
14+
# via flake8-bandit
15+
black==20.8b1
16+
# via shed
17+
click==7.1.2
18+
# via
19+
# black
20+
# pybetter
21+
# pyemojify
22+
colorama==0.4.4
23+
# via bandit
24+
com2ann==0.1.1
25+
# via -r deps/check.in
26+
flake8-bandit==2.1.2
27+
# via -r deps/check.in
28+
flake8-bugbear==20.11.1
29+
# via -r deps/check.in
30+
flake8-builtins==1.5.3
31+
# via -r deps/check.in
32+
flake8-comprehensions==3.3.1
33+
# via -r deps/check.in
34+
flake8-docstrings==1.5.0
35+
# via -r deps/check.in
36+
flake8-polyfill==1.0.2
37+
# via
38+
# flake8-bandit
39+
# pep8-naming
40+
flake8-print==4.0.0
41+
# via -r deps/check.in
42+
flake8==3.8.4
43+
# via
44+
# -r deps/check.in
45+
# flake8-bandit
46+
# flake8-bugbear
47+
# flake8-builtins
48+
# flake8-comprehensions
49+
# flake8-docstrings
50+
# flake8-polyfill
51+
# flake8-print
52+
gitdb==4.0.5
53+
# via gitpython
54+
gitpython==3.1.11
55+
# via bandit
56+
importlib-metadata==3.3.0
57+
# via
58+
# flake8
59+
# flake8-comprehensions
60+
# stevedore
61+
isort==5.7.0
62+
# via shed
63+
libcst==0.3.16
64+
# via pybetter
65+
mccabe==0.6.1
66+
# via flake8
67+
mypy-extensions==0.4.3
68+
# via
69+
# black
70+
# mypy
71+
# typing-inspect
72+
mypy==0.790
73+
# via -r deps/check.in
74+
pathspec==0.8.1
75+
# via black
76+
pbr==5.5.1
77+
# via stevedore
78+
pep8-naming==0.11.1
79+
# via -r deps/check.in
80+
pybetter==0.3.5
81+
# via shed
82+
pycodestyle==2.6.0
83+
# via
84+
# flake8
85+
# flake8-bandit
86+
# flake8-print
87+
pydocstyle==5.1.1
88+
# via flake8-docstrings
89+
pyemojify==0.2.0
90+
# via pybetter
91+
pyflakes==2.2.0
92+
# via
93+
# autoflake
94+
# flake8
95+
pygments==2.7.3
96+
# via pybetter
97+
pyupgrade==2.7.4
98+
# via shed
99+
pyyaml==5.3.1
100+
# via
101+
# bandit
102+
# libcst
103+
regex==2020.11.13
104+
# via black
105+
shed==0.2.5
106+
# via -r deps/check.in
107+
six==1.15.0
108+
# via
109+
# bandit
110+
# flake8-print
111+
smmap==3.0.4
112+
# via gitdb
113+
snowballstemmer==2.0.0
114+
# via pydocstyle
115+
stevedore==3.3.0
116+
# via bandit
117+
tokenize-rt==4.0.0
118+
# via pyupgrade
119+
toml==0.10.2
120+
# via black
121+
typed-ast==1.4.2
122+
# via
123+
# black
124+
# mypy
125+
typing-extensions==3.7.4.3
126+
# via
127+
# black
128+
# importlib-metadata
129+
# libcst
130+
# mypy
131+
# typing-inspect
132+
typing-inspect==0.6.0
133+
# via libcst
134+
zipp==3.4.0
135+
# via importlib-metadata

deps/test.txt

Lines changed: 72 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -4,34 +4,78 @@
44
#
55
# pip-compile --output-file=deps/test.txt deps/test.in setup.py
66
#
7-
apipkg==1.5 # via execnet
8-
atomicwrites==1.4.0 # via pytest
9-
attrs==20.2.0 # via hypothesis, jsonschema, pytest
10-
colorama==0.4.3 # via pytest
11-
coverage==5.3 # via pytest-cov
12-
execnet==1.7.1 # via pytest-xdist
13-
hypothesis==5.37.0 # via hypothesis-jsonschema (setup.py)
14-
idna==2.10 # via jsonschema
15-
importlib-metadata==2.0.0 # via jsonschema, pluggy, pytest
16-
iniconfig==1.0.1 # via pytest
17-
jsonpointer==2.0 # via jsonschema
18-
jsonschema[format]==3.2.0 # via -r deps/test.in, hypothesis-jsonschema (setup.py)
19-
packaging==20.4 # via pytest
20-
pluggy==0.13.1 # via pytest
21-
py==1.9.0 # via pytest, pytest-forked
22-
pyparsing==2.4.7 # via packaging
23-
pyrsistent==0.17.3 # via jsonschema
24-
pytest-cov==2.10.1 # via -r deps/test.in
25-
pytest-forked==1.3.0 # via pytest-xdist
26-
pytest-xdist==2.1.0 # via -r deps/test.in
27-
pytest==6.1.1 # via -r deps/test.in, pytest-cov, pytest-forked, pytest-xdist
28-
rfc3987==1.3.8 # via jsonschema
29-
six==1.15.0 # via jsonschema, packaging
30-
sortedcontainers==2.2.2 # via hypothesis
31-
strict-rfc3339==0.7 # via jsonschema
32-
toml==0.10.1 # via pytest
33-
webcolors==1.11.1 # via jsonschema
34-
zipp==3.3.0 # via importlib-metadata
7+
apipkg==1.5
8+
# via execnet
9+
atomicwrites==1.4.0
10+
# via pytest
11+
attrs==20.3.0
12+
# via
13+
# hypothesis
14+
# jsonschema
15+
# pytest
16+
colorama==0.4.4
17+
# via pytest
18+
coverage==5.3.1
19+
# via pytest-cov
20+
execnet==1.7.1
21+
# via pytest-xdist
22+
hypothesis==5.47.0
23+
# via hypothesis-jsonschema (setup.py)
24+
idna==3.1
25+
# via jsonschema
26+
importlib-metadata==3.3.0
27+
# via
28+
# jsonschema
29+
# pluggy
30+
# pytest
31+
iniconfig==1.1.1
32+
# via pytest
33+
jsonpointer==2.0
34+
# via jsonschema
35+
jsonschema[format]==3.2.0
36+
# via
37+
# -r deps/test.in
38+
# hypothesis-jsonschema (setup.py)
39+
packaging==20.8
40+
# via pytest
41+
pluggy==0.13.1
42+
# via pytest
43+
py==1.10.0
44+
# via
45+
# pytest
46+
# pytest-forked
47+
pyparsing==2.4.7
48+
# via packaging
49+
pyrsistent==0.17.3
50+
# via jsonschema
51+
pytest-cov==2.10.1
52+
# via -r deps/test.in
53+
pytest-forked==1.3.0
54+
# via pytest-xdist
55+
pytest-xdist==2.2.0
56+
# via -r deps/test.in
57+
pytest==6.2.1
58+
# via
59+
# -r deps/test.in
60+
# pytest-cov
61+
# pytest-forked
62+
# pytest-xdist
63+
rfc3987==1.3.8
64+
# via jsonschema
65+
six==1.15.0
66+
# via jsonschema
67+
sortedcontainers==2.3.0
68+
# via hypothesis
69+
strict-rfc3339==0.7
70+
# via jsonschema
71+
toml==0.10.2
72+
# via pytest
73+
typing-extensions==3.7.4.3
74+
# via importlib-metadata
75+
webcolors==1.11.1
76+
# via jsonschema
77+
zipp==3.4.0
78+
# via importlib-metadata
3579

3680
# The following packages are considered to be unsafe in a requirements file:
3781
# setuptools

tests/corpus-suite-schemas.json

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -390,6 +390,10 @@
390390
"type": "boolean"
391391
}
392392
},
393+
"draft7/all integers are multiples of 0.5, if overflow is handled": {
394+
"multipleOf": 0.5,
395+
"type": "integer"
396+
},
393397
"draft7/allOf": {
394398
"allOf": [
395399
{
@@ -828,6 +832,27 @@
828832
}
829833
}
830834
},
835+
"draft7/evaluating the same schema location against the same data location twice is not a sign of an infinite loop": {
836+
"allOf": [
837+
{
838+
"properties": {
839+
"foo": {
840+
"$ref": "#/definitions/int"
841+
}
842+
}
843+
},
844+
{
845+
"additionalProperties": {
846+
"$ref": "#/definitions/int"
847+
}
848+
}
849+
],
850+
"definitions": {
851+
"int": {
852+
"type": "integer"
853+
}
854+
}
855+
},
831856
"draft7/exclusiveMaximum validation": {
832857
"exclusiveMaximum": 3.0
833858
},
@@ -1083,6 +1108,18 @@
10831108
"string"
10841109
]
10851110
},
1111+
"draft7/naive replacement of $ref with its destination is not correct": {
1112+
"definitions": {
1113+
"a_string": {
1114+
"type": "string"
1115+
}
1116+
},
1117+
"enum": [
1118+
{
1119+
"$ref": "#/definitions/a_string"
1120+
}
1121+
]
1122+
},
10861123
"draft7/nested allOf, to check validation semantics": {
10871124
"allOf": [
10881125
{
@@ -1774,6 +1811,10 @@
17741811
"draft7/invalid definition": {
17751812
"$ref": "http://json-schema.org/draft-07/schema#"
17761813
},
1814+
"draft7/invalid instance should not raise error when float division = inf": {
1815+
"multipleOf": 0.123456789,
1816+
"type": "integer"
1817+
},
17771818
"draft7/not with boolean schema true": {
17781819
"not": true
17791820
},

0 commit comments

Comments
 (0)