Merge "Handle doc/requirements.txt"
This commit is contained in:
commit
1cebc6d06d
@ -17,4 +17,5 @@
|
|||||||
- ^tools/.*-requires$
|
- ^tools/.*-requires$
|
||||||
- ^.*requirements.txt$
|
- ^.*requirements.txt$
|
||||||
- ^.*requirements-py[2,3].txt$
|
- ^.*requirements-py[2,3].txt$
|
||||||
|
- ^doc/requirements.txt$
|
||||||
- playbooks/requirements-check.yaml
|
- playbooks/requirements-check.yaml
|
||||||
|
@ -57,7 +57,8 @@ Solution
|
|||||||
The mechanics of the solution are relatively simple. We maintain a
|
The mechanics of the solution are relatively simple. We maintain a
|
||||||
central list of all the requirements (``global-requirements.txt``)
|
central list of all the requirements (``global-requirements.txt``)
|
||||||
that are allowed in OpenStack projects. This is enforced for
|
that are allowed in OpenStack projects. This is enforced for
|
||||||
``requirements.txt``, ``test-requirements.txt`` and extras defined in
|
``requirements.txt``, ``test-requirements.txt``,
|
||||||
|
``doc/requirements.txt``, and extras defined in
|
||||||
``setup.cfg``. This is maintained by hand, with changes going through CI.
|
``setup.cfg``. This is maintained by hand, with changes going through CI.
|
||||||
|
|
||||||
We also maintain a compiled list of the exact versions, including transitive
|
We also maintain a compiled list of the exact versions, including transitive
|
||||||
|
@ -132,6 +132,7 @@ def read(root):
|
|||||||
target_files = [
|
target_files = [
|
||||||
'requirements.txt', 'tools/pip-requires',
|
'requirements.txt', 'tools/pip-requires',
|
||||||
'test-requirements.txt', 'tools/test-requires',
|
'test-requirements.txt', 'tools/test-requires',
|
||||||
|
'doc/requirements.txt'
|
||||||
]
|
]
|
||||||
for py_version in (2, 3):
|
for py_version in (2, 3):
|
||||||
target_files.append('requirements-py%s.txt' % py_version)
|
target_files.append('requirements-py%s.txt' % py_version)
|
||||||
|
@ -57,7 +57,8 @@ for PROJECT in $(cat projects.txt); do
|
|||||||
test-requirements-py3.txt \
|
test-requirements-py3.txt \
|
||||||
test-requirements.txt \
|
test-requirements.txt \
|
||||||
tools/pip-requires \
|
tools/pip-requires \
|
||||||
tools/test-requires
|
tools/test-requires \
|
||||||
|
doc/requirements.txt
|
||||||
do
|
do
|
||||||
if [ -f $FILE ]; then
|
if [ -f $FILE ]; then
|
||||||
# Add diagnostic comments to aid debugging.
|
# Add diagnostic comments to aid debugging.
|
||||||
|
Loading…
Reference in New Issue
Block a user