-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Conretizer uses old dependency version #30700
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't workingconcretizationconcretizer-use-caseinteresting dependency hierarchy that would challenge the current concretizerinteresting dependency hierarchy that would challenge the current concretizertriageThe issue needs to be prioritizedThe issue needs to be prioritizedvariantsversions
Description
Steps to reproduce
When building a new package which depends on py-numba spack concretizes to use the oldest available version[email protected] instead the newest one [email protected] without any reason. Therefore also downgrading python to version 3.6.15
Reproduce:
- fresh spack clone
- no config (removed
~/.spack) - create a new package with a
py-numbadependency
I used py-fracridge (the package I wanted to create when encountering this problem) with the package.py
from spack import *
class PyFracridge(PythonPackage):
"""Fractional Ridge Regression."""
homepage = "https://nrdg.github.io/fracridge"
pypi = "fracridge/fracridge-1.4.3.tar.gz"
version('1.4.3', sha256='0446d486f00fea02110567fd9df14b8b2a7b155dc72700af9201873ea11c27cc')
depends_on('py-numba', type=('build', 'run'))ping @adamjstewart @alalazo
Error message
$ spack solve py-fracridge
==> Best of 6 considered solutions.
==> Optimization Criteria:
Priority Criterion Installed ToBuild
1 number of packages to build (vs. reuse) - 30
2 deprecated versions used 0 0
3 version weight 0 0
4 number of non-default variants (roots) 0 0
5 preferred providers for roots 0 0
6 default values of variants not being used (roots) 0 0
7 number of non-default variants (non-roots) 0 0
8 preferred providers (non-roots) 0 0
9 compiler mismatches 0 0
10 OS mismatches 0 0
11 non-preferred OS's 0 0
12 version badness 0 71
13 default values of variants not being used (non-roots) 0 1
14 non-preferred compilers 0 0
15 target mismatches 0 0
16 non-preferred targets 0 0
[email protected]%[email protected] arch=linux-fedora35-skylake
^[email protected]%[email protected] arch=linux-fedora35-skylake
^[email protected]%[email protected]+blas+lapack patches=8a9d5d1 arch=linux-fedora35-skylake
^[email protected]%[email protected]~bignuma~consistent_fpcsr~ilp64+locking+pic+shared symbol_suffix=none threads=none arch=linux-fedora35-skylake
^[email protected]%[email protected]+cpanm+shared+threads arch=linux-fedora35-skylake
^[email protected]%[email protected]+cxx~docs+stl patches=b231fcc arch=linux-fedora35-skylake
^[email protected]%[email protected]~debug~pic+shared arch=linux-fedora35-skylake
^[email protected]%[email protected] arch=linux-fedora35-skylake
^[email protected]%[email protected] libs=shared,static arch=linux-fedora35-skylake
^[email protected]%[email protected] arch=linux-fedora35-skylake
^[email protected]%[email protected] arch=linux-fedora35-skylake
^[email protected]%[email protected]~symlinks+termlib abi=none arch=linux-fedora35-skylake
^[email protected]%[email protected] arch=linux-fedora35-skylake
^[email protected]%[email protected]+optimize+pic+shared patches=0d38234 arch=linux-fedora35-skylake
^[email protected]%[email protected] arch=linux-fedora35-skylake
^[email protected]%[email protected] arch=linux-fedora35-skylake
^[email protected]%[email protected]+bz2+ctypes+dbm~debug+ensurepip+libxml2+lzma~nis~optimizations+pic+pyexpat+pythoncmd+readline+shared+sqlite3+ssl~tix~tkinter~ucs4+uuid+zlib arch=linux-fedora35-skylake
^[email protected]%[email protected]+libbsd arch=linux-fedora35-skylake
^[email protected]%[email protected] arch=linux-fedora35-skylake
^[email protected]%[email protected] arch=linux-fedora35-skylake
^[email protected]%[email protected]+bzip2+curses+git~libunistring+libxml2+tar+xz arch=linux-fedora35-skylake
^[email protected]%[email protected]~python arch=linux-fedora35-skylake
^[email protected]%[email protected]~pic libs=shared,static arch=linux-fedora35-skylake
^[email protected]%[email protected] arch=linux-fedora35-skylake
^[email protected]%[email protected] arch=linux-fedora35-skylake
^[email protected]%[email protected]~docs~shared certs=system arch=linux-fedora35-skylake
^[email protected]%[email protected]+column_metadata+dynamic_extensions+fts~functions+rtree arch=linux-fedora35-skylake
^[email protected]%[email protected] arch=linux-fedora35-skylake
^[email protected]%[email protected] arch=linux-fedora35-skylake
^[email protected]%[email protected] arch=linux-fedora35-skylakeInformation on your system
- Spack: 0.18.0.dev0 (d7d0c89)
- Python: 3.10.4
- Platform: linux-fedora35-skylake
- Concretizer: clingo
General information
- I have run
spack debug reportand reported the version of Spack/Python/Platform - I have searched the issues of this repo and believe this is not a duplicate
- I have run the failing commands in debug mode and reported the output
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingconcretizationconcretizer-use-caseinteresting dependency hierarchy that would challenge the current concretizerinteresting dependency hierarchy that would challenge the current concretizertriageThe issue needs to be prioritizedThe issue needs to be prioritizedvariantsversions