Summary: | lang/rust: Rust build uses Python 2.7 on system that has Python 3.6 as default Python version | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Vincent Bentley <vince> |
Component: | Individual Port(s) | Assignee: | FreeBSD Rust Team <rust> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | CC: | koobs, python, rust |
Priority: | --- | Flags: | tobik:
maintainer-feedback+
|
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any | ||
See Also: | https://github.com/rust-lang/rust/issues/59838 |
Description
Vincent Bentley
2019-09-17 10:23:09 UTC
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. Switched to USES=python:build in ports r513013. |