| Summary: | security/py-certbot: Fails to run: pkg_resources.ContextualVersionConflict: (jmespath 1.0.1 ... Requirement.parse('jmespath<1.0.0,>=0.7.1'), {'boto3'}) | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | bas |
| Component: | Individual Port(s) | Assignee: | Po-Chuan Hsieh <sunpoet> |
| Status: | Closed FIXED | ||
| Severity: | Affects Many People | CC: | mike.walker, python |
| Priority: | --- | Keywords: | needs-qa |
| Version: | Latest | Flags: | bugzilla:
maintainer-feedback?
(python) koobs: maintainer-feedback? (sunpoet) |
| Hardware: | Any | ||
| OS: | Any | ||
I fixed this myself by running pkg upgrade -f on the affected system. That is strange because apparently nothing relevant changed. Obviously something did, but I can't find it. Looks like this issue is resolved now. The issue at hand was fixed with a patch to www/py-boto3 introduced here: https://cgit.freebsd.org/ports/commit/www/py-boto3?id=8e8786689a3eb0976c77a253e63fa91ab528c98c But that commit did not include a bump to PORTREVISION ( per https://docs.freebsd.org/en/books/porters-handbook/book/#makefile-naming-revepoch ) so if you already had py##-boto3 1.18.61 installed, then pkg would think there was nothing to upgrade, hence why the "pkg upgrade -f" fixed the issue. Thank you for submitting this bug report it helped me solve the same issue! @Sunpoet Whats left to do here? Should security/certbot or security/py-certbot-dns-route53 have PORTREVISION bumped? (In reply to Mike Walker from comment #2) (In reply to Kubilay Kocak from comment #3) Bump PORTREVISION of www/py-boto3 in ports b7aec3fa69c7a632b7c8fdaec026c8c4c627145e. The bump is also MFH'd in ports f91e66fbb1647fd83601ba4f83d152d25b89e3ab. It should fix the problem. |
Cerbot fails to renew certificates due to a dependency error: root@mail:~ # certbot renew An unexpected error occurred: pkg_resources.ContextualVersionConflict: (jmespath 1.0.1 (/usr/local/lib/python3.8/site-packages), Requirement.parse('jmespath<1.0.0,>=0.7.1'), {'boto3'})