Skip to content

Commit ec9a115

Browse files
[HOTFIX] Fix for CI/CD license checks (- WIP #401 -)
* no user-facing impact Changes in file docs/requirements.txt: * added notes about various licenses Changes in file tests/check_pip: * added workaround to fix GHI #401 for testing dependency Changes in file tests/requirements.txt: * added notes about various licenses
1 parent 161dc6f commit ec9a115

File tree

3 files changed

+13
-9
lines changed

3 files changed

+13
-9
lines changed

docs/requirements.txt

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,12 @@
1515
# limitations under the License.
1616
#python
1717
# time - builtin - PSF license
18-
# re - builtin - PSF license?
19-
# subprocess - PSF license
20-
# argparse - builtin - PSF license
18+
# typing_extensions - builtin - PSF license
19+
# re - builtin - PSF license
20+
# subprocess - builtin - PSF license
21+
# sphinx - BSD license
22+
# urllib - MIT license
23+
# roman-numerals-py - Public Domain
2124
# socket - builtin - PSF license
2225
# struct - builtin - PSF license
2326
# argparse - builtin - PSF license

tests/check_pip

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,11 +262,12 @@ else
262262
PIP_ENV_FLAGS=""
263263
LICENSE_OPTIONS="${LICENSE_OPTIONS} --ignore-packages chardet"
264264
fi ;
265-
# urllib is licensed under MIT, but reports "UNKNOWN"
265+
# urllib3 is licensed under MIT, but reports "UNKNOWN"
266266
# roman-numerals-py is Public Domain but reports multiple
267267
# Sphinx is licensed under BSD, but reports "UNKNOWN"
268268
# typing_extensions is licensed under Python Software Foundation License, but reports "UNKNOWN"
269-
LICENSE_OPTIONS="${LICENSE_OPTIONS} urllib3 pip setuptools wheel build hypothesis certifi roman-numerals-py Sphinx typing_extensions"
269+
# pytest-enabler is licensed under MIT, but reports "UNKNOWN"
270+
LICENSE_OPTIONS="${LICENSE_OPTIONS} urllib3 pip setuptools wheel build hypothesis certifi roman-numerals-py Sphinx typing_extensions pytest-enabler"
270271
# Enable auto-fix if '--fix' argument is provided
271272
if [[ "$1" == "--fix" ]]; then
272273
AUDIT_OPTIONS="--fix --strict ${AUDIT_OPTIONS}"

tests/requirements.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,16 @@
1515
# limitations under the License.
1616
#python
1717
# time - builtin - PSF license
18+
# typing_extensions - builtin - PSF license
1819
# re - builtin - PSF license?
19-
# subprocess - PSF license
20+
# subprocess - builtin - PSF license
2021
# sphinx - BSD license
21-
# sphinx
22-
# argparse - builtin - PSF license
22+
# typing_extensions - builtin - PSF license
2323
# socket - builtin - PSF license
2424
# struct - builtin - PSF license
2525
# argparse - builtin - PSF license
2626
# argparse>=1.4.0
27-
# argparse - builtin - PSF license 3.7 = 62.6.0
27+
# argparse - builtin - PSF license
2828
# setuptools - MIT license
2929
setuptools>=75.0
3030
# virtualenv - MIT license

0 commit comments

Comments
 (0)