Skip to content

Fix requests-toolbelt warning#9569

Merged
alexzorin merged 1 commit intomasterfrom
fix-warning
Feb 8, 2023
Merged

Fix requests-toolbelt warning#9569
alexzorin merged 1 commit intomasterfrom
fix-warning

Conversation

@bmw
Copy link
Copy Markdown
Member

@bmw bmw commented Feb 8, 2023

Before this PR, if you activate the developer environment and run pytest certbot/tests/main_test.py tests will fail due to this warning.

We haven't been hitting this with tox because requests-toolbelt isn't installed in those environments. It's in our developer environment because poetry and twine depends on it. requests-toolbelt is an optional dependency of dnspython though and if it's installed, we hit this warning during our unit tests.

Copy link
Copy Markdown
Collaborator

@alexzorin alexzorin left a comment

Choose a reason for hiding this comment

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

requests-toolbelt is an optional dependency of dnspython though and if it's installed, we hit this warning during our unit tests.

Wow! LGTM, thanks.

@alexzorin alexzorin merged commit f5ea5d4 into master Feb 8, 2023
@alexzorin alexzorin deleted the fix-warning branch February 8, 2023 22:21
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.

3 participants