[Bug 224265] misc/py-tqdm should be using USE_PYTHON=concurrent

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Dec 14 05:17:25 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224265

--- Comment #4 from Shane <FreeBSD at ShaneWare.Biz> ---
The real issue is that repeating the same pkg install command can produce
different results.

py-tqdm is only one of many python ports that need updating to handle
concurrent installs. It was a simple port with no deps that was only chosen as
an example. Concurrent support is a different issue than the selection
algorithm used by pkg.

Flavours support for python is a first step that appears to also have plans on
being used by other ports (like ruby) that may or may not support concurrent
pkg installs. Improving the selection algorithm used by pkg can only prevent
other issues in the future.

A simple solution would be sorting found pkgs and installing the first, while a
more advanced solution would consider DEFAULT_VERSIONS.

I'm sure others would argue that in the initial example only one port should be
installed, the one matching the set default version, which may or may not sort
into first place.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list