diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2022-11-22 17:02:30 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-22 15:02:30 -0800 |
commit | c5883fffd7310f704a8adc2f3666d7539cdfe4e1 (patch) | |
tree | 6878ac2edd4efab60b0655a25891e8f010c17f1a /var/spack/repos/builtin/packages/python/cray-rpath-2.3.patch | |
parent | 4bf964e6b36e8756b014c2e30343507c1cb71b03 (diff) | |
download | spack-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/python/cray-rpath-2.3.patch')
-rw-r--r-- | var/spack/repos/builtin/packages/python/cray-rpath-2.3.patch | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/var/spack/repos/builtin/packages/python/cray-rpath-2.3.patch b/var/spack/repos/builtin/packages/python/cray-rpath-2.3.patch deleted file mode 100644 index 54a85cc64a..0000000000 --- a/var/spack/repos/builtin/packages/python/cray-rpath-2.3.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- a/Lib/distutils/unixccompiler.py 2003-06-02 05:27:40.000000000 +1000 -+++ b/Lib/distutils/unixccompiler.py 2017-05-13 13:52:45.554213616 +1000 -@@ -208,7 +208,8 @@ - elif compiler[:3] == "gcc" or compiler[:3] == "g++": - return "-Wl,-R" + dir - else: -- return "-R" + dir -+ # Patched by spack to use gcc syntax by default: -+ return "-Wl,-R" + dir - - def library_option(self, lib): - return "-l" + lib |