Skip to content

"install python latest" tries to install free-threading version 3.13.0t #191

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
mjreed-wbd opened this issue Oct 15, 2024 · 4 comments
Open

Comments

@mjreed-wbd
Copy link

Provide environment information

OS:
Darwin top 23.6.0 Darwin Kernel Version 23.6.0: Mon Jul 29 21:14:30 PDT 2024; root:xnu-10063.141.2~1/RELEASE_ARM64_T6030 arm64

SHELL:
zsh 5.9 (x86_64-apple-darwin23.0)

BASH VERSION:
5.2.37(1)-release

ASDF VERSION:
v0.14.1

ASDF INTERNAL VARIABLES:
ASDF_DEFAULT_TOOL_VERSIONS_FILENAME=.tool-versions
ASDF_DATA_DIR=/Users/mjreed/.asdf
ASDF_DIR=/opt/homebrew/opt/asdf/libexec
ASDF_CONFIG_FILE=/Users/mjreed/.asdfrc

ASDF INSTALLED PLUGINS:
awscli [email protected]:/MetricMike/asdf-awscli.git main c26bbb4
nodejs [email protected]:/asdf-vm/asdf-nodejs.git master c36e6f0
opentofu [email protected]:/virtualroot/asdf-opentofu.git main f346577
python [email protected]:/danhper/asdf-python.git master a3a0185
raku [email protected]:/m-dango/asdf-raku.git main dd8c1ef
ruby [email protected]:/asdf-vm/asdf-ruby.git master 645ca9e
terraform [email protected]:/asdf-community/asdf-hashicorp.git master 22eb1c4

To Reproduce

Run:

asdf install python latest

Describe the Bug

The version selector sees 3.13.0t as a newer release than bare 3.13.0 and installs it when latest is selected (though in my case the default-module installation fails due to dependencies on the crypto limited API, which is unsupported by the freethreading release).

Expected Behaviour

The -t releasees should be ignored unless the user has set PYTHON_BUILD_FREE_THREADING=1, or some ASDF_-prefixed equivalent var.

@ComaVN
Copy link

ComaVN commented Dec 13, 2024

For anyone else using SciPy, this combines badly with scipy/scipy#21675 : pip install scipy doesn't work with the free-threaded (no GIL) version.

@zedtools
Copy link

zedtools commented Jan 2, 2025

I am also having issues with pip install lxml on MacOS, as it tries to build from source but fails if I use version 3.13.0t or 3.13.1t. Using a version without t successfully installs lxml.

The closest bug I could find there was: https://bugs.launchpad.net/lxml/+bug/2069434

@cdzombak
Copy link

cdzombak commented Feb 6, 2025

With asdf 0.16.0, asdf install python latest attempts to install stackless-3.7.5.

@sjoerdvandenbos-prodrive
Copy link

sjoerdvandenbos-prodrive commented Mar 4, 2025

happens to me as well when I run mise install [email protected] it installs 3.13.2t. When I run mise install [email protected] it installs 3.13.2 (without t)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

5 participants