Re: security/py-pycryptodome: Soft dependency on devel/py-cffi
On 28/07/2020 12:29 pm, John W. O'Brien wrote: On 2020/07/27 22:08, Kubilay Kocak wrote: On 28/07/2020 5:43 am, John W. O'Brien wrote: Greetings FreeBSD Python, I have been mulling over a thing and would like the list's perspective before I decide whether to take action or not. security/py-pycryptodome will use devel/py-cffi if it is available [0] or ctypes otherwise [1]. This makes me just a little bit uneasy since it leaves the door open to certain Heisenbugs and red herrings. My question is whether it warrants adding devel/py-cffi to RUN_DEPENDS to ensure consistency behavior? If not, what about as an OPTION for those who care about that sort of thing? [0] https://github.com/Legrandin/pycryptodome/blob/v3.9.8/lib/Crypto/Util/_raw_api.py#L71-L161 [1] https://github.com/Legrandin/pycryptodome/blob/v3.9.8/lib/Crypto/Util/_raw_api.py#L163-L263 [2] https://en.wikipedia.org/wiki/Heisenbug The Python Policy section on optional dependencies should cover this: https://wiki.freebsd.org/Python/PortsPolicy#Optional_Dependencies tldr; For either at build or run-time optional dependencies (where the pattern is, check if dep exists, use some code path if true, else use another code path), add OPTIONS for them. OK, so something like this? OPTIONS_DEFINE=CFFI OPTIONS_DEFAULT=CFFI CFFI_DESC=Use devel/py-cffi for low-level API instead of ctypes CFFI_RUN_DEPENDS=${PYTHON_PKGNAMEPREFIX}cffi>=0:devel/py-cffi@${PY_FLAVOR} That's fine. If the option is related to performance, id clarify that in the description. Re heisenbugs/etc, this is where support for running test suites in the port are critical, let us know in #freebsd-python on freenode IRC if you need help getting these hooked up I've been looking forward to the day when [3] lands. Is there some other way to run the test target in a poudriere build? Yes, that would be nice. The other way is to testport -i to enter the jail, at which point you can run `make test` from the port dir Of course, running test suites in the build environment wouldn't uncover bugs that are triggered by something that just happens to show up in the runtime environment. Enabling the OPTIONal things by default would clearly help. The same as ports defaulting OPTIONS to enabled to benefit package users, python's optional dependency policy is to do the same, such that the default port options are the ones that are tested. Maintainers can and should do more comprehensive testing by testing various combinations of PTIONS [3] https://github.com/freebsd/poudriere/pull/355 ___ freebsd-python@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-python To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"
Re: security/py-pycryptodome: Soft dependency on devel/py-cffi
On 2020/07/27 22:08, Kubilay Kocak wrote: > On 28/07/2020 5:43 am, John W. O'Brien wrote: >> Greetings FreeBSD Python, >> >> I have been mulling over a thing and would like the list's perspective >> before I decide whether to take action or not. >> >> security/py-pycryptodome will use devel/py-cffi if it is available [0] >> or ctypes otherwise [1]. This makes me just a little bit uneasy since it >> leaves the door open to certain Heisenbugs and red herrings. My question >> is whether it warrants adding devel/py-cffi to RUN_DEPENDS to ensure >> consistency behavior? If not, what about as an OPTION for those who care >> about that sort of thing? >> >> [0] >> https://github.com/Legrandin/pycryptodome/blob/v3.9.8/lib/Crypto/Util/_raw_api.py#L71-L161 >> >> [1] >> https://github.com/Legrandin/pycryptodome/blob/v3.9.8/lib/Crypto/Util/_raw_api.py#L163-L263 >> >> [2] https://en.wikipedia.org/wiki/Heisenbug >> > > The Python Policy section on optional dependencies should cover this: > > https://wiki.freebsd.org/Python/PortsPolicy#Optional_Dependencies > > tldr; > > For either at build or run-time optional dependencies (where the pattern > is, check if dep exists, use some code path if true, else use another > code path), add OPTIONS for them. OK, so something like this? OPTIONS_DEFINE=CFFI OPTIONS_DEFAULT=CFFI CFFI_DESC=Use devel/py-cffi for low-level API instead of ctypes CFFI_RUN_DEPENDS=${PYTHON_PKGNAMEPREFIX}cffi>=0:devel/py-cffi@${PY_FLAVOR} > Re heisenbugs/etc, this is where support for running test suites in the > port are critical, let us know in #freebsd-python on freenode IRC if you > need help getting these hooked up I've been looking forward to the day when [3] lands. Is there some other way to run the test target in a poudriere build? Of course, running test suites in the build environment wouldn't uncover bugs that are triggered by something that just happens to show up in the runtime environment. Enabling the OPTIONal things by default would clearly help. [3] https://github.com/freebsd/poudriere/pull/355 -- John W. O'Brien OpenPGP keys: 0x33C4D64B895DBF3B signature.asc Description: OpenPGP digital signature
Re: security/py-pycryptodome: Soft dependency on devel/py-cffi
On 28/07/2020 5:43 am, John W. O'Brien wrote: Greetings FreeBSD Python, I have been mulling over a thing and would like the list's perspective before I decide whether to take action or not. security/py-pycryptodome will use devel/py-cffi if it is available [0] or ctypes otherwise [1]. This makes me just a little bit uneasy since it leaves the door open to certain Heisenbugs and red herrings. My question is whether it warrants adding devel/py-cffi to RUN_DEPENDS to ensure consistency behavior? If not, what about as an OPTION for those who care about that sort of thing? [0] https://github.com/Legrandin/pycryptodome/blob/v3.9.8/lib/Crypto/Util/_raw_api.py#L71-L161 [1] https://github.com/Legrandin/pycryptodome/blob/v3.9.8/lib/Crypto/Util/_raw_api.py#L163-L263 [2] https://en.wikipedia.org/wiki/Heisenbug The Python Policy section on optional dependencies should cover this: https://wiki.freebsd.org/Python/PortsPolicy#Optional_Dependencies tldr; For either at build or run-time optional dependencies (where the pattern is, check if dep exists, use some code path if true, else use another code path), add OPTIONS for them. Re heisenbugs/etc, this is where support for running test suites in the port are critical, let us know in #freebsd-python on freenode IRC if you need help getting these hooked up ___ freebsd-python@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-python To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"
security/py-pycryptodome: Soft dependency on devel/py-cffi
Greetings FreeBSD Python, I have been mulling over a thing and would like the list's perspective before I decide whether to take action or not. security/py-pycryptodome will use devel/py-cffi if it is available [0] or ctypes otherwise [1]. This makes me just a little bit uneasy since it leaves the door open to certain Heisenbugs and red herrings. My question is whether it warrants adding devel/py-cffi to RUN_DEPENDS to ensure consistency behavior? If not, what about as an OPTION for those who care about that sort of thing? [0] https://github.com/Legrandin/pycryptodome/blob/v3.9.8/lib/Crypto/Util/_raw_api.py#L71-L161 [1] https://github.com/Legrandin/pycryptodome/blob/v3.9.8/lib/Crypto/Util/_raw_api.py#L163-L263 [2] https://en.wikipedia.org/wiki/Heisenbug -- John W. O'Brien OpenPGP keys: 0x33C4D64B895DBF3B signature.asc Description: OpenPGP digital signature
[Bug 248297] security/py-gssapi: Update to 1.6.9
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248297 --- Comment #4 from commit-h...@freebsd.org --- A commit references this bug: Author: tcberner Date: Mon Jul 27 17:55:20 UTC 2020 New revision: 543543 URL: https://svnweb.freebsd.org/changeset/ports/543543 Log: security/py-gssapi: Update to 1.6.9 Changelog: https://github.com/pythongssapi/python-gssapi/releases/tag/v1.6.9 PR: 248297 Submitted by: John W. O'Brien (maintainer) Changes: head/security/py-gssapi/Makefile head/security/py-gssapi/distinfo -- You are receiving this mail because: You are on the CC list for the bug. ___ freebsd-python@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-python To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"
[Bug 248297] security/py-gssapi: Update to 1.6.9
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248297 Tobias C. Berner changed: What|Removed |Added Resolution|--- |FIXED CC||tcber...@freebsd.org Assignee|ports-b...@freebsd.org |tcber...@freebsd.org Status|Open|Closed --- Comment #3 from Tobias C. Berner --- Committed. thanks. -- You are receiving this mail because: You are on the CC list for the bug. ___ freebsd-python@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-python To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"
[Bug 248298] devel/py-selectors2: Update to 2.0.2
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248298 --- Comment #4 from commit-h...@freebsd.org --- A commit references this bug: Author: tcberner Date: Mon Jul 27 17:49:22 UTC 2020 New revision: 543542 URL: https://svnweb.freebsd.org/changeset/ports/543542 Log: devel/py-selectors2: Update to 2.0.2 ( https://github.com/sethmlarson/selectors2/releases/tag/2.0.2 PR: 248298 Submitted by: John W. O'Brien (maintainer) Changes: head/devel/py-selectors2/Makefile head/devel/py-selectors2/distinfo -- You are receiving this mail because: You are on the CC list for the bug. ___ freebsd-python@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-python To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"
maintainer-approval requested: [Bug 248303] devel/py-gdata: Mark DEPRECATED (unmaintained upstream), expire after 90 days : [Attachment 216809] devel/py-gdata: Mark DEPRECATED (unmaintained upstream),
John W. O'Brien has asked freebsd-python (Nobody) for maintainer-approval: Bug 248303: devel/py-gdata: Mark DEPRECATED (unmaintained upstream), expire after 90 days https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248303 Attachment 216809: devel/py-gdata: Mark DEPRECATED (unmaintained upstream), expire after 90 days https://bugs.freebsd.org/bugzilla/attachment.cgi?id=216809=edit --- Description --- Changelog = * Mark DEPRECATED due to being unmaintained upstream * Expire after 90 days * Refer users to successor, www/py-google-api-python-client Notes = Last upstream commit: 2016-01 Last upstream release: 2013-06 See also: https://github.com/google/gdata-python-client/issues/54 ___ freebsd-python@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-python To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"
maintainer-feedback requested: [Bug 248303] devel/py-gdata: Mark DEPRECATED (unmaintained upstream), expire after 90 days
John W. O'Brien has asked freebsd-python (Nobody) for maintainer-feedback: Bug 248303: devel/py-gdata: Mark DEPRECATED (unmaintained upstream), expire after 90 days https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248303 --- Description --- Created attachment 216809 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=216809=edit devel/py-gdata: Mark DEPRECATED (unmaintained upstream), expire after 90 days Changelog = * Mark DEPRECATED due to being unmaintained upstream * Expire after 90 days * Refer users to successor, www/py-google-api-python-client Notes = Last upstream commit: 2016-01 Last upstream release: 2013-06 See also: https://github.com/google/gdata-python-client/issues/54 ___ freebsd-python@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-python To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"
[Bug 248303] devel/py-gdata: Mark DEPRECATED (unmaintained upstream), expire after 90 days
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248303 Bug ID: 248303 Summary: devel/py-gdata: Mark DEPRECATED (unmaintained upstream), expire after 90 days Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: pyt...@freebsd.org Reporter: j...@saltant.com CC: pyt...@freebsd.org Assignee: pyt...@freebsd.org Flags: maintainer-feedback?(pyt...@freebsd.org) Attachment #216809 maintainer-approval?(pyt...@freebsd.org) Flags: CC: pyt...@freebsd.org Flags: maintainer-feedback?(pyt...@freebsd.org) Created attachment 216809 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=216809=edit devel/py-gdata: Mark DEPRECATED (unmaintained upstream), expire after 90 days Changelog = * Mark DEPRECATED due to being unmaintained upstream * Expire after 90 days * Refer users to successor, www/py-google-api-python-client Notes = Last upstream commit: 2016-01 Last upstream release: 2013-06 See also: https://github.com/google/gdata-python-client/issues/54 -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. ___ freebsd-python@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-python To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"
maintainer-feedback requested: [Bug 248303] devel/py-gdata: Mark DEPRECATED (unmaintained upstream), expire after 90 days
Bugzilla Automation has asked freebsd-python (Nobody) for maintainer-feedback: Bug 248303: devel/py-gdata: Mark DEPRECATED (unmaintained upstream), expire after 90 days https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248303 --- Description --- Changelog = * Mark DEPRECATED due to being unmaintained upstream * Expire after 90 days * Refer users to successor, www/py-google-api-python-client Notes = Last upstream commit: 2016-01 Last upstream release: 2013-06 See also: https://github.com/google/gdata-python-client/issues/54 ___ freebsd-python@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-python To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"
[Bug 248298] devel/py-selectors2: Update to 2.0.2
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248298 Tobias C. Berner changed: What|Removed |Added Assignee|ports-b...@freebsd.org |tcber...@freebsd.org CC||tcber...@freebsd.org Resolution|--- |FIXED Status|Open|Closed --- Comment #3 from Tobias C. Berner --- Committed. Thanks. -- You are receiving this mail because: You are on the CC list for the bug. ___ freebsd-python@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-python To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"
[Bug 248298] devel/py-selectors2: Update to 2.0.2
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248298 Automation User changed: What|Removed |Added Keywords||buildisok -- You are receiving this mail because: You are on the CC list for the bug. ___ freebsd-python@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-python To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"
[Bug 248298] devel/py-selectors2: Update to 2.0.2
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248298 --- Comment #2 from Automation User --- Build info is available at https://gitlab.com/swills/freebsd-ports/pipelines/171230440 -- You are receiving this mail because: You are on the CC list for the bug. ___ freebsd-python@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-python To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"
[Bug 248297] security/py-gssapi: Update to 1.6.9
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248297 --- Comment #2 from Automation User --- Build info is available at https://gitlab.com/swills/freebsd-ports/pipelines/171228794 -- You are receiving this mail because: You are on the CC list for the bug. ___ freebsd-python@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-python To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"
[Bug 248297] security/py-gssapi: Update to 1.6.9
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248297 Automation User changed: What|Removed |Added Keywords||buildisok -- You are receiving this mail because: You are on the CC list for the bug. ___ freebsd-python@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-python To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"
[Bug 248297] security/py-gssapi: Update to 1.6.9
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248297 Fernando ApesteguĂa changed: What|Removed |Added Status|New |Open CC||fern...@freebsd.org Flags|maintainer-feedback+| --- Comment #1 from Fernando ApesteguĂa --- ^Triage: Maintainer-feedback flag (+) not required unless requested (?) first. -- You are receiving this mail because: You are on the CC list for the bug. ___ freebsd-python@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-python To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"
[Bug 248298] devel/py-selectors2: Update to 2.0.2
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248298 Bug ID: 248298 Summary: devel/py-selectors2: Update to 2.0.2 Product: Ports & Packages Version: Latest Hardware: Any URL: https://github.com/sethmlarson/selectors2/releases/tag /2.0.2 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-b...@freebsd.org Reporter: j...@saltant.com CC: pyt...@freebsd.org Attachment #216804 maintainer-approval+ Flags: Flags: maintainer-feedback+ Created attachment 216804 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=216804=edit devel/py-selectors2: Update to 2.0.2 Changelog = * Update to 2.0.2 QA == portlint: OK poudriere: OK -- testport on 12.1-RELEASE amd64 w/py27 -- You are receiving this mail because: You are on the CC list for the bug. ___ freebsd-python@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-python To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"
[Bug 248297] security/py-gssapi: Update to 1.6.9
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248297 Bug ID: 248297 Summary: security/py-gssapi: Update to 1.6.9 Product: Ports & Packages Version: Latest Hardware: Any URL: https://github.com/pythongssapi/python-gssapi/releases /tag/v1.6.9 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-b...@freebsd.org Reporter: j...@saltant.com CC: pyt...@freebsd.org Attachment #216803 maintainer-approval+ Flags: Flags: maintainer-feedback+ Created attachment 216803 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=216803=edit security/py-gssapi: Update to 1.6.9 Changelog = * Update to 1.6.9 QA == portlint: OK poudriere: OK -- testport on 12.1-RELEASE amd64 w/py36, py37 (default), and py38. -- You are receiving this mail because: You are on the CC list for the bug. ___ freebsd-python@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-python To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"
[Bug 248295] www/py-feedgenerator: Replace gratuitous non-ASCII characters
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248295 Bug ID: 248295 Summary: www/py-feedgenerator: Replace gratuitous non-ASCII characters Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: sunp...@freebsd.org Reporter: j...@saltant.com CC: pyt...@freebsd.org Flags: maintainer-feedback?(sunp...@freebsd.org) Assignee: sunp...@freebsd.org Attachment #216801 maintainer-approval? Flags: Flags: maintainer-feedback? Created attachment 216801 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=216801=edit www/py-feedgenerator: Replace gratuitous non-ASCII characters Changelog = * Use single quote (0x27) instead of RIGHT SINGLE QUOTATION MARK (U+2019) QA == portlint: OK poudriere: OK -- testport on 12.1-RELEASE amd64 w/py27, py35, py36, py37 (default), and py38 Notes = This enables the port to be built where locale.getpreferredencoding(False) returns 'ASCII', and makes portlint happier. Also submitted upstream: https://github.com/getpelican/feedgenerator/pull/18 -- You are receiving this mail because: You are on the CC list for the bug. ___ freebsd-python@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-python To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"
[Bug 248290] devel/py-hvac: Update to 0.10.5
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248290 Kubilay Kocak changed: What|Removed |Added Summary|devel/py-hvac: update to|devel/py-hvac: Update to |0.10.5 |0.10.5 --- Comment #2 from Kubilay Kocak --- ^Triage: If there is a changelog or release notes URL available for this version, please add it to the URL field. -- You are receiving this mail because: You are on the CC list for the bug. ___ freebsd-python@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-python To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"
[Bug 248290] devel/py-hvac: update to 0.10.5
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248290 Kubilay Kocak changed: What|Removed |Added Keywords||needs-qa CC||pyt...@freebsd.org Status|New |Open -- You are receiving this mail because: You are on the CC list for the bug. ___ freebsd-python@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-python To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"
FreeBSD ports you maintain which are out of date
Dear port maintainer, The portscout new distfile checker has detected that one or more of your ports appears to be out of date. Please take the opportunity to check each of the ports listed below, and if possible and appropriate, submit/commit an update. If any ports have already been updated, you can safely ignore the entry. You will not be e-mailed again for any of the port/version combinations below. Full details can be found at the following URL: http://portscout.freebsd.org/pyt...@freebsd.org.html Port| Current version | New version +-+ devel/py-urwid | 2.1.0 | 2.1.1 +-+ If any of the above results are invalid, please check the following page for details on how to improve portscout's detection and selection of distfiles on a per-port basis: http://portscout.freebsd.org/info/portscout-portconfig.txt Reported by:portscout! ___ freebsd-python@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-python To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"