[Bug 240634] lang/rust: Rust build uses Python 2.7 on system that has Python 3.6 as default Python version

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Sep 17 10:41:40 UTC 2019


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

Kubilay Kocak <koobs at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|Affects Only Me             |Affects Some People
           Keywords|                            |needs-qa
           Assignee|ports-bugs at FreeBSD.org      |rust at FreeBSD.org
             Status|New                         |Open
            Summary|Rust build uses Python 2.7  |lang/rust: Rust build uses
                   |on system that has Python   |Python 2.7 on system that
                   |3.6 as default Python       |has Python 3.6 as default
                   |version                     |Python version
                 CC|                            |rust at FreeBSD.org
              Flags|                            |maintainer-feedback?(rust at F
                   |                            |reeBSD.org)

--- Comment #1 from Kubilay Kocak <koobs at FreeBSD.org> ---
Thank you for the report Vincent

For context DEFAULT_VERSIONS are *just* defaults, there is nothing precluding
particular ports from specifying versions of Python that they support, that
don't match the defaults.

In rusts case, the port currently specifies "python:2.7", which should either
mean "only supports 2.7" or in case a particular version is currently
(temporarily) broken, "only use 2.7". In either case at present, its 'correct
and intentional behaviour' for the port to use Python 2.7.

If however, rust otherwise supports other Python versions and the port has not
correctly or completely declared Python version support (in its
USES=python:<version-spec>), or is unnecessarily restricting <version-spec>,
that's a bug.

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


More information about the freebsd-ports-bugs mailing list