Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update pinned dependencies #3960

Merged
merged 3 commits into from Apr 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Expand Up @@ -208,7 +208,7 @@ jobs:
NODE_VERSION: 18
# Note that the versions below must be updated in sync; we've automated
# that with `update_pyodide_versions()` in our weekly cronjob.
PYODIDE_VERSION: 0.25.0
PYODIDE_VERSION: 0.25.1
PYTHON_VERSION: 3.11.3
EMSCRIPTEN_VERSION: 3.1.46
steps:
Expand Down
2 changes: 1 addition & 1 deletion hypothesis-python/scripts/other-tests.sh
Expand Up @@ -26,10 +26,10 @@ $PYTEST tests/dpcontracts/
pip uninstall -y dpcontracts

pip install "$(grep 'fakeredis==' ../requirements/coverage.txt)"
pip install "$(grep 'typing-extensions==' ../requirements/coverage.txt)"
$PYTEST tests/redis/
pip uninstall -y redis fakeredis

pip install "$(grep 'typing-extensions==' ../requirements/coverage.txt)"
$PYTEST tests/typing_extensions/
pip uninstall -y typing_extensions

Expand Down
1 change: 1 addition & 0 deletions hypothesis-python/src/hypothesis/errors.py
Expand Up @@ -8,6 +8,7 @@
# v. 2.0. If a copy of the MPL was not distributed with this file, You can
# obtain one at https://mozilla.org/MPL/2.0/.


class HypothesisException(Exception):
"""Generic parent class for exceptions thrown by Hypothesis."""

Expand Down
1 change: 1 addition & 0 deletions hypothesis-python/src/hypothesis/utils/conventions.py
Expand Up @@ -8,6 +8,7 @@
# v. 2.0. If a copy of the MPL was not distributed with this file, You can
# obtain one at https://mozilla.org/MPL/2.0/.


class UniqueIdentifier:
"""A factory for sentinel objects with nice reprs."""

Expand Down
1 change: 1 addition & 0 deletions hypothesis-python/tests/array_api/test_arrays.py
Expand Up @@ -301,6 +301,7 @@ def test_may_not_fill_unique_array_with_non_nan(xp, xps):
@pytest.mark.skipif(sys.version_info[:2] <= (3, 8), reason="no complex")
def test_floating_point_array():
import warnings

from hypothesis.extra.array_api import make_strategies_namespace

try:
Expand Down
4 changes: 2 additions & 2 deletions hypothesis-python/tests/array_api/test_partial_adoptors.py
Expand Up @@ -8,11 +8,11 @@
# v. 2.0. If a copy of the MPL was not distributed with this file, You can
# obtain one at https://mozilla.org/MPL/2.0/.

import functools
import warnings
from copy import copy
from types import SimpleNamespace
from typing import Tuple
import functools
import warnings

import pytest

Expand Down
1 change: 1 addition & 0 deletions hypothesis-python/tests/conjecture/test_ir.py
Expand Up @@ -406,6 +406,7 @@ def test_node_with_same_ir_type_but_different_value_is_invalid(data):


@given(st.data())
@settings(suppress_health_check=[HealthCheck.too_slow])
def test_data_with_changed_was_forced(data):
# we had a normal node and then tried to draw a different forced value from it.
# ir tree: v1 [was_forced=False]
Expand Down
4 changes: 2 additions & 2 deletions hypothesis-python/tests/cover/test_database_backend.py
Expand Up @@ -17,12 +17,10 @@
from pathlib import Path
from shutil import make_archive, rmtree
from typing import Iterator, Optional, Tuple
from hypothesis.internal.compat import WINDOWS

import pytest

from hypothesis import configuration, given, settings, strategies as st
from hypothesis.utils.conventions import not_set
from hypothesis.database import (
DirectoryBasedExampleDatabase,
ExampleDatabase,
Expand All @@ -32,8 +30,10 @@
ReadOnlyDatabase,
)
from hypothesis.errors import HypothesisWarning
from hypothesis.internal.compat import WINDOWS
from hypothesis.stateful import Bundle, RuleBasedStateMachine, rule
from hypothesis.strategies import binary, lists, tuples
from hypothesis.utils.conventions import not_set

