Skip to content

Conversation

@potiuk
Copy link
Member

@potiuk potiuk commented Mar 13, 2023

The original #29924 fix containt both > and < condition on Python 3.9 thus the limit did not apply to Python 3.9


^ Add meaningful description above

Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

The original apache#29924 fix containt both > and < condition on
Python 3.9 thus the limit did not apply to Python 3.9
@potiuk potiuk added this to the Airflow 2.5.2 milestone Mar 13, 2023
@ephraimbuddy ephraimbuddy merged commit 6e2bdcf into apache:main Mar 13, 2023
ephraimbuddy pushed a commit that referenced this pull request Mar 13, 2023
The original #29924 fix containt both > and < condition on
Python 3.9 thus the limit did not apply to Python 3.9

(cherry picked from commit 6e2bdcf)
@ephraimbuddy ephraimbuddy added type:bug-fix Changelog: Bug Fixes type:misc/internal Changelog: Misc changes that should appear in change log and removed type:bug-fix Changelog: Bug Fixes labels Mar 13, 2023
potiuk added a commit to potiuk/airflow that referenced this pull request Mar 21, 2023
This reverts commit 6e2bdcf.

The change was done hastily when we released rc1 of 2.5.1 but it
turned out to be a red-herring and something that was not really
caused by Airflow's dependencies. The importlib_metadata should
still be only added as dependency for Python < 3.9 as Python
3.9 does not need it. Also installing importlib_metadata manually
(or by other dependencies) even in 6.1 version does not result
in automated triggering of the issue - if someone happens to
install importlib_metadata in Python 3.9 simply uninstalling it
should solve the problem.
potiuk added a commit that referenced this pull request Mar 21, 2023
This reverts commit 6e2bdcf.

The change was done hastily when we released rc1 of 2.5.1 but it
turned out to be a red-herring and something that was not really
caused by Airflow's dependencies. The importlib_metadata should
still be only added as dependency for Python < 3.9 as Python
3.9 does not need it. Also installing importlib_metadata manually
(or by other dependencies) even in 6.1 version does not result
in automated triggering of the issue - if someone happens to
install importlib_metadata in Python 3.9 simply uninstalling it
should solve the problem.
@potiuk potiuk deleted the fix-importlib-for-python-3.9 branch March 22, 2023 18:29
pierrejeambrun pushed a commit that referenced this pull request Mar 24, 2023
This reverts commit 6e2bdcf.

The change was done hastily when we released rc1 of 2.5.1 but it
turned out to be a red-herring and something that was not really
caused by Airflow's dependencies. The importlib_metadata should
still be only added as dependency for Python < 3.9 as Python
3.9 does not need it. Also installing importlib_metadata manually
(or by other dependencies) even in 6.1 version does not result
in automated triggering of the issue - if someone happens to
install importlib_metadata in Python 3.9 simply uninstalling it
should solve the problem.

(cherry picked from commit 3ec47ec)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:misc/internal Changelog: Misc changes that should appear in change log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants