Skip to content

Commit 664beea

Browse files
authored
Merge pull request #10197 from pradyunsg/breakout-tools-requirements-folder
Get rid of tools/requirements/ directory, by moving those files into better locations
2 parents a53f888 + 236c0cc commit 664beea

File tree

8 files changed

+6
-6
lines changed

8 files changed

+6
-6
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ jobs:
3030
tests:
3131
# Anything that's touching testable stuff
3232
- ".github/workflows/ci.yml"
33-
- "tools/requirements/tests.txt"
3433
- "src/**"
3534
- "tests/**"
3635
if: github.event_name == 'pull_request'

.readthedocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ sphinx:
77
python:
88
version: 3.8
99
install:
10-
- requirements: tools/requirements/docs.txt
10+
- requirements: docs/requirements.txt

MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ recursive-include src/pip/_vendor *LICENSE*
1010
recursive-include src/pip/_vendor *COPYING*
1111

1212
include docs/docutils.conf
13+
include docs/requirements.txt
1314

1415
exclude .coveragerc
1516
exclude .mailmap
File renamed without changes.

noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"protected-pip": "tools/tox_pip.py",
2525
}
2626
REQUIREMENTS = {
27-
"docs": "tools/requirements/docs.txt",
27+
"docs": "docs/requirements.txt",
2828
"tests": "tools/requirements/tests.txt",
2929
"common-wheels": "tools/requirements/tests-common_wheels.txt",
3030
}
File renamed without changes.

tox.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ setenv =
2323
# This is required in order to get UTF-8 output inside of the subprocesses
2424
# that our tests use.
2525
LC_CTYPE = en_US.UTF-8
26-
deps = -r{toxinidir}/tools/requirements/tests.txt
26+
deps = -r{toxinidir}/tests/requirements.txt
2727
commands_pre =
2828
python -c 'import shutil, sys; shutil.rmtree(sys.argv[1], ignore_errors=True)' {toxinidir}/tests/data/common_wheels
29-
{[helpers]pip} wheel -w {toxinidir}/tests/data/common_wheels -r {toxinidir}/tools/requirements/tests-common_wheels.txt
29+
{[helpers]pip} wheel -w {toxinidir}/tests/data/common_wheels -r {toxinidir}/tests/requirements-common_wheels.txt
3030
commands = pytest []
3131
install_command = {[helpers]pip} install {opts} {packages}
3232
list_dependencies_command = {[helpers]pip} freeze --all
@@ -48,7 +48,7 @@ setenv =
4848

4949
[testenv:docs]
5050
# Don't skip install here since pip_sphinxext uses pip's internals.
51-
deps = -r{toxinidir}/tools/requirements/docs.txt
51+
deps = -r{toxinidir}/docs/requirements.txt
5252
basepython = python3
5353
commands =
5454
sphinx-build -W -j auto -d {envtmpdir}/doctrees/html -b html docs/html docs/build/html

0 commit comments

Comments
 (0)