Names and version of Python packages can be specified also in a constraints.txt file and pyscan doesn't detect it by name.
Please search also for constraints.txt in addition to requirements.txt.
Workaround: ln -s constraints.txt requirements.txt; pyscan (both files use the same syntax)
Context: A monorepo containing several Python packages which need to be installable into the same virtual environment needs a central place for pinning the 3rd-party package versions (in addition to per-package setup.cfg/pyproject.toml). There is a standard mechanism for that: https://pip.pypa.io/en/stable/user_guide/#constraints-files
Names and version of Python packages can be specified also in a
constraints.txt
file and pyscan doesn't detect it by name. Please search also forconstraints.txt
in addition torequirements.txt
.Workaround:
ln -s constraints.txt requirements.txt; pyscan
(both files use the same syntax)Context: A monorepo containing several Python packages which need to be installable into the same virtual environment needs a central place for pinning the 3rd-party package versions (in addition to per-package setup.cfg/pyproject.toml). There is a standard mechanism for that: https://pip.pypa.io/en/stable/user_guide/#constraints-files