Skip to content
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

Two different versions of Python present in the same spec #274

Open
dipietrantonio opened this issue Jun 8, 2024 · 0 comments
Open

Two different versions of Python present in the same spec #274

dipietrantonio opened this issue Jun 8, 2024 · 0 comments

Comments

@dipietrantonio
Copy link
Collaborator

I was trying to build a specific version of wsclean. The recipe has got depends_on("python@:3.10") so I would expect the 3.9.15 version to be picked up.

cdipietrantonio@nid001774:~> spack spec --reuse [email protected] +everybeam | grep python@
[^]          ^[email protected]%[email protected] cflags="-O3" cppflags="-O3" cxxflags="-O3" fflags="-O3 -fallow-argument-mismatch" +bz2+crypt+ctypes+dbm~debug+libxml2+lzma~nis+optimizations+pic+pyexpat+pythoncmd+readline+shared+sqlite3~ssl~tkinter+uuid+zlib build_system=generic patches=13fa8bf,b0615b2,ebdca64,f2fd060 arch=linux-sles15-zen3
[^]      ^[email protected]%[email protected] cflags="-O3" cppflags="-O3" cxxflags="-O3" fflags="-O3 -fallow-argument-mismatch" +bz2+crypt+ctypes+dbm~debug+libxml2+lzma~nis+optimizations+pic+pyexpat+pythoncmd+readline+shared+sqlite3~ssl~tkinter+uuid+zlib build_system=generic patches=0d98e93,4c24573,ebdca64,f2fd060 arch=linux-sles15-zen3

Without the --reuse flag I get this

cdipietrantonio@nid001774:~> spack spec [email protected] +everybeam | grep python@
==> Warning: using "[email protected]" which is a deprecated version
==> Warning: using "[email protected]" which is a deprecated version
 -       ^[email protected]%[email protected] cflags="-O3" cppflags="-O3" cxxflags="-O3" fflags="-O3 -fallow-argument-mismatch" +bz2+crypt+ctypes+dbm~debug+libxml2+lzma~nis+optimizations+pic+pyexpat+pythoncmd+readline+shared+sqlite3~ssl~tkinter+uuid+zlib build_system=generic patches=0d98e93,7d40923,ebdca64,f2fd060 arch=linux-sles15-zen3

it chose a version that is not installed over the pre-installed [email protected].

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

No branches or pull requests

1 participant