summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/aomp/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/aomp/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/aomp/package.py')
-rw-r--r--var/spack/repos/builtin/packages/aomp/package.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/var/spack/repos/builtin/packages/aomp/package.py b/var/spack/repos/builtin/packages/aomp/package.py
index 490bda2f22..ebc4ea7ac1 100644
--- a/var/spack/repos/builtin/packages/aomp/package.py
+++ b/var/spack/repos/builtin/packages/aomp/package.py
@@ -90,19 +90,11 @@ class Aomp(Package):
version("3.10.0", sha256=versions_dict["3.10.0"]["aomp"])
version("3.9.0", sha256=versions_dict["3.9.0"]["aomp"])
- version("3.8.0", sha256=versions_dict["3.8.0"]["aomp"])
- version("3.7.0", sha256=versions_dict["3.7.0"]["aomp"])
- version("3.5.0", sha256=versions_dict["3.5.0"]["aomp"])
# Cmake above 3.18 would fail the build on 3.5.0
depends_on("cmake@3:", type="build")
depends_on("cmake@3:3.17", when="@3.5.0", type="build")
- # Python 2 is needed for 3.5.0 and 3.8.0, limit py-setuptools
- # to avoid spec error
- depends_on("python@2.7:2.8", when="@3.5.0:3.8.0", type="build")
- depends_on("py-setuptools@:44", when="@3.5.0:3.8.0", type="build")
-
depends_on("python@3:", type="build", when="@3.9.0:")
depends_on("py-setuptools", when="@3.9.0:", type="build")