Skip to content

Commit 815d224

Browse files
Bump the python-packages group across 1 directory with 7 updates (#1529)
Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: David Hewitt <[email protected]>
1 parent 96038dd commit 815d224

File tree

4 files changed

+10
-12
lines changed

4 files changed

+10
-12
lines changed

.github/workflows/codspeed.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- run: pip uninstall pytest-speed -y
3838
if: steps.cache-py.outputs.cache-hit != 'true'
3939

40-
- run: pip install pytest-benchmark==4.0.0
40+
- run: pip install pytest-benchmark==4.0.0 pytest-codspeed
4141
if: steps.cache-py.outputs.cache-hit != 'true'
4242

4343
- name: install rust stable

tests/requirements-linting.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
griffe==1.2.0
2-
pyright==1.1.378
3-
ruff==0.6.3
4-
mypy==1.11.2
1+
griffe==1.5.1
2+
pyright==1.1.387
3+
ruff==0.7.2
4+
mypy==1.13.0

tests/requirements.txt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@ inline-snapshot==0.13.3
55
hypothesis==6.111.2
66
# pandas doesn't offer prebuilt wheels for all versions and platforms we test in CI e.g. aarch64 musllinux
77
pandas==2.1.3; python_version >= "3.9" and python_version < "3.13" and implementation_name == "cpython" and platform_machine == 'x86_64'
8-
pytest==8.3.2
9-
# we run codspeed benchmarks on x86_64 CPython (i.e. native github actions architecture)
10-
pytest-codspeed~=2.2.1; implementation_name == "cpython" and platform_machine == 'x86_64'
8+
pytest==8.3.3
119
# pytest-examples currently depends on aiohttp via black; we don't want to build
1210
# it on platforms like aarch64 musllinux in CI
1311
pytest-examples==0.0.13; implementation_name == "cpython" and platform_machine == 'x86_64'
@@ -19,5 +17,5 @@ python-dateutil==2.9.0.post0
1917
# numpy doesn't offer prebuilt wheels for all versions and platforms we test in CI e.g. aarch64 musllinux
2018
numpy==1.26.2; python_version >= "3.9" and python_version < "3.13" and implementation_name == "cpython" and platform_machine == 'x86_64'
2119
exceptiongroup==1.1; python_version < "3.11"
22-
tzdata==2024.1
20+
tzdata==2024.2
2321
typing_extensions==4.12.2

tests/test_errors.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,7 @@ def multi_raise_py_error(v: Any) -> Any:
551551
s2.validate_python('anything')
552552

553553
cause_group = exc_info.value.__cause__
554-
assert isinstance(cause_group, BaseExceptionGroup)
554+
assert isinstance(cause_group, BaseExceptionGroup) # noqa: F821,RUF100 # gated on 3.11+ above
555555
assert len(cause_group.exceptions) == 1
556556

557557
cause = cause_group.exceptions[0]
@@ -576,7 +576,7 @@ def outer_raise_py_error(v: Any) -> Any:
576576
with pytest.raises(ValidationError) as exc_info:
577577
s3.validate_python('anything')
578578

579-
assert isinstance(exc_info.value.__cause__, BaseExceptionGroup)
579+
assert isinstance(exc_info.value.__cause__, BaseExceptionGroup) # noqa: F821,RUF100 # gated on 3.11+ above
580580
assert len(exc_info.value.__cause__.exceptions) == 1
581581
cause = exc_info.value.__cause__.exceptions[0]
582582
assert cause.__notes__ and cause.__notes__[-1].startswith('\nPydantic: ')
@@ -585,7 +585,7 @@ def outer_raise_py_error(v: Any) -> Any:
585585
assert isinstance(subcause, ValidationError)
586586

587587
cause_group = subcause.__cause__
588-
assert isinstance(cause_group, BaseExceptionGroup)
588+
assert isinstance(cause_group, BaseExceptionGroup) # noqa: F821,RUF100 # gated on 3.11+ above
589589
assert len(cause_group.exceptions) == 1
590590

591591
cause = cause_group.exceptions[0]

0 commit comments

Comments
 (0)