-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
meson: build fails with python 3.12 #253751
Comments
Maybe related: https://docs.python.org/3.12/whatsnew/3.12.html#distutils EDIT: |
The released meson version depends on |
Installing So, meson should import setuptools before importing disutils if distutils fails to import directly, and meson doesn't do this |
No, it is not necessary to import |
I'm not an expert on how nix deals with python package installs, but the setuptools hack where
at startup only works when That assumption may not hold in nix, it certainly does not in the Spack package manager which like nix also puts python packages in their own prefixes, and lets python locate those through So, if |
Should we wait the next release that fixes this? |
Another report of this error with more details. Problem is with meson It has distuils as a dependency |
Fix copied from: https://github.com/NixOS/nixpkgs/pull/325909/files Related: NixOS/nixpkgs#325909 and NixOS/nixpkgs#253751
This has been fixed, right? |
Describe the bug
See log
Steps To Reproduce
Steps to reproduce the behavior:
nix-shell -I nixpkgs=./ -p python312Packages.meson
Expected behavior
build successful
Additional context
the python 3.12 version of meson is not shown in the search. maybe this is known not to work. i don't see it marked as broken
https://search.nixos.org/packages?channel=unstable&show=python311Packages.meson&from=0&size=50&sort=relevance&type=packages&query=meson
Notify maintainers
@AndersonTorres
Metadata
nixpkgs @ 48992ab
"x86_64-linux"
Linux 6.3.8, NixOS, 22.11 (Raccoon), 22.11.4588.93fddcf640c
yes
yes
nix-env (Nix) 2.11.1
"home-manager-22.11.tar.gz, nixos-22.11, nixos-hardware, nixos-unstable"
/nix/var/nix/profiles/per-user/root/channels/nixos
The text was updated successfully, but these errors were encountered: