summaryrefslogtreecommitdiff
path: root/lib/spack/external
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@gmail.com>2022-11-16 15:39:33 +0100
committerTodd Gamblin <tgamblin@llnl.gov>2023-01-04 09:43:04 -0800
commit86378502f9fda95725c535614d587d4c345aad08 (patch)
tree67d22dbe645a348daa73c2c8f9bf3b6ec96cdb1c /lib/spack/external
parent2530c7828ba33150430b973f9ca1f7d633d1d7cb (diff)
downloadspack-86378502f9fda95725c535614d587d4c345aad08.tar.gz
spack-86378502f9fda95725c535614d587d4c345aad08.tar.bz2
spack-86378502f9fda95725c535614d587d4c345aad08.tar.xz
spack-86378502f9fda95725c535614d587d4c345aad08.zip
Use "vendoring" to manage 3rd party dependencies
Diffstat (limited to 'lib/spack/external')
-rw-r--r--lib/spack/external/__init__.py55
-rw-r--r--lib/spack/external/patches/jsonschema.patch15
-rw-r--r--lib/spack/external/vendor.txt9
3 files changed, 31 insertions, 48 deletions
diff --git a/lib/spack/external/__init__.py b/lib/spack/external/__init__.py
index ce5924a9a5..7a41e77059 100644
--- a/lib/spack/external/__init__.py
+++ b/lib/spack/external/__init__.py
@@ -11,7 +11,7 @@ altgraph
* Homepage: https://altgraph.readthedocs.io/en/latest/index.html
* Usage: dependency of macholib
-* Version: 0.17.2
+* Version: 0.17.3
archspec
--------
@@ -20,17 +20,6 @@ archspec
* Usage: Labeling, comparison and detection of microarchitectures
* Version: 0.2.0 (commit e44bad9c7b6defac73696f64078b2fe634719b62)
-argparse
---------
-
-* Homepage: https://pypi.python.org/pypi/argparse
-* 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
- vendored copy ever needs to be updated again:
- https://github.com/spack/spack/pull/6786/commits/dfcef577b77249106ea4e4c69a6cd9e64fa6c418
-
astunparse
----------------
@@ -52,7 +41,7 @@ attrs
* Homepage: https://github.com/python-attrs/attrs
* Usage: Needed by jsonschema.
-* Version: 21.2.0 (83d3cd70f90a3f4d19ee8b508e58d1c58821c0ad)
+* Version: 22.1.0
ctest_log_parser
----------------
@@ -67,21 +56,14 @@ distro
* Homepage: https://pypi.python.org/pypi/distro
* Usage: Provides a more stable linux distribution detection.
-* Version: 1.6.0 (64946a1e2a9ff529047070657728600e006c99ff)
-* Note: Last version supporting Python 2.7
-
-functools32
------------
-* Homepage: https://github.com/MiCHiLU/python-functools32
-* Usage: Needed by jsonschema when using Python 2.7.
-* Version: 3.2.3-2
+* Version: 1.8.0
jinja2
------
* Homepage: https://pypi.python.org/pypi/Jinja2
* Usage: A modern and designer-friendly templating language for Python.
-* Version: 2.11.3 (last version supporting Python 2.7)
+* Version: 3.0.3 (last version supporting Python 3.6)
jsonschema
----------
@@ -96,44 +78,21 @@ macholib
* Homepage: https://macholib.readthedocs.io/en/latest/index.html#
* Usage: Manipulation of Mach-o binaries for relocating macOS buildcaches on Linux
-* Version: 1.15.2
+* Version: 1.16.2
markupsafe
----------
* Homepage: https://pypi.python.org/pypi/MarkupSafe
* Usage: Implements a XML/HTML/XHTML Markup safe string for Python.
-* Version: 1.1.1 (last version supporting Python 2.7)
-
-py
---
-
-* Homepage: https://pypi.python.org/pypi/py
-* Usage: Needed by pytest. Library with cross-python path,
- ini-parsing, io, code, and log facilities.
-* Version: 1.4.34 (last version supporting Python 2.6)
-* Note: This packages has been modified:
- * https://github.com/pytest-dev/py/pull/186 was backported
+* Version: 2.0.1 (last version supporting Python 3.6)
pyrsistent
----------
* Homepage: http://github.com/tobgu/pyrsistent/
* Usage: Needed by `jsonschema`
-* Version: 0.16.1 (last version supporting Python 2.7)
-* Note: We only include the parts needed for `jsonschema`.
-
-pytest
-------
-
-* Homepage: https://pypi.python.org/pypi/pytest
-* Usage: Testing framework used by Spack.
-* Version: 3.2.5 (last version supporting Python 2.6)
-* Note: This package has been slightly modified:
- * We improve Python 2.6 compatibility. See:
- https://github.com/spack/spack/pull/6801.
- * We have patched pytest not to depend on setuptools. See:
- https://github.com/spack/spack/pull/15612
+* Version: 0.18.0
ruamel.yaml
------
diff --git a/lib/spack/external/patches/jsonschema.patch b/lib/spack/external/patches/jsonschema.patch
new file mode 100644
index 0000000000..d22d87a3d6
--- /dev/null
+++ b/lib/spack/external/patches/jsonschema.patch
@@ -0,0 +1,15 @@
+diff --git a/lib/spack/external/_vendoring/jsonschema/__init__.py b/lib/spack/external/_vendoring/jsonschema/__init__.py
+index 6b630cdfbb..1791fe7fbf 100644
+--- a/lib/spack/external/_vendoring/jsonschema/__init__.py
++++ b/lib/spack/external/_vendoring/jsonschema/__init__.py
+@@ -27,8 +27,5 @@
+ RefResolver,
+ validate,
+ )
+-try:
+- from importlib import metadata
+-except ImportError: # for Python<3.8
+- import importlib_metadata as metadata
+-__version__ = metadata.version("jsonschema")
++
++__version__ = "3.2.0"
diff --git a/lib/spack/external/vendor.txt b/lib/spack/external/vendor.txt
new file mode 100644
index 0000000000..3080ef110e
--- /dev/null
+++ b/lib/spack/external/vendor.txt
@@ -0,0 +1,9 @@
+distro==1.8.0
+jsonschema==3.2.0
+ attrs==22.1.0
+ pyrsistent==0.18.0
+jinja2==3.0.3
+ markupsafe==2.0.1
+six==1.16.0
+macholib==1.16.2
+ altgraph==0.17.3