Page MenuHomeFreeBSD

[NEW] mail/py-rfc6555: Happy Eyeballs Algorithm described in RFC 6555
ClosedPublic

Authored by dereks_lifeofadishwasher.com on Feb 28 2022, 3:29 AM.
Tags
Referenced Files
F109111293: D34389.id103471.diff
Fri, Jan 31, 10:46 PM
Unknown Object (File)
Sat, Jan 18, 1:24 PM
Unknown Object (File)
Thu, Jan 2, 6:34 PM
Unknown Object (File)
Dec 26 2024, 8:23 AM
Unknown Object (File)
Dec 7 2024, 12:35 PM
Unknown Object (File)
Dec 3 2024, 6:41 AM
Unknown Object (File)
Nov 28 2024, 1:06 PM
Unknown Object (File)
Nov 27 2024, 11:00 PM

Details

Summary

Dependency of: mail/py-offlineimap3
PR: 262231

[NEW] mail/py-rfc6555: Happy Eyeballs Algorithm described in RFC 6555

Synchronous Python implementation of the Happy Eyeballs Algorithm
described in RFC 6555. Provided with a single file and dead-simple
API to allow easy vendoring and integration into other projects.

WWW: https://github.com/sethmlarson/rfc6555
Test Plan
  • portlint: ok. looks fine.
  • testport: 13amd64.
  • maketest: 23 passed in 0.47 seconds
  • other: Test with py-offlineimap3. Been using the 8.0.0 python3 version in a venv via pip-install for over a week and pkg install version for a couple days.

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 45879
Build 42767: arc lint + arc unit

Event Timeline

koobs retitled this revision from mail/py-rfc6555: New port mail/py-rfc6555 to [NEW] mail/py-rfc6555: Happy Eyeballs Algorithm described in RFC 6555.Mar 2 2022, 10:33 PM
koobs edited the summary of this revision. (Show Details)
koobs edited the test plan for this revision. (Show Details)
koobs added a reviewer: koobs.
koobs added a project: Python.
koobs requested changes to this revision.Mar 2 2022, 10:35 PM
  • Add TEST_DEPENDS and (do-)test target for QA
  • Need confirmation of QA in TEST PLAN
This revision now requires changes to proceed.Mar 2 2022, 10:35 PM

Added tests and moved to github until tests are added

meta added a subscriber: meta.

All review comments have been addressed. LGTM.

@koobs Anything else?

Upstream updated https://github.com/sethmlarson/rfc6555/pull/8 and prefer not to add test to sdist.

So it's possible to keep everything as is, a full github port, pypi pulling in tests from github, or pypi adding tests to FILES_DIR.

koobs requested changes to this revision.Jun 5 2022, 11:11 PM
koobs added inline comments.
mail/py-rfc6555/Makefile
17

I'd add comment with upstream ref to PR/issue saying tests are not packaged, and they don't want to. Save people and our future selves from wondering why.

18–19

Minor item: Group/sort USE/USES (unless portfmt/portclippy/portlint somehow disagree these days?)

This revision now requires changes to proceed.Jun 5 2022, 11:11 PM

They do disagree. 15.8 porters handbook recommends keeping USE_* vars together (using USE_GITHUB GH_* as example).

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262231#c3

As expected. I do USES -> USE_* -> *_FOO, but wont block review on that.

I just cant see comment added to Makefile (diff needs updating)?

mail/py-rfc6555/Makefile
17

Cant see comment?

  • Add comment stating why USE_GITHUB vs sdist

LGTM mate, nice work!

This revision is now accepted and ready to land.Jun 6 2022, 1:21 AM
arrowd added inline comments.
mail/py-rfc6555/Makefile
26

Can this be switched to the newly added USES=python,pytest?

This revision now requires review to proceed.Jun 6 2022, 10:39 PM

Yes, that works well. Thanks for the recommendation.

This revision was not accepted when it landed; it landed in state Needs Review.Dec 27 2022, 3:02 PM
This revision was automatically updated to reflect the committed changes.