Skip to content

Commit 4394ae4

Browse files
authored
Merge pull request #3960 from Zac-HD/upgrade-deps
Update pinned dependencies
2 parents fcd0c88 + f449cf9 commit 4394ae4

File tree

16 files changed

+107
-105
lines changed

16 files changed

+107
-105
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ jobs:
208208
NODE_VERSION: 18
209209
# Note that the versions below must be updated in sync; we've automated
210210
# that with `update_pyodide_versions()` in our weekly cronjob.
211-
PYODIDE_VERSION: 0.25.0
211+
PYODIDE_VERSION: 0.25.1
212212
PYTHON_VERSION: 3.11.3
213213
EMSCRIPTEN_VERSION: 3.1.46
214214
steps:

hypothesis-python/scripts/other-tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ $PYTEST tests/dpcontracts/
2626
pip uninstall -y dpcontracts
2727

2828
pip install "$(grep 'fakeredis==' ../requirements/coverage.txt)"
29+
pip install "$(grep 'typing-extensions==' ../requirements/coverage.txt)"
2930
$PYTEST tests/redis/
3031
pip uninstall -y redis fakeredis
3132

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

hypothesis-python/src/hypothesis/errors.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
# v. 2.0. If a copy of the MPL was not distributed with this file, You can
99
# obtain one at https://mozilla.org/MPL/2.0/.
1010

11+
1112
class HypothesisException(Exception):
1213
"""Generic parent class for exceptions thrown by Hypothesis."""
1314

hypothesis-python/src/hypothesis/utils/conventions.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
# v. 2.0. If a copy of the MPL was not distributed with this file, You can
99
# obtain one at https://mozilla.org/MPL/2.0/.
1010

11+
1112
class UniqueIdentifier:
1213
"""A factory for sentinel objects with nice reprs."""
1314

hypothesis-python/tests/array_api/test_arrays.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,7 @@ def test_may_not_fill_unique_array_with_non_nan(xp, xps):
301301
@pytest.mark.skipif(sys.version_info[:2] <= (3, 8), reason="no complex")
302302
def test_floating_point_array():
303303
import warnings
304+
304305
from hypothesis.extra.array_api import make_strategies_namespace
305306

306307
try:

hypothesis-python/tests/array_api/test_partial_adoptors.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
# v. 2.0. If a copy of the MPL was not distributed with this file, You can
99
# obtain one at https://mozilla.org/MPL/2.0/.
1010

11+
import functools
12+
import warnings
1113
from copy import copy
1214
from types import SimpleNamespace
1315
from typing import Tuple
14-
import functools
15-
import warnings
1616

1717
import pytest
1818

hypothesis-python/tests/conjecture/test_ir.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -406,6 +406,7 @@ def test_node_with_same_ir_type_but_different_value_is_invalid(data):
406406

407407

408408
@given(st.data())
409+
@settings(suppress_health_check=[HealthCheck.too_slow])
409410
def test_data_with_changed_was_forced(data):
410411
# we had a normal node and then tried to draw a different forced value from it.
411412
# ir tree: v1 [was_forced=False]

hypothesis-python/tests/cover/test_database_backend.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,10 @@
1717
from pathlib import Path
1818
from shutil import make_archive, rmtree
1919
from typing import Iterator, Optional, Tuple
20-
from hypothesis.internal.compat import WINDOWS
2120

2221
import pytest
2322

2423
from hypothesis import configuration, given, settings, strategies as st
25-
from hypothesis.utils.conventions import not_set
2624
from hypothesis.database import (
2725
DirectoryBasedExampleDatabase,
2826
ExampleDatabase,
@@ -32,8 +30,10 @@
3230
ReadOnlyDatabase,
3331
)
3432
from hypothesis.errors import HypothesisWarning
33+
from hypothesis.internal.compat import WINDOWS
3534
from hypothesis.stateful import Bundle, RuleBasedStateMachine, rule
3635
from hypothesis.strategies import binary, lists, tuples
36+
from hypothesis.utils.conventions import not_set
3737

3838
small_settings = settings(max_examples=50)
3939

hypothesis-python/tests/numpy/test_from_dtype.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ def test_byte_string_dtypes_generate_unicode_strings(data):
130130

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

133+
133134
@pytest.mark.parametrize(
134135
"dtype",
135136
["U", "S", pytest.param("a", marks=skipif_np2)],

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ ignore = [
4444
"FBT003",
4545
"PD011",
4646
"PD901",
47+
"PIE790", # See https://github.com/astral-sh/ruff/issues/10538
4748
"PT001",
4849
"PT003",
4950
"PT006",

0 commit comments

Comments
 (0)