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

Pinned parsedatetime dependency causes error on macOS using HomeBrew / CertBot 1.9.0 #9

Closed
robertoschwald opened this issue Nov 17, 2020 · 1 comment · Fixed by #11

Comments

@robertoschwald
Copy link

robertoschwald commented Nov 17, 2020

When installing the plugin in HomeBrew provided certbot, a dependency error is thrown, as parsedatetime is pinned to <=2.5

brew install certbot
pip3 install --prefix=$(brew --prefix certbot)/libexec/vendor certbot-dns-hetzner
certbot certonly \
--authenticator dns-hetzner \
--dns-hetzner-credentials /usr/local/etc/certbot-hetzner.ini \
--dns-hetzner-propagation-seconds 120 \
--email [email protected] --agree-tos -d myhost.example.com

Error:
An unexpected error occurred:
pkg_resources.VersionConflict: (parsedatetime 2.6 (/usr/local/Cellar/certbot/1.9.0/libexec/vendor/lib/python3.9/site-packages), Requirement.parse('parsedatetime<=2.5'))

Is there a reason why parsedatetime is pinned?

@l0rn
Copy link

l0rn commented Nov 17, 2020

unfortunately yes, because of python2 compatibility.... Personally i would drop python2 support, but as long as certbot itself supports python2 i think the plugins should remain compatible as well:

bear/parsedatetime#246

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 a pull request may close this issue.

2 participants