-
Notifications
You must be signed in to change notification settings - Fork 6.7k
chore(deps): update dependency pandas to v3 #13754
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
base: main
Are you sure you want to change the base?
chore(deps): update dependency pandas to v3 #13754
Conversation
Summary of ChangesHello @renovate-bot, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request performs a significant dependency upgrade, updating the Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
This pull request updates the pandas dependency to version 3.0.0. This is a major version update with breaking changes, most notably that pandas 3.0.0 requires Python 3.11 or higher. The current changes apply this new version to older Python versions (like 3.7, 3.8, 3.9, 3.10), which will cause installation failures. I have added comments and suggestions to each requirements.txt file to correctly constrain the pandas version based on the Python version, ensuring compatibility and fixing some pre-existing versioning issues.
| pandas==3.0.0; python_version == '3.8' | ||
| pandas==3.0.0; python_version > '3.8' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pandas 3.0.0 requires Python 3.11 or higher, but these lines attempt to install it for Python 3.8 and greater. This will cause installation failures on Python versions older than 3.11. The version constraints should be updated to use compatible pandas versions for each Python version.
pandas==2.0.3; python_version == '3.8'
pandas==2.2.3; python_version > '3.8' and python_version < '3.11'
pandas==3.0.0; python_version >= '3.11'
| pandas==3.0.0; python_version == '3.8' | ||
| pandas==3.0.0; python_version > '3.8' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pandas 3.0.0 requires Python 3.11 or higher, but these lines attempt to install it for Python 3.8 and greater. This will cause installation failures on Python versions older than 3.11. The version constraints should be updated to use compatible pandas versions for each Python version.
pandas==2.0.3; python_version == '3.8'
pandas==2.2.3; python_version > '3.8' and python_version < '3.11'
pandas==3.0.0; python_version >= '3.11'
| pandas===1.3.5; python_version == '3.7' | ||
| pandas===2.0.3; python_version == '3.8' | ||
| pandas==2.3.1; python_version >= '3.9' | ||
| pandas==3.0.0; python_version >= '3.9' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pandas 3.0.0 requires Python 3.11 or higher, but this line attempts to install it for Python 3.9 and greater. This will cause installation failures on Python 3.9 and 3.10. The version constraints should be updated to use compatible pandas versions for each Python version.
pandas==2.3.1; python_version >= '3.9' and python_version < '3.11'
pandas==3.0.0; python_version >= '3.11'
| pandas==3.0.0; python_version == '3.7' | ||
| pandas==3.0.0; python_version == '3.8' | ||
| pandas==3.0.0; python_version > '3.8' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pandas 3.0.0 requires Python 3.11 or higher, but these lines attempt to install it for Python 3.7 and greater. This will cause installation failures on Python versions older than 3.11. Additionally, the previous version pandas==2.2.3 was incompatible with Python 3.7 and 3.8. The version constraints should be updated to use compatible pandas versions for each Python version.
pandas==1.3.5; python_version == '3.7'
pandas==2.0.3; python_version == '3.8'
pandas==2.2.3; python_version >= '3.9' and python_version < '3.11'
pandas==3.0.0; python_version >= '3.11'
| pandas==3.0.0; python_version == '3.7' | ||
| pandas==3.0.0; python_version == '3.8' | ||
| pandas==3.0.0; python_version > '3.8' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pandas 3.0.0 requires Python 3.11 or higher, but these lines attempt to install it for Python 3.7 and greater. This will cause installation failures on Python versions older than 3.11. Additionally, the previous version pandas==2.2.3 was incompatible with Python 3.7 and 3.8. The version constraints should be updated to use compatible pandas versions for each Python version.
pandas==1.3.5; python_version == '3.7'
pandas==2.0.3; python_version == '3.8'
pandas==2.2.3; python_version >= '3.9' and python_version < '3.11'
pandas==3.0.0; python_version >= '3.11'
| pandas==3.0.0; python_version == '3.7' | ||
| pandas==3.0.0; python_version == '3.8' | ||
| pandas==3.0.0; python_version > '3.8' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pandas 3.0.0 requires Python 3.11 or higher, but these lines attempt to install it for Python 3.7 and greater. This will cause installation failures on Python versions older than 3.11. Additionally, the previous version pandas==2.2.3 was incompatible with Python 3.7 and 3.8. The version constraints should be updated to use compatible pandas versions for each Python version.
pandas==1.3.5; python_version == '3.7'
pandas==2.0.3; python_version == '3.8'
pandas==2.2.3; python_version >= '3.9' and python_version < '3.11'
pandas==3.0.0; python_version >= '3.11'
| pandas==3.0.0; python_version == '3.7' | ||
| pandas==3.0.0; python_version == '3.8' | ||
| pandas==3.0.0; python_version > '3.8' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pandas 3.0.0 requires Python 3.11 or higher, but these lines attempt to install it for Python 3.7 and greater. This will cause installation failures on Python versions older than 3.11. Additionally, the previous version pandas==2.2.3 was incompatible with Python 3.7 and 3.8. The version constraints should be updated to use compatible pandas versions for each Python version.
pandas==1.3.5; python_version == '3.7'
pandas==2.0.3; python_version == '3.8'
pandas==2.2.3; python_version >= '3.9' and python_version < '3.11'
pandas==3.0.0; python_version >= '3.11'
| pandas==3.0.0; python_version == '3.7' | ||
| pandas==3.0.0; python_version == '3.8' | ||
| pandas==3.0.0; python_version > '3.8' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pandas 3.0.0 requires Python 3.11 or higher, but these lines attempt to install it for Python 3.7 and greater. This will cause installation failures on Python versions older than 3.11. Additionally, the previous version pandas==2.2.3 was incompatible with Python 3.7 and 3.8. The version constraints should be updated to use compatible pandas versions for each Python version.
pandas==1.3.5; python_version == '3.7'
pandas==2.0.3; python_version == '3.8'
pandas==2.2.3; python_version >= '3.9' and python_version < '3.11'
pandas==3.0.0; python_version >= '3.11'
| folium==0.19.5 | ||
| google-cloud-aiplatform==1.47.0 | ||
| pandas==2.2.3 | ||
| pandas==3.0.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pandas 3.0.0 requires Python 3.11 or higher. This project supports Python versions older than 3.11 (based on the tensorflow==2.12.0 dependency), so pinning pandas to 3.0.0 without Python version constraints will cause installation failures. The dependency should be specified with Python version markers to ensure compatibility. The previous version pandas==2.2.3 was also incompatible with Python 3.8.
pandas==2.0.3; python_version == '3.8'
pandas==2.2.3; python_version >= '3.9' and python_version < '3.11'
pandas==3.0.0; python_version >= '3.11'
| google-cloud-aiplatform==1.47.0 | ||
| gunicorn==23.0.0 | ||
| pandas==2.2.3 | ||
| pandas==3.0.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pandas 3.0.0 requires Python 3.11 or higher. This project supports Python versions older than 3.11 (based on the tensorflow==2.12.1 dependency), so pinning pandas to 3.0.0 without Python version constraints will cause installation failures. The dependency should be specified with Python version markers to ensure compatibility. The previous version pandas==2.2.3 was also incompatible with Python 3.8.
pandas==2.0.3; python_version == '3.8'
pandas==2.2.3; python_version >= '3.9' and python_version < '3.11'
pandas==3.0.0; python_version >= '3.11'
This PR contains the following updates:
==2.2.3→==3.0.0==2.3.1→==3.0.0==2.0.3→==3.0.0Release Notes
pandas-dev/pandas (pandas)
v3.0.0: pandas 3.0.0Compare Source
We are pleased to announce the release of pandas 3.0.0, a major release from the pandas 2.x series. This release includes some new features, bug fixes, and performance improvements, as well as possible breaking changes.
The pandas 3.0 release removed a functionality that was deprecated in previous releases. It is recommended to first upgrade to pandas 2.3 and to ensure your code is working without warnings, before upgrading to pandas 3.0.
Highlights include:
pd.colsyntaxSee the full whatsnew for a list of all the changes.
Pandas 3.0.0 supports Python 3.11 and higher.
The release can be installed from PyPI
Or from conda-forge
Please report any issues with the release on the pandas issue tracker.
Thanks to all the contributors who made this release possible.
v2.3.3: Pandas 2.3.3Compare Source
We are pleased to announce the release of pandas 2.3.3.
This release includes some improvements and fixes to the future string data type (preview feature for the upcoming pandas 3.0). We recommend that all users upgrade to this version.
See the full whatsnew for a list of all the changes.
Pandas 2.3.3 supports Python 3.9 and higher, and is the first release to support Python 3.14.
The release will be available on the conda-forge channel:
Or via PyPI:
Please report any issues with the release on the pandas issue tracker.
Thanks to all the contributors who made this release possible.
v2.3.2: Pandas 2.3.2Compare Source
We are pleased to announce the release of pandas 2.3.2.
This release includes some improvements and fixes to the future string data type (preview feature for the upcoming pandas 3.0). We recommend that all users upgrade to this version.
See the full whatsnew for a list of all the changes.
Pandas 2.3.2 supports Python 3.9 and higher.
The release will be available on the conda-forge channel:
Or via PyPI:
Please report any issues with the release on the pandas issue tracker.
Thanks to all the contributors who made this release possible.
v2.3.1: Pandas 2.3.1Compare Source
We are pleased to announce the release of pandas 2.3.1.
This release includes some improvements and fixes to the future string data type (preview feature for the upcoming pandas 3.0). We recommend that all users upgrade to this version.
See the full whatsnew for a list of all the changes.
Pandas 2.3.1 supports Python 3.9 and higher.
The release will be available on the conda-forge channel:
Or via PyPI:
Please report any issues with the release on the pandas issue tracker.
Thanks to all the contributors who made this release possible.
v2.3.0: Pandas 2.3.0Compare Source
We are pleased to announce the release of pandas 2.3.0.
This release includes some new features, bug fixes, and performance improvements. We recommend that all users upgrade to this version.
See the full whatsnew for a list of all the changes.
Pandas 2.3.0 supports Python 3.10 and higher.
The release will be available on the defaults and conda-forge channels:
Or via PyPI:
Please report any issues with the release on the pandas issue tracker.
Thanks to all the contributors who made this release possible.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Never, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.