Skip to content

Use pre-release version of pendulum in CI and breeze - #34746

Closed
Taragolis wants to merge 4 commits into
apache:mainfrom
Taragolis:pendulum-prerelease
Closed

Use pre-release version of pendulum in CI and breeze#34746
Taragolis wants to merge 4 commits into
apache:mainfrom
Taragolis:pendulum-prerelease

Conversation

@Taragolis

Copy link
Copy Markdown
Contributor

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

potiuk added a commit to potiuk/airflow that referenced this pull request Oct 23, 2023
Python 3.12 has a few breaking changes comparing to earlier versions.
While 3.7 - 3.11 were largely backwards compatible, Python 3.12 is the
first one for a long time that started to break things more
aggressively.
For now we know that Airflow will not work with Python 3.12 mainly
because of distutils removal (https://peps.python.org/pep-0632/) and
not because of Airflow's usage of it but pendulum's before version 3.
While we are working on getting Pendulum 3 support in apache#34744 and
the apache#34746, there are likely other dependencies that have similar
issue.
Until we fix it and add official 3.12 support, we can limit airflow
to not be installable on 3.12.
potiuk added a commit that referenced this pull request Oct 25, 2023
Python 3.12 has a few breaking changes comparing to earlier versions.
While 3.7 - 3.11 were largely backwards compatible, Python 3.12 is the
first one for a long time that started to break things more
aggressively.
For now we know that Airflow will not work with Python 3.12 mainly
because of distutils removal (https://peps.python.org/pep-0632/) and
not because of Airflow's usage of it but pendulum's before version 3.
While we are working on getting Pendulum 3 support in #34744 and
the #34746, there are likely other dependencies that have similar
issue.
Until we fix it and add official 3.12 support, we can limit airflow
to not be installable on 3.12.
potiuk added a commit that referenced this pull request Oct 29, 2023
Python 3.12 has a few breaking changes comparing to earlier versions.
While 3.7 - 3.11 were largely backwards compatible, Python 3.12 is the
first one for a long time that started to break things more
aggressively.
For now we know that Airflow will not work with Python 3.12 mainly
because of distutils removal (https://peps.python.org/pep-0632/) and
not because of Airflow's usage of it but pendulum's before version 3.
While we are working on getting Pendulum 3 support in #34744 and
the #34746, there are likely other dependencies that have similar
issue.
Until we fix it and add official 3.12 support, we can limit airflow
to not be installable on 3.12.
(cherry picked from commit 020691f)
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@Taragolis