-
Notifications
You must be signed in to change notification settings - Fork 0
[Snyk] Fix for 2 vulnerabilities #31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -5,3 +5,5 @@ apache-airflow-backport-providers-google==2021.3.3 | |||||
| apache-airflow-backport-providers-cncf-kubernetes==2021.3.3 | ||||||
| kubernetes==11.0.0 | ||||||
| scipy==1.4.1; python_version > '3.0' | ||||||
| idna>=3.7 # not directly required, pinned by Snyk to avoid a vulnerability | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. P1: New dependency minimums conflict with the sample’s pinned constraints, which can break dependency resolution for Airflow 1 installs. Prompt for AI agentsThere was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. P1: Pinning Prompt for AI agents
Suggested change
|
||||||
| marshmallow>=3.26.2 # not directly required, pinned by Snyk to avoid a vulnerability | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. P0: marshmallow>=3.26.2 conflicts with Flask-AppBuilder 2.3.4 (bundled with apache-airflow[gcp]==1.10.15), which requires marshmallow<3.0.0,>=2.18.0. This will cause pip dependency resolution to fail, and even if forced, Airflow 1.10.15's web UI (built on Flask-AppBuilder) will break due to marshmallow 3.x's breaking API changes (removed strict mode, changed load/dump return types, etc.). The Snyk-required marshmallow fix is incompatible with this Airflow version. Prompt for AI agents |
||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pinning
idna>=3.7introduces a dependency conflict withrequests 2.23.0(used by Apache Airflow 1.10.15), which requiresidna<3,>=2.5. This will prevent successful installation of the requirements.