Skip to content
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

Revert "Also limit importlib on Python 3.9 (#30069)" #30209

Merged
merged 1 commit into from
Mar 21, 2023

Conversation

potiuk
Copy link
Member

@potiuk potiuk commented 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.


^ 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.

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 added this to the Airflow 2.5.3 milestone Mar 21, 2023
@potiuk
Copy link
Member Author

potiuk commented Mar 21, 2023

We had a "intermittent" git checkout issue - but other than that things look good. Merging.

@potiuk potiuk merged commit 3ec47ec into apache:main Mar 21, 2023
@potiuk potiuk deleted the revert-importlib-python-3.9 branch March 21, 2023 12:04
@pierrejeambrun pierrejeambrun added the type:misc/internal Changelog: Misc changes that should appear in change log label Mar 22, 2023
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