summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2019-04-04 13:38:31 -0400
committerJason R. Coombs <jaraco@jaraco.com>2019-04-04 13:53:01 -0400
commit7427455031ae4878f43caea2e99edd4d0ea24b7a (patch)
tree8e90addcb97034c687c37756d03c186b6e81ddf1
parentd8b901bc15e2e365c7994cd65758f4181f3d9175 (diff)
downloadpython-setuptools-git-feature/1696-update-vendored-deps.tar.gz
Add tox env 'update-vendored' that updates the vendored deps. Ref 1696feature/1696-update-vendored-deps
-rw-r--r--pkg_resources/_vendor/declared.txt4
-rw-r--r--setuptools/_vendor/declared.txt3
-rw-r--r--tox.ini10
3 files changed, 17 insertions, 0 deletions
diff --git a/pkg_resources/_vendor/declared.txt b/pkg_resources/_vendor/declared.txt
new file mode 100644
index 00000000..83004678
--- /dev/null
+++ b/pkg_resources/_vendor/declared.txt
@@ -0,0 +1,4 @@
+packaging>=16.8
+pyparsing>=2.2.1
+six>=1.10.0
+appdirs>=1.4.3
diff --git a/setuptools/_vendor/declared.txt b/setuptools/_vendor/declared.txt
new file mode 100644
index 00000000..8edb54a0
--- /dev/null
+++ b/setuptools/_vendor/declared.txt
@@ -0,0 +1,3 @@
+packaging>=16.8
+pyparsing>=2.2.1
+six>=1.10.0
diff --git a/tox.ini b/tox.ini
index bb940ac0..7d8671c1 100644
--- a/tox.ini
+++ b/tox.ini
@@ -47,6 +47,16 @@ commands =
sphinx-build -W -b html -d {envtmpdir}/doctrees docs docs/build/html
sphinx-build -W -b man -d {envtmpdir}/doctrees docs docs/build/man
+[testenv:update-vendored]
+deps =
+ pip-tools
+ paver
+skip_install = True
+commands =
+ python -m piptools compile -U setuptools/_vendor/declared.txt -o setuptools/_vendor/vendored.txt
+ python -m piptools compile -U pkg_resources/_vendor/declared.txt -o pkg_resources/_vendor/vendored.txt
+ python -m paver update_vendored
+
[coverage:run]
source=
pkg_resources