summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoritz Kern <92092328+Moritz-Alexander-Kern@users.noreply.github.com>2023-11-18 14:12:58 +0100
committerGitHub <noreply@github.com>2023-11-18 07:12:58 -0600
commitcb764ce41ce6929f7acad2f32c2710011c899588 (patch)
tree43d0edcf2545d2699e4e57cf36c92a688bae3725
parent9383953f76a9466319c284524496b65cc9626bee (diff)
downloadspack-cb764ce41ce6929f7acad2f32c2710011c899588.tar.gz
spack-cb764ce41ce6929f7acad2f32c2710011c899588.tar.bz2
spack-cb764ce41ce6929f7acad2f32c2710011c899588.tar.xz
spack-cb764ce41ce6929f7acad2f32c2710011c899588.zip
Update py-quantities (#39201)
* add version 0.14.1 * formatting * style checks * fix style errors * remove old versions * fix typo * style * update maintainers directive * sort dependencies from newest to oldest * Update var/spack/repos/builtin/packages/py-quantities/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * Update var/spack/repos/builtin/packages/py-quantities/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * sort dependencies from newest to oldest * removed upper bounds for python version * Update var/spack/repos/builtin/packages/py-quantities/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * remove dependency on Python 3.7 +, since 3.7 is the lowest supported version anyway --------- Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
-rw-r--r--var/spack/repos/builtin/packages/py-quantities/package.py13
1 files changed, 7 insertions, 6 deletions
diff --git a/var/spack/repos/builtin/packages/py-quantities/package.py b/var/spack/repos/builtin/packages/py-quantities/package.py
index 024901ab67..0d9b38f69e 100644
--- a/var/spack/repos/builtin/packages/py-quantities/package.py
+++ b/var/spack/repos/builtin/packages/py-quantities/package.py
@@ -13,18 +13,19 @@ class PyQuantities(PythonPackage):
pypi = "quantities/quantities-0.12.1.tar.gz"
maintainers("apdavison")
+ version("0.14.1", sha256="efeafffc0c0364f891a9327239cd12496bccb55cd037a6d1bf44de706f722877")
version("0.13.0", sha256="0fde20115410de21cefa786f3aeae69c1b51bb19ee492190324c1da705e61a81")
version("0.12.5", sha256="67546963cb2a519b1a4aa43d132ef754360268e5d551b43dd1716903d99812f0")
version("0.12.4", sha256="a33d636d1870c9e1127631185d89b0105a49f827d6aacd44ad9d8f151f331d8b")
version("0.12.3", sha256="582f3c7aeba897846761e966615e01202a5e5d06add304492931b05085d19883")
- depends_on("python@2.7.0:2.7,3.4:3.7", type=("build", "run"), when="@0.12.3")
- depends_on("python@2.7.0:2.7,3.4:3.8", type=("build", "run"), when="@0.12.4:0.12.5")
- depends_on("python@3.7:3.10", type=("build", "run"), when="@0.13:")
+ depends_on("python@3.8:", type=("build", "run"), when="@0.14:")
- # pip silently replaces distutils with setuptools
+ depends_on("py-setuptools@61:", type="build", when="@0.14:")
depends_on("py-setuptools", type="build")
+ depends_on("py-setuptools-scm+toml", type="build", when="@0.14:")
- depends_on("py-numpy@1.8.2:1.16", type=("build", "run"), when="@0.12.3")
+ depends_on("py-numpy@1.19:", type=("build", "run"), when="@0.14:")
+ depends_on("py-numpy@1.16:", type=("build", "run"), when="@0.13")
depends_on("py-numpy@1.8.2:1.17", type=("build", "run"), when="@0.12.4:0.12")
- depends_on("py-numpy@1.16:", type=("build", "run"), when="@0.13.0:")
+ depends_on("py-numpy@1.8.2:1.16", type=("build", "run"), when="@0.12.3")