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 vendored copy of ipaddress #287

Merged

Conversation

felixfontein
Copy link
Contributor

SUMMARY

For 2.0.0, we should remove the vendored ipaddress copy. It's included in the stdlib of Python 3, and is also a dependency of older cryptography versions (which did not require Python 3).

ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME

ipaddress compat module_utils

@felixfontein felixfontein mentioned this pull request Sep 28, 2021
5 tasks
@felixfontein
Copy link
Contributor Author

ready_for_review

Copy link
Member

@webknjaz webknjaz left a comment

Choose a reason for hiding this comment

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

Here's how you could simplify this a little.

plugins/module_utils/acme/acme.py Show resolved Hide resolved
plugins/module_utils/acme/acme.py Show resolved Hide resolved
plugins/module_utils/acme/acme.py Show resolved Hide resolved
plugins/module_utils/acme/challenges.py Outdated Show resolved Hide resolved
plugins/module_utils/acme/challenges.py Show resolved Hide resolved
felixfontein and others added 5 commits October 6, 2021 14:21
Such IPs are no longer accepted by ipaddress in Python's standard library (CVE-2021-29921).
Co-authored-by: Sviatoslav Sydorenko <wk.cvs.github@sydorenko.org.ua>
@felixfontein felixfontein merged commit 871a185 into ansible-collections:main Oct 6, 2021
@felixfontein felixfontein deleted the remove-ipaddress branch October 6, 2021 12:53
@felixfontein
Copy link
Contributor Author

@tadeboro @webknjaz thanks for reviewing this!

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