Skip to content

Conversation

@potiuk
Copy link
Member

@potiuk potiuk commented Jun 23, 2025

We are limiting pandas to < 2.2, however Pandas is now at 2.4 and if we limit it to <2.2 it's not possible to have providers that support python 3.13

We should open up to higher pandas versions, there is no reason to believe that newer pandas versions might be breaking heavily - we are using very small subset of pandas APIs that should be stable. We also should add provisional lower bounds for
Python 3.13, because older versions of Pandas do not compile for Python 3.13 and sometiems uv or other installers might attempt to build those older versions if they are not limited.


^ 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 airflow-core/newsfragments.

We are limiting pandas to < 2.2, however Pandas is now at 2.4 and
if we limit it to <2.2 it's not possible to have providers that
support python 3.13

We should open up to higher pandas versions, there is no reason to
believe that newer pandas versions might be breaking heavily - we
are using very small subset of pandas APIs that should be stable.
We also should add provisional lower bounds for
Python 3.13, because older versions of Pandas do not compile for
Python 3.13 and sometiems uv or other installers might attempt
to build those older versions if they are not limited.
@potiuk potiuk force-pushed the update-pandas-requirements branch from 086be3b to 05e9cf4 Compare June 23, 2025 06:02
Copy link
Contributor

@amoghrajesh amoghrajesh left a comment

Choose a reason for hiding this comment

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

LGTM +1

@potiuk potiuk merged commit 6b5f26a into apache:main Jun 23, 2025
70 checks passed
@potiuk potiuk deleted the update-pandas-requirements branch June 23, 2025 06:31
potiuk added a commit to potiuk/airflow that referenced this pull request Jun 23, 2025
After apache#52060 some tests started to fail - this PR fixes it:

* test_pandas.py is removed, it makes no sense as we seem to be
  testing if pandas has specific API (which we neither use nor
  guarantee)

* numpy serializers are now compatible with numpy 2
potiuk added a commit that referenced this pull request Jun 23, 2025
After #52060 some tests started to fail - this PR fixes it:

* test_pandas.py is removed, it makes no sense as we seem to be
  testing if pandas has specific API (which we neither use nor
  guarantee)

* numpy serializers are now compatible with numpy 2
Sign up for free to 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.

2 participants