How to treat failed Python Safety checks #1248
Replies: 3 comments
-
Can we get an impression of the severity of any issues without assessing them ourselves? It would be nice to know how often we expect to find issues when we have our 'final' list of packages. Because I feel that will change whether failing builds would seem like an occasional inconvenience or a major block. Maybe a good middle ground would be to produce a more detailed report (with descriptions of the vulnerabilities) and ensure that they are read before committing a new image. I'm not sure how you could enforce that. You could imagine making this report a CI step and having a bot post the report to pull requests. But that wouldn't catch any new problems found after that point. |
Beta Was this translation helpful? Give feedback.
-
For newer Python version there is no reason why the safety checks should fail. When we drop Python 2.7 (see #459) we should also ensure that failed safety checks will cause the build to fail. |
Beta Was this translation helpful? Give feedback.
-
@jemrobinson Is this still relevant, do the conda environments still exist? |
Beta Was this translation helpful? Give feedback.
-
We currently run Python Safety on each of our conda environments but do not do anything with the output. Here is the output from a recent build, which shows some problematic package versions in each environment.
What should we do with these? The most obvious options are:
analyse_build
script but take no further actionpy27 conda environment
py36 conda environment
py37 conda environment
Beta Was this translation helpful? Give feedback.
All reactions