ci(dependency_scanning): python 3.7 not available for dependecy scanning.
Disable the updates for ansible modules that are only available for python 3.7/3.8 and above. MR !15
This commit is contained in:
@ -31,7 +31,8 @@ gemnasium-python-dependency_scanning:
|
|||||||
image:
|
image:
|
||||||
name: "$DS_ANALYZER_IMAGE"
|
name: "$DS_ANALYZER_IMAGE"
|
||||||
variables:
|
variables:
|
||||||
DS_PYTHON_VERSION: "3.7"
|
# Python 3.7 not available
|
||||||
|
# DS_PYTHON_VERSION: "3.7"
|
||||||
# DS_ANALYZER_IMAGE is an undocumented variable used internally to allow QA to
|
# DS_ANALYZER_IMAGE is an undocumented variable used internally to allow QA to
|
||||||
# override the analyzer image with a custom value. This may be subject to change or
|
# override the analyzer image with a custom value. This may be subject to change or
|
||||||
# breakage across GitLab releases.
|
# breakage across GitLab releases.
|
||||||
@ -39,7 +40,7 @@ gemnasium-python-dependency_scanning:
|
|||||||
# Stop reporting Pipenv and Setuptools as "pip".
|
# Stop reporting Pipenv and Setuptools as "pip".
|
||||||
# See https://gitlab.com/gitlab-org/gitlab/-/issues/338252
|
# See https://gitlab.com/gitlab-org/gitlab/-/issues/338252
|
||||||
DS_REPORT_PACKAGE_MANAGER_PIP_WHEN_PYTHON: "false"
|
DS_REPORT_PACKAGE_MANAGER_PIP_WHEN_PYTHON: "false"
|
||||||
# Can't find pillow 9.0, check python version
|
# Can't find pillow 9.0, check python version. 3.6 only available, 3.7 not.
|
||||||
before_script:
|
before_script:
|
||||||
- python --version
|
- python --version
|
||||||
rules:
|
rules:
|
||||||
|
|||||||
@ -1,5 +1,10 @@
|
|||||||
Pillow==9.0.0
|
# Dependency scanning only has Python 3.6 available.
|
||||||
numpy==1.22.0
|
|
||||||
|
# Python 3.7
|
||||||
|
# Pillow==9.0.0
|
||||||
|
# numpy==1.22.0
|
||||||
|
|
||||||
|
# Python 3.6
|
||||||
pipenv==2022.1.8
|
pipenv==2022.1.8
|
||||||
wheel
|
wheel
|
||||||
ansible
|
ansible
|
||||||
|
|||||||
Reference in New Issue
Block a user