Skip to content

Commit

Permalink
Ignore warning that CSRs are deprecated in pyOpenSSL
Browse files Browse the repository at this point in the history
Without this, pyca/cryptography's downstream tests currently fail.

The actual warning is being addressed in certbot#182
  • Loading branch information
alex committed Sep 5, 2024
1 parent b6d47e7 commit a73e364
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,11 @@ disallow_untyped_defs = true

[tool.pytest.ini_options]
# We also ignore our own deprecation warning about dropping Python 3.7 support.
filterwarnings = ["error", "ignore:Python 3.7 support will be dropped:DeprecationWarning"]
filterwarnings = [
"error",
"ignore:Python 3.7 support will be dropped:DeprecationWarning",
"ignore:CSR support in pyOpenSSL is deprecated:DeprecationWarning",
]
norecursedirs = "*.egg .eggs dist build docs .tox"

# Isort tooling configuration
Expand Down

0 comments on commit a73e364

Please sign in to comment.