Skip to content

chore(deps): bump pytest to 9.0.3 in CDK dev requirements - #76

Merged
knkarthik01 merged 1 commit into
mainfrom
fix/dependabot-cdk-requirements
Apr 29, 2026
Merged

chore(deps): bump pytest to 9.0.3 in CDK dev requirements#76
knkarthik01 merged 1 commit into
mainfrom
fix/dependabot-cdk-requirements

Conversation

@knkarthik01

Copy link
Copy Markdown
Contributor

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.3
  • cdk/emr-serverless-with-sfn/requirements-dev.txt: pytest 6.2.5 -> 9.0.3

Dev-only dependency, no runtime impact on deployed MWAA/SFN stacks.

Part of a larger Dependabot cleanup; other alert groups will follow in separate PRs:

Clears Dependabot alerts #84 and #85 (medium severity, CVE affecting
pytest < 9.0.3). Dev-only dependency, no runtime impact.
Copilot AI review requested due to automatic review settings April 29, 2026 02:55

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 pytest from 6.2.5 to 9.0.3 in the Step Functions CDK app dev requirements.
  • Bump pytest from 6.2.5 to 9.0.3 in 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
knkarthik01 merged commit 3ff3dad into main Apr 29, 2026
6 checks passed
@knkarthik01
knkarthik01 deleted the fix/dependabot-cdk-requirements branch April 29, 2026 05:01
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants