Skip to content

Commit fe7bde7

Browse files
authored
Merge pull request #3383 from HypothesisWorks/create-pull-request/patch
Update pinned dependencies
2 parents b8c96fa + 17cc22d commit fe7bde7

File tree

4 files changed

+19
-38
lines changed

4 files changed

+19
-38
lines changed

hypothesis-python/tests/array_api/test_indices.py

-19
Original file line numberDiff line numberDiff line change
@@ -94,25 +94,6 @@ def test_efficiently_generate_indexers(xp, xps):
9494
@given(allow_newaxis=st.booleans(), allow_ellipsis=st.booleans(), data=st.data())
9595
def test_generate_valid_indices(xp, xps, allow_newaxis, allow_ellipsis, data):
9696
"""Strategy generates valid indices."""
97-
try:
98-
import numpy.array_api
99-
except ImportError:
100-
pass
101-
else:
102-
if allow_newaxis and xp is numpy.array_api:
103-
# Special case NumPy due to https://github.com/numpy/numpy/issues/21373
104-
x = xp.ones(5)
105-
try:
106-
x[None, :]
107-
except IndexError:
108-
note("Forcing `allow_newaxis=False` for np.array_api")
109-
allow_newaxis = False
110-
else:
111-
raise AssertionError(
112-
"numpy.array_api looks to now support newaxis indexing, "
113-
"so this try/except/else special case should be removed."
114-
)
115-
11697
shape = data.draw(
11798
xps.array_shapes(min_dims=1, max_side=4)
11899
| xps.array_shapes(min_dims=1, min_side=0, max_side=10),

requirements/coverage.txt

+4-4
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ deprecated==1.2.13
2424
# via redis
2525
dpcontracts==0.6.0
2626
# via -r requirements/coverage.in
27-
exceptiongroup==1.0.0rc8 ; python_version < "3.11.0b1"
27+
exceptiongroup==1.0.0rc8 ; python_version < "3.11"
2828
# via hypothesis (hypothesis-python/setup.py)
2929
execnet==1.9.0
3030
# via pytest-xdist
@@ -34,21 +34,21 @@ iniconfig==1.1.1
3434
# via pytest
3535
lark-parser==0.12.0
3636
# via -r requirements/coverage.in
37-
libcst==0.4.3
37+
libcst==0.4.5
3838
# via -r requirements/coverage.in
3939
mypy-extensions==0.4.3
4040
# via
4141
# black
4242
# typing-inspect
43-
numpy==1.22.4
43+
numpy==1.23.0
4444
# via
4545
# -r requirements/coverage.in
4646
# pandas
4747
packaging==21.3
4848
# via
4949
# pytest
5050
# redis
51-
pandas==1.4.2
51+
pandas==1.4.3
5252
# via -r requirements/coverage.in
5353
pathspec==0.9.0
5454
# via black

requirements/test.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ attrs==21.4.0
88
# via
99
# hypothesis (hypothesis-python/setup.py)
1010
# pytest
11-
exceptiongroup==1.0.0rc8 ; python_version < "3.11.0b1"
11+
exceptiongroup==1.0.0rc8 ; python_version < "3.11"
1212
# via hypothesis (hypothesis-python/setup.py)
1313
execnet==1.9.0
1414
# via pytest-xdist

requirements/tools.txt

+14-14
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ attrs==21.4.0
1919
# pytest
2020
autoflake==1.4
2121
# via shed
22-
babel==2.10.1
22+
babel==2.10.3
2323
# via sphinx
2424
backcall==0.2.0
2525
# via ipython
@@ -33,7 +33,7 @@ black==22.3.0
3333
# via shed
3434
bleach==5.0.0
3535
# via readme-renderer
36-
certifi==2022.5.18.1
36+
certifi==2022.6.15
3737
# via requests
3838
cffi==1.15.0
3939
# via cryptography
@@ -67,7 +67,7 @@ docutils==0.17.1
6767
# sphinx-rtd-theme
6868
dpcontracts==0.6.0
6969
# via -r requirements/tools.in
70-
exceptiongroup==1.0.0rc8 ; python_version < "3.11.0b1"
70+
exceptiongroup==1.0.0rc8 ; python_version < "3.11"
7171
# via hypothesis (hypothesis-python/setup.py)
7272
executing==0.8.3
7373
# via stack-data
@@ -95,7 +95,7 @@ flake8-2020==1.6.1
9595
# via -r requirements/tools.in
9696
flake8-bandit==3.0.0
9797
# via -r requirements/tools.in
98-
flake8-bugbear==22.4.25
98+
flake8-bugbear==22.6.22
9999
# via -r requirements/tools.in
100100
flake8-builtins==1.5.3
101101
# via -r requirements/tools.in
@@ -109,7 +109,7 @@ flake8-helper==0.2.1
109109
# via flake8-strftime
110110
flake8-mutable==1.2.0
111111
# via -r requirements/tools.in
112-
flake8-noqa==1.2.2
112+
flake8-noqa==1.2.5
113113
# via -r requirements/tools.in
114114
flake8-pie==0.15.0
115115
# via -r requirements/tools.in
@@ -135,7 +135,7 @@ idna==3.3
135135
# via requests
136136
imagesize==1.3.0
137137
# via sphinx
138-
importlib-metadata==4.11.4
138+
importlib-metadata==4.12.0
139139
# via
140140
# keyring
141141
# sphinx
@@ -158,7 +158,7 @@ keyring==23.6.0
158158
# via twine
159159
lark-parser==0.12.0
160160
# via -r requirements/tools.in
161-
libcst==0.4.3
161+
libcst==0.4.5
162162
# via
163163
# -r requirements/tools.in
164164
# shed
@@ -175,7 +175,7 @@ mypy-extensions==0.4.3
175175
# black
176176
# mypy
177177
# typing-inspect
178-
nodeenv==1.6.0
178+
nodeenv==1.7.0
179179
# via pyright
180180
packaging==21.3
181181
# via
@@ -287,7 +287,7 @@ sortedcontainers==2.4.0
287287
# via hypothesis (hypothesis-python/setup.py)
288288
soupsieve==2.3.2.post1
289289
# via beautifulsoup4
290-
sphinx==5.0.1
290+
sphinx==5.0.2
291291
# via
292292
# -r requirements/tools.in
293293
# sphinx-codeautolink
@@ -315,7 +315,7 @@ sphinxcontrib-serializinghtml==1.1.5
315315
# via sphinx
316316
sqlparse==0.4.2
317317
# via django
318-
stack-data==0.2.0
318+
stack-data==0.3.0
319319
# via ipython
320320
stevedore==3.5.0
321321
# via bandit
@@ -333,7 +333,7 @@ tomli==2.0.1
333333
# pytest
334334
tox==3.25.0
335335
# via -r requirements/tools.in
336-
traitlets==5.2.2.post1
336+
traitlets==5.3.0
337337
# via
338338
# ipython
339339
# matplotlib-inline
@@ -343,9 +343,9 @@ types-click==7.1.8
343343
# via -r requirements/tools.in
344344
types-pkg-resources==0.1.3
345345
# via -r requirements/tools.in
346-
types-pytz==2021.3.8
346+
types-pytz==2022.1.0
347347
# via -r requirements/tools.in
348-
types-redis==4.2.6
348+
types-redis==4.3.2
349349
# via -r requirements/tools.in
350350
typing-extensions==4.2.0
351351
# via
@@ -363,7 +363,7 @@ urllib3==1.26.9
363363
# via
364364
# requests
365365
# twine
366-
virtualenv==20.14.1
366+
virtualenv==20.15.0
367367
# via tox
368368
wcwidth==0.2.5
369369
# via prompt-toolkit

0 commit comments

Comments
 (0)