summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2023-03-14 06:52:32 -0400
committerNed Batchelder <ned@nedbatchelder.com>2023-03-14 06:58:41 -0400
commit9e94ddb8d30b0f052532edf942bbde803eb2c347 (patch)
tree234308b7677f0b0624a99e514e6b6ddb00ebc075 /doc
parent9620278cbe246d3a9e9f978dea9c63da51bca884 (diff)
downloadpython-coveragepy-git-9e94ddb8d30b0f052532edf942bbde803eb2c347.tar.gz
build: use .in from .in
We build the .pip files on Mac. Some transitive dependencies are different on other OS's, and so would fail there, like this: ``` ERROR: In --require-hashes mode, all requirements must have their versions pinned with ==. These do not: SecretStorage>=3.2 from https://files.pythonhosted.org/packages/54/24/b4293291fa1dd830f353d2cb163295742fa87f179fcc8a20a306a81978b7/SecretStorage-3.3.3-py3-none-any.whl#sha256=f356e6628222568e3af06f2eba8df495efa13b3b63081dafd4f7d9a7b7bc9f99 (from keyring==23.13.1->-r requirements/dev.pip (line 279)) ``` By keeping the .in files self-contained, we provide a way to install without hashes.
Diffstat (limited to 'doc')
-rw-r--r--doc/contributing.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/contributing.rst b/doc/contributing.rst
index 165ae40b..e9d2c3a4 100644
--- a/doc/contributing.rst
+++ b/doc/contributing.rst
@@ -50,6 +50,11 @@ these steps:
$ python3 -m pip install -r requirements/dev.pip
+ If this fails due to incorrect or missing hashes, use
+ ``dev.in`` instead::
+
+ $ python3 -m pip install -r requirements/dev.in
+
#. Install a number of versions of Python. Coverage.py supports a range
of Python versions. The more you can test with, the more easily your code
can be used as-is. If you only have one version, that's OK too, but may