From 5798cecb6dd9ca620ca8c9ef0bdf5b9108f2bd13 Mon Sep 17 00:00:00 2001 From: CI on behalf of the Hypothesis team Date: Mon, 5 Sep 2022 02:57:04 +0000 Subject: [PATCH] Update pinned dependencies --- hypothesis-python/RELEASE.rst | 3 + hypothesis-python/setup.py | 2 +- .../src/hypothesis/extra/ghostwriter.py | 2 +- .../src/hypothesis/internal/filtering.py | 2 +- requirements/coverage.txt | 20 ++-- requirements/test.txt | 4 +- requirements/tools.txt | 92 +++++++++---------- tooling/src/hypothesistooling/__main__.py | 2 +- 8 files changed, 62 insertions(+), 65 deletions(-) create mode 100644 hypothesis-python/RELEASE.rst diff --git a/hypothesis-python/RELEASE.rst b/hypothesis-python/RELEASE.rst new file mode 100644 index 0000000000..402a1edbba --- /dev/null +++ b/hypothesis-python/RELEASE.rst @@ -0,0 +1,3 @@ +RELEASE_TYPE: patch + +This patch updates our autoformatting tools, improving our code style without any API changes. diff --git a/hypothesis-python/setup.py b/hypothesis-python/setup.py index feeea41469..600776b83a 100644 --- a/hypothesis-python/setup.py +++ b/hypothesis-python/setup.py @@ -66,7 +66,7 @@ def local_file(name): # zoneinfo is an odd one: every dependency is conditional, because they're # only necessary on old versions of Python or Windows systems. "zoneinfo": [ - "tzdata>=2022.1 ; sys_platform == 'win32'", + "tzdata>=2022.2 ; sys_platform == 'win32'", "backports.zoneinfo>=0.2.1 ; python_version<'3.9'", ], # We only support Django versions with upstream support - see diff --git a/hypothesis-python/src/hypothesis/extra/ghostwriter.py b/hypothesis-python/src/hypothesis/extra/ghostwriter.py index 53fe5bbd2c..3bf291cdf7 100644 --- a/hypothesis-python/src/hypothesis/extra/ghostwriter.py +++ b/hypothesis-python/src/hypothesis/extra/ghostwriter.py @@ -1464,7 +1464,7 @@ def maker( # happen. E.g. type(None) -> -> quoted. try: # We don't actually execute this code object; we're just compiling - # to check that the repr is syntatically valid. HOWEVER, we're + # to check that the repr is syntactically valid. HOWEVER, we're # going to output that code string into test code which will be # executed; so you still shouldn't ghostwrite for hostile code. compile(repr(identity), "", "exec") diff --git a/hypothesis-python/src/hypothesis/internal/filtering.py b/hypothesis-python/src/hypothesis/internal/filtering.py index e0d576e7e1..8f15ba9ecf 100644 --- a/hypothesis-python/src/hypothesis/internal/filtering.py +++ b/hypothesis-python/src/hypothesis/internal/filtering.py @@ -12,7 +12,7 @@ For example:: - integers().filter(lamda x: x >= 0) -> integers(min_value=0) + integers().filter(lambda x: x >= 0) -> integers(min_value=0) This is intractable in general, but reasonably easy for simple cases involving numeric bounds, strings with length or regex constraints, and collection lengths - diff --git a/requirements/coverage.txt b/requirements/coverage.txt index b5937b3ad7..49b7e258eb 100644 --- a/requirements/coverage.txt +++ b/requirements/coverage.txt @@ -12,23 +12,23 @@ attrs==22.1.0 # pytest backports-zoneinfo==0.2.1 # via -r requirements/coverage.in -black==22.6.0 +black==22.8.0 # via -r requirements/coverage.in click==8.1.3 # via # -r requirements/coverage.in # black -coverage==6.4.2 +coverage==6.4.4 # via -r requirements/coverage.in deprecated==1.2.13 # via redis dpcontracts==0.6.0 # via -r requirements/coverage.in -exceptiongroup==1.0.0rc8 ; python_version < "3.11" +exceptiongroup==1.0.0rc9 ; python_version < "3.11" # via hypothesis (hypothesis-python/setup.py) execnet==1.9.0 # via pytest-xdist -fakeredis==1.8.2 +fakeredis==1.9.1 # via -r requirements/coverage.in iniconfig==1.1.1 # via pytest @@ -40,7 +40,7 @@ mypy-extensions==0.4.3 # via # black # typing-inspect -numpy==1.23.1 +numpy==1.23.2 # via # -r requirements/coverage.in # pandas @@ -48,9 +48,9 @@ packaging==21.3 # via # pytest # redis -pandas==1.4.3 +pandas==1.4.4 # via -r requirements/coverage.in -pathspec==0.9.0 +pathspec==0.10.1 # via black pexpect==4.8.0 # via -r requirements/test.in @@ -66,7 +66,7 @@ py==1.11.0 # pytest-forked pyparsing==3.0.9 # via packaging -pytest==7.1.2 +pytest==7.1.3 # via # -r requirements/test.in # pytest-forked @@ -79,7 +79,7 @@ python-dateutil==2.8.2 # via # -r requirements/coverage.in # pandas -pytz==2022.1 +pytz==2022.2.1 # via # -r requirements/coverage.in # pandas @@ -105,7 +105,7 @@ typing-extensions==4.3.0 # black # libcst # typing-inspect -typing-inspect==0.7.1 +typing-inspect==0.8.0 # via libcst wrapt==1.14.1 # via deprecated diff --git a/requirements/test.txt b/requirements/test.txt index 64cb7c3314..a82f44066f 100644 --- a/requirements/test.txt +++ b/requirements/test.txt @@ -8,7 +8,7 @@ attrs==22.1.0 # via # hypothesis (hypothesis-python/setup.py) # pytest -exceptiongroup==1.0.0rc8 ; python_version < "3.11" +exceptiongroup==1.0.0rc9 ; python_version < "3.11" # via hypothesis (hypothesis-python/setup.py) execnet==1.9.0 # via pytest-xdist @@ -28,7 +28,7 @@ py==1.11.0 # pytest-forked pyparsing==3.0.9 # via packaging -pytest==7.1.2 +pytest==7.1.3 # via # -r requirements/test.in # pytest-forked diff --git a/requirements/tools.txt b/requirements/tools.txt index 2d9d6f146a..23cf61885c 100644 --- a/requirements/tools.txt +++ b/requirements/tools.txt @@ -10,14 +10,14 @@ asgiref==3.5.2 # via django astor==0.8.1 # via flake8-simplify -asttokens==2.0.5 +asttokens==2.0.8 # via stack-data attrs==22.1.0 # via # flake8-bugbear # hypothesis (hypothesis-python/setup.py) # pytest -autoflake==1.4 +autoflake==1.5.3 # via shed babel==2.10.3 # via sphinx @@ -29,7 +29,7 @@ bandit==1.7.4 # via flake8-bandit beautifulsoup4==4.11.1 # via sphinx-codeautolink -black==22.6.0 +black==22.8.0 # via shed bleach==5.0.1 # via readme-renderer @@ -39,27 +39,27 @@ certifi==2022.6.15 # via requests cffi==1.15.1 # via cryptography -charset-normalizer==2.1.0 +charset-normalizer==2.1.1 # via requests click==8.1.3 # via # black # pip-tools -codespell==2.1.0 +codespell==2.2.1 # via -r requirements/tools.in com2ann==0.3.0 # via shed commonmark==0.9.1 # via rich -coverage==6.4.2 +coverage==6.4.4 # via -r requirements/tools.in cryptography==37.0.4 # via secretstorage decorator==5.1.1 # via ipython -distlib==0.3.5 +distlib==0.3.6 # via virtualenv -django==4.0.6 +django==4.1 # via -r requirements/tools.in docutils==0.17.1 # via @@ -69,15 +69,15 @@ docutils==0.17.1 # sphinx-rtd-theme dpcontracts==0.6.0 # via -r requirements/tools.in -exceptiongroup==1.0.0rc8 ; python_version < "3.11" +exceptiongroup==1.0.0rc9 ; python_version < "3.11" # via hypothesis (hypothesis-python/setup.py) -executing==0.9.1 +executing==1.0.0 # via stack-data -filelock==3.7.1 +filelock==3.8.0 # via # tox # virtualenv -flake8==4.0.1 +flake8==5.0.4 # via # -r requirements/tools.in # flake8-2020 @@ -87,17 +87,14 @@ flake8==4.0.1 # flake8-comprehensions # flake8-datetimez # flake8-docstrings - # flake8-helper # flake8-mutable # flake8-noqa - # flake8-polyfill # flake8-simplify - # flake8-strftime -flake8-2020==1.6.1 +flake8-2020==1.7.0 # via -r requirements/tools.in -flake8-bandit==3.0.0 +flake8-bandit==4.1.1 # via -r requirements/tools.in -flake8-bugbear==22.7.1 +flake8-bugbear==22.8.23 # via -r requirements/tools.in flake8-builtins==1.5.3 # via -r requirements/tools.in @@ -107,28 +104,22 @@ flake8-datetimez==20.10.0 # via -r requirements/tools.in flake8-docstrings==1.6.0 # via -r requirements/tools.in -flake8-helper==0.2.1 - # via flake8-strftime flake8-mutable==1.2.0 # via -r requirements/tools.in -flake8-noqa==1.2.7 +flake8-noqa==1.2.9 # via -r requirements/tools.in -flake8-pie==0.15.0 +flake8-pie==0.16.0 # via -r requirements/tools.in flake8-plugin-utils==1.3.2 # via # flake8-pytest-style # flake8-return -flake8-polyfill==1.0.2 - # via flake8-bandit flake8-pytest-style==1.6.0 # via -r requirements/tools.in flake8-return==1.1.3 # via -r requirements/tools.in flake8-simplify==0.19.3 # via -r requirements/tools.in -flake8-strftime==0.3.2 - # via -r requirements/tools.in gitdb==4.0.9 # via gitpython gitpython==3.1.27 @@ -148,6 +139,8 @@ ipython==8.4.0 # via -r requirements/tools.in isort==5.10.1 # via shed +jaraco-classes==3.2.2 + # via keyring jedi==0.18.1 # via ipython jeepney==0.8.0 @@ -156,7 +149,7 @@ jeepney==0.8.0 # secretstorage jinja2==3.1.2 # via sphinx -keyring==23.7.0 +keyring==23.9.1 # via twine lark-parser==0.12.0 # via -r requirements/tools.in @@ -166,10 +159,12 @@ libcst==0.4.7 # shed markupsafe==2.1.1 # via jinja2 -matplotlib-inline==0.1.3 +matplotlib-inline==0.1.6 # via ipython -mccabe==0.6.1 +mccabe==0.7.0 # via flake8 +more-itertools==8.14.0 + # via jaraco-classes mypy==0.971 # via -r requirements/tools.in mypy-extensions==0.4.3 @@ -187,9 +182,9 @@ packaging==21.3 # tox parso==0.8.3 # via jedi -pathspec==0.9.0 +pathspec==0.10.1 # via black -pbr==5.9.0 +pbr==5.10.0 # via stevedore pep517==0.13.0 # via build @@ -209,7 +204,7 @@ pluggy==1.0.0 # via # pytest # tox -prompt-toolkit==3.0.30 +prompt-toolkit==3.0.31 # via ipython ptyprocess==0.7.0 # via pexpect @@ -219,19 +214,17 @@ py==1.11.0 # via # pytest # tox -pycodestyle==2.8.0 - # via - # flake8 - # flake8-bandit +pycodestyle==2.9.1 + # via flake8 pycparser==2.21 # via cffi pydocstyle==6.1.1 # via flake8-docstrings -pyflakes==2.4.0 +pyflakes==2.5.0 # via # autoflake # flake8 -pygments==2.12.0 +pygments==2.13.0 # via # ipython # readme-renderer @@ -239,13 +232,13 @@ pygments==2.12.0 # sphinx pyparsing==3.0.9 # via packaging -pyright==1.1.264 +pyright==1.1.269 # via -r requirements/tools.in -pytest==7.1.2 +pytest==7.1.3 # via -r requirements/tools.in python-dateutil==2.8.2 # via -r requirements/tools.in -pytz==2022.1 +pytz==2022.2.1 # via babel pyupgrade==2.37.3 # via shed @@ -253,7 +246,7 @@ pyyaml==6.0 # via # bandit # libcst -readme-renderer==35.0 +readme-renderer==37.1 # via twine requests==2.28.1 # via @@ -269,7 +262,7 @@ rfc3986==2.0.0 # via twine rich==12.5.1 # via twine -secretstorage==3.3.2 +secretstorage==3.3.3 # via keyring shed==0.10.1 # via -r requirements/tools.in @@ -317,7 +310,7 @@ sphinxcontrib-serializinghtml==1.1.5 # via sphinx sqlparse==0.4.2 # via django -stack-data==0.3.0 +stack-data==0.5.0 # via ipython stevedore==4.0.0 # via bandit @@ -326,6 +319,7 @@ tokenize-rt==4.2.1 toml==0.10.2 # via # -r requirements/tools.in + # autoflake # tox tomli==2.0.1 # via @@ -346,9 +340,9 @@ types-click==7.1.8 # via -r requirements/tools.in types-pkg-resources==0.1.3 # via -r requirements/tools.in -types-pytz==2022.1.2 +types-pytz==2022.2.1.0 # via -r requirements/tools.in -types-redis==4.3.12 +types-redis==4.3.20 # via -r requirements/tools.in typing-extensions==4.3.0 # via @@ -360,13 +354,13 @@ typing-extensions==4.3.0 # mypy # rich # typing-inspect -typing-inspect==0.7.1 +typing-inspect==0.8.0 # via libcst -urllib3==1.26.11 +urllib3==1.26.12 # via # requests # twine -virtualenv==20.16.2 +virtualenv==20.16.4 # via tox wcwidth==0.2.5 # via prompt-toolkit diff --git a/tooling/src/hypothesistooling/__main__.py b/tooling/src/hypothesistooling/__main__.py index 903e1046cc..f79ad496e4 100644 --- a/tooling/src/hypothesistooling/__main__.py +++ b/tooling/src/hypothesistooling/__main__.py @@ -383,7 +383,7 @@ def run_tox(task, version, *args): "3.7": "3.7.13", "3.8": "3.8.13", "3.9": "3.9.13", - "3.10": "3.10.5", + "3.10": "3.10.6", "3.11": "3.11-dev", "3.12": "3.12-dev", "pypy3.7": "pypy3.7-7.3.9",