I have followed every line of instruction on quickstart .my pyenv use is also 3.10.2 as stated in quickstart but I have encountered Session safety failed when I do execute nox for full test. the full test will only passed, if I skip the safety session in noxfile.py . please help
I do not make any changes in noxfile.py all files are the exact same as template started from cookie-cutter.
I have followed every line of instruction on quickstart .my pyenv use is also 3.10.2 as stated in quickstart but I have encountered Session safety failed when I do execute nox for full test. the full test will only passed, if I skip the safety session in noxfile.py . please help
I do not make any changes in noxfile.py all files are the exact same as template started from cookie-cutter.
noxfile.py
@session(python=python_versions[0]) def safety(session: Session) -> None: """Scan dependencies for insecure packages.""" requirements = session.poetry.export_requirements() session.install("safety") session.run("safety", "check", "--full-report", f"--file={requirements}")
step to reproduce: 1) $cookiecutter gh:cjolowicz/cookiecutter-hypermodern-python --checkout=2022.6.3 2) $nox nox > Command safety check --full-report --file=.nox/safety/tmp/requirements.txt failed with exit code 255 nox > Session safety failed.