Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Sep 2019 10:41:40 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 240634] lang/rust: Rust build uses Python 2.7 on system that has Python 3.6 as default Python version
Message-ID:  <bug-240634-7788-RRZaAoBunC@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-240634-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-240634-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240634

Kubilay Kocak <koobs@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|Affects Only Me             |Affects Some People
           Keywords|                            |needs-qa
           Assignee|ports-bugs@FreeBSD.org      |rust@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@FreeBSD.org
              Flags|                            |maintainer-feedback?(rust@F
                   |                            |reeBSD.org)

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

For context DEFAULT_VERSIONS are *just* defaults, there is nothing precludi=
ng
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 eith=
er
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 'corre=
ct
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=3Dpython:<version-spec>), or is unnecessarily restricting <version-spe=
c>,
that's a bug.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-240634-7788-RRZaAoBunC>