small_settings = settings(max_examples=50)

Expand Down
1 change: 1 addition & 0 deletions hypothesis-python/tests/numpy/test_from_dtype.py
Expand Up @@ -130,6 +130,7 @@ def test_byte_string_dtypes_generate_unicode_strings(data):

skipif_np2 = pytest.mark.skipif(np_version >= (2, 0), reason="removed in new version")


@pytest.mark.parametrize(
"dtype",
["U", "S", pytest.param("a", marks=skipif_np2)],
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Expand Up @@ -44,6 +44,7 @@ ignore = [
"FBT003",
"PD011",
"PD901",
"PIE790", # See https://github.com/astral-sh/ruff/issues/10538
"PT001",
"PT003",
"PT006",
Expand Down
34 changes: 14 additions & 20 deletions requirements/coverage.txt
Expand Up @@ -10,34 +10,32 @@ async-timeout==4.0.3
# via redis
attrs==23.2.0
# via hypothesis (hypothesis-python/setup.py)
black==24.3.0
black==24.4.2
# via -r requirements/coverage.in
click==8.1.7
# via
# -r requirements/coverage.in
# black
coverage[toml]==7.4.4
coverage[toml]==7.5.0
# via pytest-cov
dpcontracts==0.6.0
# via -r requirements/coverage.in
exceptiongroup==1.2.0 ; python_version < "3.11"
exceptiongroup==1.2.1 ; python_version < "3.11"
# via
# hypothesis (hypothesis-python/setup.py)
# pytest
execnet==2.0.2
execnet==2.1.1
# via pytest-xdist
fakeredis==2.21.3
fakeredis==2.22.0
# via -r requirements/coverage.in
iniconfig==2.0.0
# via pytest
lark==1.1.9
# via -r requirements/coverage.in
libcst==1.2.0
libcst==1.3.1
# via -r requirements/coverage.in
mypy-extensions==1.0.0
# via
# black
# typing-inspect
# via black
numpy==1.26.4
# via
# -r requirements/coverage.in
Expand All @@ -47,21 +45,21 @@ packaging==24.0
# via
# black
# pytest
pandas==2.2.1
pandas==2.2.2
# via -r requirements/coverage.in
pathspec==0.12.1
# via black
pexpect==4.9.0
# via -r requirements/test.in
platformdirs==4.2.0
platformdirs==4.2.1
# via black
pluggy==1.4.0
pluggy==1.5.0
# via pytest
ptyprocess==0.7.0
# via pexpect
pyarrow==15.0.2
pyarrow==16.0.0
# via -r requirements/coverage.in
pytest==8.1.1
pytest==8.2.0
# via
# -r requirements/test.in
# pytest-cov
Expand All @@ -80,7 +78,7 @@ pytz==2024.1
# pandas
pyyaml==6.0.1
# via libcst
redis==5.0.3
redis==5.0.4
# via fakeredis
six==1.16.0
# via python-dateutil
Expand All @@ -93,13 +91,9 @@ tomli==2.0.1
# black
# coverage
# pytest
typing-extensions==4.10.0
typing-extensions==4.11.0
# via
# -r requirements/coverage.in
# black
# libcst
# typing-inspect
typing-inspect==0.9.0
# via libcst
tzdata==2024.1
# via pandas
50 changes: 22 additions & 28 deletions requirements/fuzzing.txt
Expand Up @@ -12,12 +12,12 @@ attrs==23.2.0
# via
# hypothesis
# hypothesis (hypothesis-python/setup.py)
black==24.3.0
black==24.4.2
# via
# -r requirements/coverage.in
# hypofuzz
# hypothesis
blinker==1.7.0
blinker==1.8.0
# via flask
certifi==2024.2.2
# via requests
Expand All @@ -29,7 +29,7 @@ click==8.1.7
# black
# flask
# hypothesis
coverage[toml]==7.4.4
coverage[toml]==7.5.0
# via
# hypofuzz
# pytest-cov
Expand All @@ -43,34 +43,34 @@ dash-table==5.0.0
# via dash
dpcontracts==0.6.0
# via -r requirements/coverage.in
exceptiongroup==1.2.0 ; python_version < "3.11"
exceptiongroup==1.2.1 ; python_version < "3.11"
# via
# hypothesis
# hypothesis (hypothesis-python/setup.py)
# pytest
execnet==2.0.2
execnet==2.1.1
# via pytest-xdist
fakeredis==2.21.3
fakeredis==2.22.0
# via -r requirements/coverage.in
flask==3.0.2
flask==3.0.3
# via dash
hypofuzz==24.2.3
# via -r requirements/fuzzing.in
hypothesis[cli]==6.99.12
hypothesis[cli]==6.100.1
# via hypofuzz
idna==3.6
idna==3.7
# via requests
importlib-metadata==7.1.0
# via dash
iniconfig==2.0.0
# via pytest
itsdangerous==2.1.2
itsdangerous==2.2.0
# via flask
jinja2==3.1.3
# via flask
lark==1.1.9
# via -r requirements/coverage.in
libcst==1.2.0
libcst==1.3.1
# via
# -r requirements/coverage.in
# hypofuzz
Expand All @@ -83,9 +83,7 @@ markupsafe==2.1.5
mdurl==0.1.2
# via markdown-it-py
mypy-extensions==1.0.0
# via
# black
# typing-inspect
# via black
nest-asyncio==1.6.0
# via dash
numpy==1.26.4
Expand All @@ -98,29 +96,29 @@ packaging==24.0
# black
# plotly
# pytest
pandas==2.2.1
pandas==2.2.2
# via
# -r requirements/coverage.in
# hypofuzz
pathspec==0.12.1
# via black
pexpect==4.9.0
# via -r requirements/test.in
platformdirs==4.2.0
platformdirs==4.2.1
# via black
plotly==5.20.0
plotly==5.21.0
# via dash
pluggy==1.4.0
pluggy==1.5.0
# via pytest
psutil==5.9.8
# via hypofuzz
ptyprocess==0.7.0
# via pexpect
pyarrow==15.0.2
pyarrow==16.0.0
# via -r requirements/coverage.in
pygments==2.17.2
# via rich
pytest==8.1.1
pytest==8.2.0
# via
# -r requirements/test.in
# hypofuzz
Expand All @@ -140,7 +138,7 @@ pytz==2024.1
# pandas
pyyaml==6.0.1
# via libcst
redis==5.0.3
redis==5.0.4
# via fakeredis
requests==2.31.0
# via
Expand All @@ -166,26 +164,22 @@ tomli==2.0.1
# black
# coverage
# pytest
typing-extensions==4.10.0
typing-extensions==4.11.0
# via
# -r requirements/coverage.in
# black
# dash
# libcst
# typing-inspect
typing-inspect==0.9.0
# via libcst
tzdata==2024.1
# via pandas
urllib3==2.2.1
# via requests
werkzeug==3.0.1
werkzeug==3.0.2
# via
# dash
# flask
zipp==3.18.1
# via importlib-metadata

# The following packages are considered to be unsafe in a requirements file:
setuptools==69.2.0
setuptools==69.5.1
# via dash
8 changes: 4 additions & 4 deletions requirements/test.txt
Expand Up @@ -6,23 +6,23 @@
#
attrs==23.2.0
# via hypothesis (hypothesis-python/setup.py)
exceptiongroup==1.2.0 ; python_version < "3.11"
exceptiongroup==1.2.1 ; python_version < "3.11"
# via
# hypothesis (hypothesis-python/setup.py)
# pytest
execnet==2.0.2
execnet==2.1.1
# via pytest-xdist
iniconfig==2.0.0
# via pytest
packaging==24.0
# via pytest
pexpect==4.9.0
# via -r requirements/test.in
pluggy==1.4.0
pluggy==1.5.0
# via pytest
ptyprocess==0.7.0
# via pexpect
pytest==8.1.1
pytest==8.2.0
# via
# -r requirements/test.in
# pytest-xdist
Expand Down
2 changes: 1 addition & 1 deletion requirements/tools.in
Expand Up @@ -15,7 +15,7 @@ python-dateutil
requests
restructuredtext-lint
ruff
shed
shed==2024.1.1
sphinx
sphinx-codeautolink
sphinx-hoverxref
Expand Down