Skip to content

Commit e65a7ad

Browse files
authored
Merge pull request #3476 from HypothesisWorks/fix-doc-example
2 parents 5b00b19 + 8908469 commit e65a7ad

File tree

5 files changed

+31
-28
lines changed

5 files changed

+31
-28
lines changed

hypothesis-python/RELEASE.rst

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
RELEASE_TYPE: patch
2+
3+
This patch updates our vendored `list of top-level domains <https://www.iana.org/domains/root/db>`__,
4+
which is used by the provisional :func:`~hypothesis.provisional.domains` strategy, and fixes some
5+
incorrect examples in the docs for :func:`~hypothesis.extra.numpy.mutually_broadcastable_shapes`.

hypothesis-python/src/hypothesis/extra/_array_helpers.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -387,8 +387,8 @@ def mutually_broadcastable_shapes(
387387
... print(strat.example())
388388
BroadcastableShapes(input_shapes=((4, 1, 3), (4, 2, 3), ()), result_shape=(4, 2, 3))
389389
BroadcastableShapes(input_shapes=((3,), (1, 3), (2, 3)), result_shape=(2, 3))
390-
BroadcastableShapes(input_shapes=((), (), ()), result_shape=(2, 3))
391-
BroadcastableShapes(input_shapes=((3,), (), (3,)), result_shape=(2, 3))
390+
BroadcastableShapes(input_shapes=((), (), ()), result_shape=())
391+
BroadcastableShapes(input_shapes=((3,), (), (3,)), result_shape=(3,))
392392
BroadcastableShapes(input_shapes=((1, 2, 3), (3,), ()), result_shape=(1, 2, 3))
393393
394394
"""

hypothesis-python/src/hypothesis/vendor/tlds-alpha-by-domain.txt

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Version 2022040900, Last Updated Sat Apr 9 07:07:02 2022 UTC
1+
# Version 2022100800, Last Updated Sat Oct 8 07:07:01 2022 UTC
22
AAA
33
AARP
44
ABARTH
@@ -176,7 +176,6 @@ BROTHER
176176
BRUSSELS
177177
BS
178178
BT
179-
BUGATTI
180179
BUILD
181180
BUILDERS
182181
BUSINESS
@@ -196,7 +195,6 @@ CALVINKLEIN
196195
CAM
197196
CAMERA
198197
CAMP
199-
CANCERRESEARCH
200198
CANON
201199
CAPETOWN
202200
CAPITAL

requirements/coverage.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ attrs==22.1.0
1212
# pytest
1313
backports-zoneinfo==0.2.1
1414
# via -r requirements/coverage.in
15-
black==22.8.0
15+
black==22.10.0
1616
# via -r requirements/coverage.in
1717
click==8.1.3
1818
# via
@@ -79,7 +79,7 @@ python-dateutil==2.8.2
7979
# via
8080
# -r requirements/coverage.in
8181
# pandas
82-
pytz==2022.2.1
82+
pytz==2022.4
8383
# via
8484
# -r requirements/coverage.in
8585
# pandas
@@ -97,7 +97,7 @@ tomli==2.0.1
9797
# via
9898
# black
9999
# pytest
100-
typing-extensions==4.3.0
100+
typing-extensions==4.4.0
101101
# via
102102
# -r requirements/coverage.in
103103
# black

requirements/tools.txt

+20-20
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ attrs==22.1.0
1717
# flake8-bugbear
1818
# hypothesis (hypothesis-python/setup.py)
1919
# pytest
20-
autoflake==1.6.1
20+
autoflake==1.7.0
2121
# via shed
2222
babel==2.10.3
2323
# via sphinx
@@ -29,7 +29,7 @@ bandit==1.7.4
2929
# via flake8-bandit
3030
beautifulsoup4==4.11.1
3131
# via sphinx-codeautolink
32-
black==22.8.0
32+
black==22.10.0
3333
# via shed
3434
bleach==5.0.1
3535
# via readme-renderer
@@ -59,7 +59,7 @@ decorator==5.1.1
5959
# via ipython
6060
distlib==0.3.6
6161
# via virtualenv
62-
django==4.1.1
62+
django==4.1.2
6363
# via -r requirements/tools.in
6464
docutils==0.17.1
6565
# via
@@ -71,7 +71,7 @@ dpcontracts==0.6.0
7171
# via -r requirements/tools.in
7272
exceptiongroup==1.0.0rc9 ; python_version < "3.11"
7373
# via hypothesis (hypothesis-python/setup.py)
74-
executing==1.1.0
74+
executing==1.1.1
7575
# via stack-data
7676
filelock==3.8.0
7777
# via
@@ -96,7 +96,7 @@ flake8-bandit==4.1.1
9696
# via -r requirements/tools.in
9797
flake8-bugbear==22.9.23
9898
# via -r requirements/tools.in
99-
flake8-builtins==1.5.3
99+
flake8-builtins==2.0.0
100100
# via -r requirements/tools.in
101101
flake8-comprehensions==3.10.0
102102
# via -r requirements/tools.in
@@ -122,13 +122,13 @@ flake8-simplify==0.19.3
122122
# via -r requirements/tools.in
123123
gitdb==4.0.9
124124
# via gitpython
125-
gitpython==3.1.27
125+
gitpython==3.1.28
126126
# via bandit
127127
idna==3.4
128128
# via requests
129129
imagesize==1.4.1
130130
# via sphinx
131-
importlib-metadata==4.13.0
131+
importlib-metadata==5.0.0
132132
# via
133133
# keyring
134134
# sphinx
@@ -165,7 +165,7 @@ mccabe==0.7.0
165165
# via flake8
166166
more-itertools==8.14.0
167167
# via jaraco-classes
168-
mypy==0.981
168+
mypy==0.982
169169
# via -r requirements/tools.in
170170
mypy-extensions==0.4.3
171171
# via
@@ -192,7 +192,7 @@ pexpect==4.8.0
192192
# via ipython
193193
pickleshare==0.7.5
194194
# via ipython
195-
pip-tools==6.8.0
195+
pip-tools==6.9.0
196196
# via -r requirements/tools.in
197197
pkginfo==1.8.3
198198
# via twine
@@ -232,15 +232,15 @@ pygments==2.13.0
232232
# sphinx
233233
pyparsing==3.0.9
234234
# via packaging
235-
pyright==1.1.273
235+
pyright==1.1.274
236236
# via -r requirements/tools.in
237237
pytest==7.1.3
238238
# via -r requirements/tools.in
239239
python-dateutil==2.8.2
240240
# via -r requirements/tools.in
241-
pytz==2022.2.1
241+
pytz==2022.4
242242
# via babel
243-
pyupgrade==2.38.2
243+
pyupgrade==3.0.0
244244
# via shed
245245
pyyaml==6.0
246246
# via
@@ -254,17 +254,17 @@ requests==2.28.1
254254
# requests-toolbelt
255255
# sphinx
256256
# twine
257-
requests-toolbelt==0.9.1
257+
requests-toolbelt==0.10.0
258258
# via twine
259259
restructuredtext-lint==1.4.0
260260
# via -r requirements/tools.in
261261
rfc3986==2.0.0
262262
# via twine
263-
rich==12.5.1
263+
rich==12.6.0
264264
# via twine
265265
secretstorage==3.3.3
266266
# via keyring
267-
shed==0.10.3
267+
shed==0.10.5
268268
# via -r requirements/tools.in
269269
six==1.16.0
270270
# via
@@ -314,7 +314,7 @@ stack-data==0.5.1
314314
# via ipython
315315
stevedore==4.0.0
316316
# via bandit
317-
tokenize-rt==4.2.1
317+
tokenize-rt==5.0.0
318318
# via pyupgrade
319319
tomli==2.0.1
320320
# via
@@ -337,11 +337,11 @@ types-click==7.1.8
337337
# via -r requirements/tools.in
338338
types-pkg-resources==0.1.3
339339
# via -r requirements/tools.in
340-
types-pytz==2022.2.1.0
340+
types-pytz==2022.4.0.0
341341
# via -r requirements/tools.in
342-
types-redis==4.3.21
342+
types-redis==4.3.21.1
343343
# via -r requirements/tools.in
344-
typing-extensions==4.3.0
344+
typing-extensions==4.4.0
345345
# via
346346
# -r requirements/tools.in
347347
# black
@@ -365,7 +365,7 @@ webencodings==0.5.1
365365
# via bleach
366366
wheel==0.37.1
367367
# via pip-tools
368-
zipp==3.8.1
368+
zipp==3.9.0
369369
# via importlib-metadata
370370

371371
# The following packages are considered to be unsafe in a requirements file:

0 commit comments

Comments
 (0)