security/py-{acme,certbot}: update to 0.15.0 Common: - Update PORTVERSION and distinfo checksum (0.15.0) - Update RUN/TEST dependencies. - Remove unnecessary patches (applied upstream) Changes: https://github.com/certbot/certbot/blob/master/CHANGELOG.md#0150---2017-06-08 Approved by: koobs (maintainer, py-certbot) Diff Revision: D10612
Details
- Reviewers
koobs - Commits
- rP444208: security/py-{acme,certbot}: update to 0.15.0
- portlint -ac output looks fine.
- poudriere testport builds fine on 10.3/i386, 10.3/amd64, 11.0/i386, 11.0/amd64, 12.0/i386 and 12.0/amd64.
- make test has passed all tests fine.
Diff Detail
- Repository
- rP FreeBSD ports repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Revert to previous diff. First I'll commit bug 219306 which includes configargparse fix.
Do tests work (for acme and certbot) without mock/nose installed on the system?
These requirements haven't been removed from setup.py (see below). Separately, they're listed in dev_extras, but they should be in tests_require if they are required (create upstream issue/pr), so that the test command can install the dependencies if they're not already installed.
dev_extras = [ # Pin astroid==1.3.5, pylint==1.4.2 as a workaround for #289 'astroid==1.3.5', 'coverage', 'ipdb', 'nose', 'pylint==1.4.2', # upstream #248 'tox', 'twine', 'wheel', ]
I see inconsistencies between RUN_DEPENDS and setup.py install_requires, such as (but not limited to):
- 'cryptography>=0.7', # load_pem_x509_certificate (we say >=0.8)
- 'parsedatetime>=1.3', # Calendar.parseDT (not in RUN_DEPENDS)
- 'configobj', (not in RUN_DEPENDS)
Please clarify the details of the RUN_DEPENDS changes (and the differences to setup.py)
I checked the setup.py of the current distfile (0.14.1)
'ConfigArgParse>=0.9.3', 'configobj', 'cryptography>=0.7', # load_pem_x509_certificate 'mock', 'parsedatetime>=1.3', # Calendar.parseDT
Upstream bumped cryptography requirement to >=0.8 for py-acme.
Have you seen other inconsistencies?
Can you run these tests (make test in port dir) in poudriere (using testport -i to enter jail) to test whether all dependencies are satisfied at run/test time in a clean environment.
Reason is my original comment on the following dependency inconsistencies did not seem to be addressed:
'cryptography>=0.7', # load_pem_x509_certificate (we say >=0.8) 'parsedatetime>=1.3', # Calendar.parseDT (not in RUN_DEPENDS) 'configobj', (not in RUN_DEPENDS)
Your reply only mentioned acme
Please, check out py-acme/setup.py
All test cases ran successfully using poudriere jails.
Your reply only mentioned acme
devel/py-mock was moved from TEST_DEPENDS to RUN_DEPENDS.
devel/py-nose remains as TEST dependency.
So, all changes were applied according to the corresponding setup.py
mock has always been a spurious (incorrect) install_requires (RUN_DEPENDS), it should be in tests_require (TEST_DEPENDS) instead. See: https://github.com/certbot/certbot/pull/1735