Skip to content

Commit

Permalink
Merge pull request #4004 from HypothesisWorks/create-pull-request/patch
Browse files Browse the repository at this point in the history
Update pinned dependencies
  • Loading branch information
Zac-HD committed May 26, 2024
2 parents 9537c75 + e29175f commit a30c0ef
Show file tree
Hide file tree
Showing 8 changed files with 29 additions and 23 deletions.
4 changes: 3 additions & 1 deletion hypothesis-python/tests/conjecture/test_ir.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

import pytest

from hypothesis import assume, example, given, strategies as st
from hypothesis import HealthCheck, assume, example, given, settings, strategies as st
from hypothesis.errors import StopTest
from hypothesis.internal.conjecture.data import (
ConjectureData,
Expand Down Expand Up @@ -375,6 +375,7 @@ def test_data_with_empty_ir_tree_is_overrun():
assert data.status is Status.OVERRUN


@settings(suppress_health_check=[HealthCheck.too_slow])
@given(st.data())
def test_node_with_different_ir_type_is_invalid(data):
node = data.draw(ir_nodes())
Expand All @@ -391,6 +392,7 @@ def test_node_with_different_ir_type_is_invalid(data):
assert data.status is Status.INVALID


@settings(suppress_health_check=[HealthCheck.too_slow])
@given(st.data())
def test_node_with_same_ir_type_but_different_value_is_invalid(data):
node = data.draw(ir_nodes())
Expand Down
3 changes: 2 additions & 1 deletion hypothesis-python/tests/cover/test_randoms.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

import pytest

from hypothesis import assume, given, strategies as st
from hypothesis import HealthCheck, assume, given, settings, strategies as st
from hypothesis.internal.compat import ExceptionGroup
from hypothesis.strategies._internal.random import (
RANDOM_METHODS,
Expand Down Expand Up @@ -341,6 +341,7 @@ def test_can_manage_very_long_ranges_with_step(rnd):
assert i in range(0, 2**256, 3)


@settings(suppress_health_check=[HealthCheck.too_slow])
@given(any_random, st.data())
def test_range_with_arbitrary_step_is_in_range(rnd, data):
endpoints = st.integers(-100, 100)
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ ignore = [
"SIM117",
"SIM300",
"UP031",
"UP037",
]

exclude = [
Expand Down
8 changes: 4 additions & 4 deletions requirements/coverage.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
# ./build.sh upgrade-requirements
#
annotated-types==0.6.0
annotated-types==0.7.0
# via -r requirements/coverage.in
async-timeout==4.0.3
# via redis
Expand Down Expand Up @@ -32,7 +32,7 @@ iniconfig==2.0.0
# via pytest
lark==1.1.9
# via -r requirements/coverage.in
libcst==1.3.1
libcst==1.4.0
# via -r requirements/coverage.in
mypy-extensions==1.0.0
# via black
Expand All @@ -59,7 +59,7 @@ ptyprocess==0.7.0
# via pexpect
pyarrow==16.1.0
# via -r requirements/coverage.in
pytest==8.2.0
pytest==8.2.1
# via
# -r requirements/test.in
# pytest-cov
Expand Down Expand Up @@ -91,7 +91,7 @@ tomli==2.0.1
# black
# coverage
# pytest
typing-extensions==4.12.0rc1
typing-extensions==4.12.0
# via
# -r requirements/coverage.in
# black
Expand Down
14 changes: 7 additions & 7 deletions requirements/fuzzing.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
# ./build.sh upgrade-requirements
#
annotated-types==0.6.0
annotated-types==0.7.0
# via -r requirements/coverage.in
async-timeout==4.0.3
# via redis
Expand Down Expand Up @@ -56,7 +56,7 @@ flask==3.0.3
# via dash
hypofuzz==24.2.3
# via -r requirements/fuzzing.in
hypothesis[cli]==6.102.4
hypothesis[cli]==6.102.6
# via hypofuzz
idna==3.7
# via requests
Expand All @@ -70,7 +70,7 @@ jinja2==3.1.4
# via flask
lark==1.1.9
# via -r requirements/coverage.in
libcst==1.3.1
libcst==1.4.0
# via
# -r requirements/coverage.in
# hypofuzz
Expand Down Expand Up @@ -118,7 +118,7 @@ pyarrow==16.1.0
# via -r requirements/coverage.in
pygments==2.18.0
# via rich
pytest==8.2.0
pytest==8.2.1
# via
# -r requirements/test.in
# hypofuzz
Expand All @@ -140,7 +140,7 @@ pyyaml==6.0.1
# via libcst
redis==5.0.4
# via fakeredis
requests==2.31.0
requests==2.32.2
# via
# dash
# hypofuzz
Expand All @@ -164,7 +164,7 @@ tomli==2.0.1
# black
# coverage
# pytest
typing-extensions==4.12.0rc1
typing-extensions==4.12.0
# via
# -r requirements/coverage.in
# black
Expand All @@ -182,5 +182,5 @@ zipp==3.18.2
# via importlib-metadata

# The following packages are considered to be unsafe in a requirements file:
setuptools==69.5.1
setuptools==70.0.0
# via dash
2 changes: 1 addition & 1 deletion requirements/test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ pluggy==1.5.0
# via pytest
ptyprocess==0.7.0
# via pexpect
pytest==8.2.0
pytest==8.2.1
# via
# -r requirements/test.in
# pytest-xdist
Expand Down
18 changes: 9 additions & 9 deletions requirements/tools.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ click==8.1.7
# via
# black
# pip-tools
codespell==2.2.6
codespell==2.3.0
# via -r requirements/tools.in
colorama==0.4.6
# via tox
Expand Down Expand Up @@ -123,7 +123,7 @@ keyring==25.2.1
# via twine
lark==1.1.9
# via -r requirements/tools.in
libcst==1.3.1
libcst==1.4.0
# via
# -r requirements/tools.in
# shed
Expand Down Expand Up @@ -207,9 +207,9 @@ pyproject-hooks==1.1.0
# via
# build
# pip-tools
pyright==1.1.363
pyright==1.1.364
# via -r requirements/tools.in
pytest==8.2.0
pytest==8.2.1
# via -r requirements/tools.in
python-dateutil==2.9.0.post0
# via
Expand All @@ -225,7 +225,7 @@ pyyaml==6.0.1
# sphinx-jsonschema
readme-renderer==43.0
# via twine
requests==2.31.0
requests==2.32.2
# via
# -r requirements/tools.in
# requests-toolbelt
Expand All @@ -242,7 +242,7 @@ rich==13.7.1
# via
# pelican
# twine
ruff==0.4.4
ruff==0.4.5
# via -r requirements/tools.in
secretstorage==3.3.3
# via keyring
Expand Down Expand Up @@ -330,9 +330,9 @@ types-pytz==2024.1.0.20240417
# via -r requirements/tools.in
types-redis==4.6.0.20240425
# via -r requirements/tools.in
types-setuptools==69.5.0.20240518
types-setuptools==70.0.0.20240524
# via types-cffi
typing-extensions==4.12.0rc1
typing-extensions==4.12.0
# via
# -r requirements/tools.in
# anyio
Expand Down Expand Up @@ -360,7 +360,7 @@ zipp==3.18.2
# The following packages are considered to be unsafe in a requirements file:
pip==24.0
# via pip-tools
setuptools==69.5.1
setuptools==70.0.0
# via
# nodeenv
# pip-tools
2 changes: 2 additions & 0 deletions tooling/ignore-list.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
aas
assertIn
Copin
crate
damon
nd
Expand Down

0 comments on commit a30c0ef

Please sign in to comment.