question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Airflow pinning old version of attrs: apache-airflow (>=2.3.2,<3.0.0) requires attrs (>=20.0,<21.0)

See original GitHub issue

Apache Airflow version

2.3.2 (latest released)

What happened

Hello Airflow is pinning old version of attrs and this is leading to version conflict on our side to use Airflow.

And because every version of aws-cdk-lib requires attrs (>=21.2,<22.0) or jsii (>=1.58.0,<2.0.0) (4), every version of aws-cdk-lib requires attrs (>=21.2,<22.0)
      Because no versions of apache-airflow match >2.3.2,<3.0.0
   and apache-airflow (2.3.2) depends on attrs (>=20.0,<21.0), apache-airflow (>=2.3.2,<3.0.0) requires attrs (>=20.0,<21.0).
      Thus, apache-airflow (>=2.3.2,<3.0.0) is incompatible with aws-cdk-lib.

What you think should happen instead

Please upgrade attrs to >=21

How to reproduce

No response

Operating System

macOS Monterey - 12.3.1

Versions of Apache Airflow Providers

No response

Deployment

Virtualenv installation

Deployment details

No response

Anything else

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:9 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
tomsejcommented, Aug 16, 2022

Think this can be closed. See https://github.com/apache/airflow/pull/25689

0reactions
potiukcommented, Jun 19, 2022

Any news @arminnajafi ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Installation — Airflow Documentation - Apache Airflow
This page describes installations using the apache-airflow package ... In order to install Airflow you need to either downgrade pip to version 20.2.4...
Read more >
apache-airflow-providers-apache-beam 4.1.0 - PyPI
Latest version. Released: Nov 18, 2022. Provider for Apache Airflow. Implements apache-airflow-providers-apache-beam package ...
Read more >
PIP dependency conflicts when upgrading to Airflow
After executing the above command, I wanted to check the Airflow version and I got this error. ModuleNotFoundError: No module named 'pendulum'.
Read more >
apache-airflow - Python Package Health Analysis - Snyk
Learn more about apache-airflow: package health score, popularity, security, maintenance, versions and more.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found