Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove errant reference to structlog #180

Merged
merged 1 commit into from
Jul 16, 2024
Merged

Remove errant reference to structlog #180

merged 1 commit into from
Jul 16, 2024

Conversation

twm
Copy link
Contributor

@twm twm commented Jul 16, 2024

Fix an apparent copy/paste error in a deprecation warning.

I spotted this in the warnings Warehouse's tests emit:

...
tests/unit/accounts/test_services.py::TestDatabaseUserService::test_get_recovery_codes
tests/unit/accounts/test_services.py::TestDatabaseUserService::test_create_login_success
  /opt/warehouse/lib/python3.12/site-packages/passlib/handlers/argon2.py:716: DeprecationWarning: Accessing argon2.__version__ is deprecated and will be removed in a future release. Use importlib.metadata directly to query for structlog's packaging metadata.
    _argon2_cffi.__version__, max_version)
...

Fix an apparent copy/paste error.
Copy link
Owner

@hynek hynek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ooops, thanks!

@hynek hynek merged commit 57ab8d9 into hynek:main Jul 16, 2024
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants