diff options
author | Massimiliano Culpo <massimiliano.culpo@gmail.com> | 2021-11-23 18:06:17 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-23 09:06:17 -0800 |
commit | fa7189b480d48407bbfafbbf67b1910430a4dc54 (patch) | |
tree | 6b3b0525740f38f091f09e3f08cf5a3460700311 /lib/spack/external/__init__.py | |
parent | 812663de623779c6431e1256b22b6d1f94f108a4 (diff) | |
download | spack-fa7189b480d48407bbfafbbf67b1910430a4dc54.tar.gz spack-fa7189b480d48407bbfafbbf67b1910430a4dc54.tar.bz2 spack-fa7189b480d48407bbfafbbf67b1910430a4dc54.tar.xz spack-fa7189b480d48407bbfafbbf67b1910430a4dc54.zip |
Remove support for Python 2.6 (#27256)
Modifications:
- [x] Removed `centos:6` unit test, adjusted vermin checks
- [x] Removed backport of `collections.OrderedDict`
- [x] Removed backport of `functools.total_ordering`
- [x] Removed Python 2.6 specific skip markers in unit tests
- [x] Fixed a few minor Python 2.6 related TODOs in code
Updating the vendored dependencies will be done in separate PRs
Diffstat (limited to 'lib/spack/external/__init__.py')
-rw-r--r-- | lib/spack/external/__init__.py | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/lib/spack/external/__init__.py b/lib/spack/external/__init__.py index be4b9fbf14..995b98146d 100644 --- a/lib/spack/external/__init__.py +++ b/lib/spack/external/__init__.py @@ -17,7 +17,7 @@ argparse -------- * Homepage: https://pypi.python.org/pypi/argparse -* Usage: We include our own version to be Python 2.6 compatible. +* Usage: We include our own version to be Python 3.X compatible. * Version: 1.4.0 * Note: This package has been slightly modified to improve error message formatting. See the following commit if the @@ -39,15 +39,6 @@ distro * Usage: Provides a more stable linux distribution detection. * Version: 1.0.4 (last version supporting Python 2.6) -functools ---------- - -* Homepage: https://github.com/python/cpython/blob/2.7/Lib/functools.py -* Usage: Used for implementation of total_ordering. -* Version: Unversioned -* Note: This is the functools.total_ordering implementation - from Python 2.7 backported so we can run on Python 2.6. - jinja2 ------ @@ -73,14 +64,6 @@ markupsafe * Usage: Implements a XML/HTML/XHTML Markup safe string for Python. * Version: 1.0 -orderddict ----------- - -* Homepage: https://pypi.org/project/ordereddict/ -* Usage: A drop-in substitute for Py2.7's new collections.OrderedDict - that works in Python 2.4-2.6. -* Version: 1.1 - py -- |