summaryrefslogtreecommitdiff
path: root/requirements
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2021-10-24 18:10:13 -0400
committerNed Batchelder <ned@nedbatchelder.com>2021-10-24 18:42:43 -0400
commit8a0273d15d17d0e00ba4bfa05ffe46d372f979e7 (patch)
treedf197fee491a035b228b388c15c7293d0a284b2e /requirements
parent76c1888d0b65035f9fbfc1fd31ae75c019fbb699 (diff)
downloadpython-coveragepy-git-8a0273d15d17d0e00ba4bfa05ffe46d372f979e7.tar.gz
build: use pip-tools to manage *.pip from *.in
The requires.io site stopped working for me, and this is a more automated process anyway.
Diffstat (limited to 'requirements')
-rw-r--r--requirements/ci.in14
-rw-r--r--requirements/dev.in26
-rw-r--r--requirements/pins.pip10
-rw-r--r--requirements/pip-tools.in8
-rw-r--r--requirements/pip.in9
-rw-r--r--requirements/pytest.in15
-rw-r--r--requirements/wheel.in11
7 files changed, 86 insertions, 7 deletions
diff --git a/requirements/ci.in b/requirements/ci.in
new file mode 100644
index 00000000..151b1ec9
--- /dev/null
+++ b/requirements/ci.in
@@ -0,0 +1,14 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt
+
+-c pins.pip
+
+# Things CI servers need for running tests.
+# "make upgrade" turns this into requirements/ci.pip.
+
+setuptools
+tox
+tox-gh-actions
+wheel
+
+-r pytest.pip
diff --git a/requirements/dev.in b/requirements/dev.in
new file mode 100644
index 00000000..df834108
--- /dev/null
+++ b/requirements/dev.in
@@ -0,0 +1,26 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt
+
+# Requirements input for doing local development work on coverage.py.
+# "make upgrade" turns this into requirements/dev.pip.
+
+-c pins.pip
+-r pip.pip
+
+# PyPI requirements for running tests.
+tox
+-r pytest.pip
+
+# for linting.
+greenlet
+pylint
+check-manifest
+readme_renderer
+
+# for kitting.
+requests
+twine
+libsass
+
+# Just so I have a debugger if I want it.
+pudb
diff --git a/requirements/pins.pip b/requirements/pins.pip
index 89794867..7ac8d0c2 100644
--- a/requirements/pins.pip
+++ b/requirements/pins.pip
@@ -3,10 +3,6 @@
# Version pins, for use as a constraints file.
-auditwheel==5.0.0
-cibuildwheel==2.1.2
-tox==3.24.4
-tox-gh-actions==2.8.1
-
-setuptools==58.1.0
-wheel==0.37.0
+# Something in the docs reqs pinned to this version, then readme-renderer pulled
+# in a newer version, so pin this globally.
+docutils==0.16
diff --git a/requirements/pip-tools.in b/requirements/pip-tools.in
new file mode 100644
index 00000000..4a675562
--- /dev/null
+++ b/requirements/pip-tools.in
@@ -0,0 +1,8 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt
+
+-c pins.pip
+
+# "make upgrade" turns this into requirements/pip-tools.pip.
+
+pip-tools
diff --git a/requirements/pip.in b/requirements/pip.in
new file mode 100644
index 00000000..15f11991
--- /dev/null
+++ b/requirements/pip.in
@@ -0,0 +1,9 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt
+
+-c pins.pip
+
+# "make upgrade" turns this into requirements/pip.pip.
+
+pip
+virtualenv
diff --git a/requirements/pytest.in b/requirements/pytest.in
new file mode 100644
index 00000000..5ff874f1
--- /dev/null
+++ b/requirements/pytest.in
@@ -0,0 +1,15 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt
+
+-c pins.pip
+
+# The pytest specifics used by coverage.py
+# "make upgrade" turns this into requirements/pytest.pip.
+
+flaky
+hypothesis
+pytest
+pytest-xdist
+# Use a fork of PyContracts that supports Python 3.9
+#PyContracts==1.8.12
+git+https://github.com/slorg1/contracts@collections_and_validator
diff --git a/requirements/wheel.in b/requirements/wheel.in
new file mode 100644
index 00000000..1d82a2bf
--- /dev/null
+++ b/requirements/wheel.in
@@ -0,0 +1,11 @@
+# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
+# For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt
+
+-c pins.pip
+
+# Things needed to make wheels for coverage.py
+# "make upgrade" turns this into requirements/wheel.pip.
+
+auditwheel
+setuptools
+wheel