chore(deps): bump pytest to 9.0.3 in CDK dev requirements - #76
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
Updates the CDK Python sample apps’ development-only test dependency to address Dependabot security alerts for pytest < 9.0.3.
Changes:
- Bump
pytestfrom6.2.5to9.0.3in the Step Functions CDK app dev requirements. - Bump
pytestfrom6.2.5to9.0.3in the MWAA CDK app dev requirements.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| cdk/emr-serverless-with-sfn/requirements-dev.txt | Updates dev-only pytest pin to 9.0.3 for the SFN CDK project. |
| cdk/emr-serverless-with-mwaa/requirements-dev.txt | Updates dev-only pytest pin to 9.0.3 for the MWAA CDK project. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
knkarthik01
added a commit
that referenced
this pull request
Apr 29, 2026
…mports Bumps airflow/requirements-dev.txt to the latest Airflow 2.x series: - apache-airflow ~=2.2.2 -> ~=2.11.0 - apache-airflow-providers-amazon ~=4.0 -> ~=9.22 - pytest ~=7.1.2 -> ~=9.0 Also fixes long-standing import errors in the custom EMR Serverless operator/hook: airflow.compat.functools was removed in Airflow 2.4, so those imports are replaced with stdlib functools.cached_property. The dead Python 3.7 fallback block in operators/emr.py is also removed (Airflow 2.9+ requires Python 3.8+, 2.11 requires 3.9+). Clears Dependabot alerts: #47 #48 #49 #52 #53 #55 #56 #57 #58 #59 #60 #61 #62 #63 #64 #65 #68 #75 #76 #77 #78 #79 #81 #86 (24 alerts total). Alerts #87 #88 #89 require Airflow 3.2.0 which is incompatible with custom operator APIs and out of scope here. Verified: - apache-airflow 2.11.0 + providers-amazon 9.26.0 + pytest 9.0.3 install cleanly under Python 3.11 - All custom hooks/operators/sensors import without error - test_dag_integrity passes - test_simple_submit has pre-existing issues using removed DAG.run() and schedule_interval APIs; those are integration tests against live EMR-S, out of scope for this PR
knkarthik01
added a commit
that referenced
this pull request
Apr 30, 2026
…mports (#77) Bumps airflow/requirements-dev.txt to the latest Airflow 2.x series: - apache-airflow ~=2.2.2 -> ~=2.11.0 - apache-airflow-providers-amazon ~=4.0 -> ~=9.22 - pytest ~=7.1.2 -> ~=9.0 Also fixes long-standing import errors in the custom EMR Serverless operator/hook: airflow.compat.functools was removed in Airflow 2.4, so those imports are replaced with stdlib functools.cached_property. The dead Python 3.7 fallback block in operators/emr.py is also removed (Airflow 2.9+ requires Python 3.8+, 2.11 requires 3.9+). Clears Dependabot alerts: #47 #48 #49 #52 #53 #55 #56 #57 #58 #59 #60 #61 #62 #63 #64 #65 #68 #75 #76 #77 #78 #79 #81 #86 (24 alerts total). Alerts #87 #88 #89 require Airflow 3.2.0 which is incompatible with custom operator APIs and out of scope here. Verified: - apache-airflow 2.11.0 + providers-amazon 9.26.0 + pytest 9.0.3 install cleanly under Python 3.11 - All custom hooks/operators/sensors import without error - test_dag_integrity passes - test_simple_submit has pre-existing issues using removed DAG.run() and schedule_interval APIs; those are integration tests against live EMR-S, out of scope for this PR
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Clears Dependabot alerts #84 and #85 (medium severity,
pytest < 9.0.3).cdk/emr-serverless-with-mwaa/requirements-dev.txt:pytest 6.2.5 -> 9.0.3cdk/emr-serverless-with-sfn/requirements-dev.txt:pytest 6.2.5 -> 9.0.3Dev-only dependency, no runtime impact on deployed MWAA/SFN stacks.
Part of a larger Dependabot cleanup; other alert groups will follow in separate PRs: