summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/bigdft-suite/package.py
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2022-11-22 17:02:30 -0600
committerGitHub <noreply@github.com>2022-11-22 15:02:30 -0800
commitc5883fffd7310f704a8adc2f3666d7539cdfe4e1 (patch)
tree6878ac2edd4efab60b0655a25891e8f010c17f1a /var/spack/repos/builtin/packages/bigdft-suite/package.py
parent4bf964e6b36e8756b014c2e30343507c1cb71b03 (diff)
downloadspack-c5883fffd7310f704a8adc2f3666d7539cdfe4e1.tar.gz
spack-c5883fffd7310f704a8adc2f3666d7539cdfe4e1.tar.bz2
spack-c5883fffd7310f704a8adc2f3666d7539cdfe4e1.tar.xz
spack-c5883fffd7310f704a8adc2f3666d7539cdfe4e1.zip
Python: drop EOL versions (#33898)
This PR removes [end of life](https://endoflife.date/python) versions of Python from Spack. Specifically, this includes all versions of Python older than 3.7. See https://github.com/spack/spack/discussions/31824 for rationale. Deprecated in #32615. And #28003. For anyone using software that relies on Python 2, you have a few options: * Upgrade the software to support Python 3. The `3to2` tool may get you most of the way there, although more complex libraries may need manual tweaking. * Add Python 2 as an [external package](https://spack.readthedocs.io/en/latest/build_settings.html#external-packages). Many Python libraries do not support Python 2, but you may be able to add older versions that did once upon a time. * Use Spack 0.19. Spack 0.19 is the last release to officially support Python 3.6 and older * Create and maintain your own [custom repository](https://spack.readthedocs.io/en/latest/repositories.html). Basically, you would need a package for Python 2 and any other Python 2-specific libraries you need.
Diffstat (limited to 'var/spack/repos/builtin/packages/bigdft-suite/package.py')
-rw-r--r--var/spack/repos/builtin/packages/bigdft-suite/package.py11
1 files changed, 2 insertions, 9 deletions
diff --git a/var/spack/repos/builtin/packages/bigdft-suite/package.py b/var/spack/repos/builtin/packages/bigdft-suite/package.py
index 5ef93b9427..a23d47d3e7 100644
--- a/var/spack/repos/builtin/packages/bigdft-suite/package.py
+++ b/var/spack/repos/builtin/packages/bigdft-suite/package.py
@@ -18,22 +18,15 @@ class BigdftSuite(BundlePackage):
version("1.9.2", sha256="dc9e49b68f122a9886fa0ef09970f62e7ba21bb9ab1b86be9b7d7e22ed8fbe0f")
version("1.9.1", sha256="3c334da26d2a201b572579fc1a7f8caad1cbf971e848a3e10d83bc4dc8c82e41")
version("1.9.0", sha256="4500e505f5a29d213f678a91d00a10fef9dc00860ea4b3edf9280f33ed0d1ac8")
- version("1.8.3", sha256="f112bb08833da4d11dd0f14f7ab10d740b62bc924806d77c985eb04ae0629909")
- version("1.8.2", sha256="042e5a3b478b1a4c050c450a9b1be7bcf8e13eacbce4759b7f2d79268b298d61")
- version("1.8.1", sha256="e09ff0ba381f6ffbe6a3c0cb71db5b73117874beb41f22a982a7e5ba32d018b3")
- depends_on("python@:2.8", type=("run"), when="@:1.8.3")
- depends_on("python@3.0:", type=("run"), when="@1.9.0:")
- depends_on("python@3.0:", type=("run"), when="@develop")
+ depends_on("python@3.0:", type=("run"))
- for vers in ["1.8.1", "1.8.2", "1.8.3", "1.9.0", "1.9.1", "1.9.2", "develop"]:
+ for vers in ["1.9.0", "1.9.1", "1.9.2", "develop"]:
depends_on("bigdft-futile@{0}".format(vers), when="@{0}".format(vers))
depends_on("bigdft-psolver@{0}".format(vers), when="@{0}".format(vers))
depends_on("bigdft-libabinit@{0}".format(vers), when="@{0}".format(vers))
depends_on("bigdft-chess@{0}".format(vers), when="@{0}".format(vers))
depends_on("bigdft-core@{0}".format(vers), when="@{0}".format(vers))
depends_on("bigdft-spred@{0}".format(vers), when="@{0}".format(vers))
- for vers in ["1.8.3", "1.9.0", "1.9.1", "1.9.2", "develop"]:
depends_on("bigdft-atlab@{0}".format(vers), when="@{0}".format(vers))
- for vers in ["1.9.0", "1.9.1", "1.9.2", "develop"]:
depends_on("py-bigdft@{0}".format(vers), when="@{0}".format(vers))