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
Unknown Object (File)
Thu, Nov 14, 7:39 AM
Unknown Object (File)
Thu, Nov 14, 7:11 AM
Unknown Object (File)
Sun, Nov 3, 3:10 AM
Unknown Object (File)
Sun, Nov 3, 3:10 AM
Unknown Object (File)
Sun, Nov 3, 3:05 AM
Unknown Object (File)
Sat, Nov 2, 8:01 AM
Unknown Object (File)
Oct 3 2024, 2:15 AM
Unknown Object (File)
Oct 2 2024, 4:24 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
R11 FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.