Summary: | www/py-tuir: Correct Python <version-spec> declaration and add concurrent support | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Fernando Apesteguía <fernape> | ||||||
Component: | Ports Framework | Assignee: | Fernando Apesteguía <fernape> | ||||||
Status: | Closed FIXED | ||||||||
Severity: | Affects Only Me | CC: | lcook, python | ||||||
Priority: | --- | Keywords: | easy, needs-qa | ||||||
Version: | Latest | Flags: | lcook:
maintainer-feedback+
fernape: merge-quarterly- |
||||||
Hardware: | Any | ||||||||
OS: | Any | ||||||||
Attachments: |
|
Description
Fernando Apesteguía
2020-06-20 12:30:56 UTC
(In reply to Fernando Apesteguía from comment #0) > For py-request, isn't the minimum required version 2.4.0? Yeah. Good catch, thanks. > Does this port work with py27? if that is the case, we should lower the python requirements. If 3.6.0+ is necessary, then we can drop the requirement for mailcap_fix since 3.6.0 already includes an official fix. I've checked on pypi [1] and the lowest supported version is 2.7, which would warrant the drop to py27. Rebuilt the package in Poudriere with PY_FLAVOR=py27 to see if everything works accordingly (which it does, so no issues there). The patch looks fine; other than replacing s/python:3.6+/python:2.7+/ as discussed above. This seemed to of slipped through me, so thanks again for catching this! :) [1] https://pypi.org/project/tuir/ ^Triage: ports-bugs doesn't need to be in CC Created attachment 215822 [details]
Final patch
This one adds mailcap_fix as a conditional dependency.
(In reply to Fernando Apesteguía from comment #3) Good thinking with the conditional! :-) (In reply to Lewis Cook from comment #1) It wasn't my catch but koobs@ ;-) A commit references this bug: Author: fernape Date: Mon Jun 22 05:46:18 UTC 2020 New revision: 539796 URL: https://svnweb.freebsd.org/changeset/ports/539796 Log: www/py-tuir: correct python version and add concurrent support * The minimum Python requirement can be lowered to 2.7 * The mailcap_fix requirement is then necessary only for python < 3.6 * Add concurrent support PR: 247438 Reported by: koobs@ Changes: head/www/py-tuir/Makefile MFH: No (port not in quarterly branch) |