Skip to content

Commit

Permalink
mini-dep-update
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiasertl committed Dec 21, 2024
1 parent c6cec1e commit 69e010f
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 19 deletions.
6 changes: 3 additions & 3 deletions ca/django_ca/tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -547,11 +547,11 @@ def test_wrong_values(self) -> None:

for key_type in ("Ed448", "Ed25519"):
with pytest.raises(ValueError, match=rf"^Key size is not supported for {key_type} keys\.$"):
validate_private_key_parameters(key_type, key_size, None) # type: ignore
validate_private_key_parameters(key_type, key_size, None)
with pytest.raises(
ValueError, match=rf"^Elliptic curves are not supported for {key_type} keys\.$"
):
validate_private_key_parameters(key_type, None, elliptic_curve) # type: ignore
validate_private_key_parameters(key_type, None, elliptic_curve)


class ValidatePublicKeyParametersTest(TestCase):
Expand All @@ -561,7 +561,7 @@ def test_valid_parameters(self) -> None:
"""Test valid parameters."""
for key_type in ("RSA", "DSA", "EC"):
for algorithm in (hashes.SHA256(), hashes.SHA512()):
validate_public_key_parameters(key_type, algorithm) # type: ignore[arg-type]
validate_public_key_parameters(key_type, algorithm)
for key_type in ("Ed448", "Ed25519"):
validate_public_key_parameters(key_type, None) # type: ignore[arg-type]

Expand Down
12 changes: 7 additions & 5 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
-rrequirements/requirements-docs.txt
-rrequirements/requirements-dist.txt
-rrequirements/requirements-test.txt
-rrequirements/requirements-lint.txt
-rrequirements/requirements-mypy.txt
-r requirements/requirements-docs.txt
-r requirements/requirements-dist.txt
-r requirements/requirements-test.txt
-r requirements/requirements-lint.txt
-r requirements/requirements-mypy.txt
ipython>=7.28.0
docker==7.1.0
pip>=23

tox>=4.18.0
tox-uv==1.16.2

# pytest-xdist allows running tests in parallel ("pytest -n 3")
pytest-xdist==3.6.1

Expand Down
4 changes: 2 additions & 2 deletions requirements/requirements-dev-common.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ GitPython==3.1.43
Jinja2==3.1.4
PyYAML==6.0.2
Sphinx==7.2.6
coverage[toml]==7.6.8
coverage[toml]==7.6.9
django-test-migrations==1.4.0
pytest==8.3.3
pytest==8.3.4
pytest-cov==6.0.0
pytest-django==4.9.0
selenium==4.27.1
Expand Down
2 changes: 1 addition & 1 deletion requirements/requirements-dist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ build==1.2.2.post1
# readme-renderer~=44.0 depends on a newer docutils version then supported by sphinx==7.2.6 (readme-renderer
# is a dependency of twine).
readme-renderer<44
twine==5.1.1
twine==6.0.1
wheel==0.45.1
# See pyproject.toml for reasoning for required minimum version
setuptools>=68.1
2 changes: 1 addition & 1 deletion requirements/requirements-docs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ sphinx-inline-tabs==2023.4.21
sphinx-jinja==2.0.2
sphinx-rtd-theme==3.0.2
sphinxcontrib-openapi==0.8.4
sphinxcontrib-spelling==8.0.0
sphinxcontrib-spelling==8.0.1
4 changes: 2 additions & 2 deletions requirements/requirements-lint.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
-r requirements-dev-common.txt
pre-commit==4.0.1
pylint-django==2.6.1
pylint==3.3.1
ruff==0.8.0
pylint==3.3.2
ruff==0.8.4
setuptools>=65
8 changes: 4 additions & 4 deletions requirements/requirements-mypy.txt
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
-r requirements-dev-common.txt
-r requirements-test.txt
mypy==1.13.0
mypy==1.14.0
django-stubs==5.1.1
types-docutils==0.21.0.20241128
types-freezegun==1.1.10
types-jinja2==2.11.9
types-mysqlclient==2.2.0.20240911
types-pytz==2024.2.0.20241003
types-mysqlclient==2.2.0.20241221
types-pytz==2024.2.0.20241221
types-psycopg2==2.9.21.20241019
types-pyOpenSSL==24.1.0.20240722
types-pyRFC3339==2.0.1.20241107
types-redis==4.6.0.20241004
types-requests==2.32.0.20241016
types-setuptools==75.6.0.20241126
types-tabulate==0.9.0.20240106
types-tabulate==0.9.0.20241207
2 changes: 1 addition & 1 deletion requirements/requirements-test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ freezegun==1.5.1
pyOpenSSL>=23
pyrfc3339==2.0.1
pytest-env==1.1.5
pytest-freezer==0.4.8
pytest-freezer==0.4.9
pytest-random-order==1.1.1
requests-mock==1.12.1

0 comments on commit 69e010f

Please sign in to comment.