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

Bump pandas from 2.1.4 to 2.2.0 #972

Merged
merged 8 commits into from
Feb 6, 2024
Merged

Bump pandas from 2.1.4 to 2.2.0 #972

merged 8 commits into from
Feb 6, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 1, 2024

Bumps pandas from 2.1.4 to 2.2.0.

Release notes

Sourced from pandas's releases.

Pandas 2.2.0

We are pleased to announce the release of pandas 2.2.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.2.0 supports Python 3.9 and higher.

The release will be available on the defaults and conda-forge channels:

conda install pandas

Or via PyPI:

python3 -m pip install --upgrade pandas

Please report any issues with the release on the pandas issue tracker.

Thanks to all the contributors who made this release possible.

Pandas 2.2.0rc0

We are pleased to announce a release candidate for pandas 2.2.0. If all goes well, we'll release pandas 2.2.0 in about two weeks.

See the whatsnew for a list of all the changes.

The release will be available on conda-forge and PyPI.

The release can be installed from PyPI

python -m pip install --upgrade --pre pandas==2.2.0rc0 Or from conda-forge

conda install -c conda-forge/label/pandas_rc pandas==2.2.0rc0 Please report any issues with the release candidate on the pandas issue tracker.

Commits
  • f538741 RLS: 2.2.0
  • 2fa26fd Backport PR #56967 on branch 2.2.x (CI: Adjust pyarrow depr warning to accoun...
  • fd3f571 RLS: 2.2.0
  • b070774 Backport PR #56952: DEPR: Make FutureWarning into DeprecationWarning … (#56964)
  • dfd0aed Backport PR #56896 on branch 2.2.x (DEPS: Add warning if pyarrow is not insta...
  • 859c030 Backport PR #56922 on branch 2.2.x (REGR: DatetimeTZDtype from_arrow inte...
  • cc37a13 Backport PR #56949 on branch 2.2.x (CI: avoid FutureWarnings in to_xarray tes...
  • a95029a Backport PR #56947 on branch 2.2.x (DOC: Set date for 2.2) (#56950)
  • 160d7a1 Backport PR #56587 on branch 2.2.x (ENH: support the Arrow PyCapsule Interfac...
  • 74fa740 Backport PR #56445: Adjust merge tests for new string option (#56938)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot requested a review from a team as a code owner February 1, 2024 09:06
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Feb 1, 2024
Copy link

codecov bot commented Feb 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (c4ab161) 85.51% compared to head (d16da4e) 85.71%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #972      +/-   ##
==========================================
+ Coverage   85.51%   85.71%   +0.20%     
==========================================
  Files          20       20              
  Lines        3466     3466              
  Branches      760      760              
==========================================
+ Hits         2964     2971       +7     
+ Misses        345      337       -8     
- Partials      157      158       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@dependabot dependabot bot force-pushed the dependabot/pip/pandas-2.2.0 branch from f9138a5 to 6d1356e Compare February 2, 2024 18:57
@cbkerr
Copy link
Member

cbkerr commented Feb 2, 2024

The failing builds are due to a new dependency of pandas

E   DeprecationWarning: 
E   Pyarrow will become a required dependency of pandas in the next major release of pandas (pandas 3.0),
E   (to allow more performant data types, such as the Arrow string type, and better interoperability with other libraries)
E   but was not found to be installed on your system.
E   If this would cause problems for you,

https://arrow.apache.org/docs/python/install.html

Bumps [pandas](https://github.com/pandas-dev/pandas) from 2.1.4 to 2.2.0.
- [Release notes](https://github.com/pandas-dev/pandas/releases)
- [Commits](pandas-dev/pandas@v2.1.4...v2.2.0)

---
updated-dependencies:
- dependency-name: pandas
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/pip/pandas-2.2.0 branch from 6d1356e to 28241ca Compare February 2, 2024 19:03
@bdice
Copy link
Member

bdice commented Feb 2, 2024

I would suggest adding this warning to the filterwarnings:

filterwarnings = [

Bumps [pandas](https://github.com/pandas-dev/pandas) from 2.1.4 to 2.2.0.
- [Release notes](https://github.com/pandas-dev/pandas/releases)
- [Commits](pandas-dev/pandas@v2.1.4...v2.2.0)

---
updated-dependencies:
- dependency-name: pandas
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/pip/pandas-2.2.0 branch from 28241ca to a9ae3e5 Compare February 5, 2024 13:03
@dependabot dependabot bot requested review from a team as code owners February 5, 2024 17:06
@dependabot dependabot bot requested review from vyasr and shihkual and removed request for a team February 5, 2024 17:06
@cbkerr
Copy link
Member

cbkerr commented Feb 5, 2024

@bdice do you think we should catch the warning in the functions that use pandas? Or will users of those functions want to know about the new 2nd-order dependency?

@joaander
Copy link
Member

joaander commented Feb 6, 2024

One would hope that pandas will add the requirement as a dependency so that package managers will automatically install pyarrow on upgrade. Users should not have to install pyarrow manually. I don't know what this warning is intended to achieve - additional dependencies are not a breaking change.

@cbkerr cbkerr merged commit 2e9a23b into main Feb 6, 2024
16 checks passed
@cbkerr cbkerr deleted the dependabot/pip/pandas-2.2.0 branch February 6, 2024 16:39
@bdice
Copy link
Member

bdice commented Feb 6, 2024

@cbkerr @joaander This issue has more context. pandas-dev/pandas#5446 The primary reservations some have expressed about making pyarrow a required dependency are its effects on the environment size (more than doubling the size of pandas' current dependency tree), Linux distros that don't have pyarrow packages already, etc. If pyarrow is made a required dependency of pandas, then it won't have to be installed manually. In the current release of pandas, pyarrow is optional.

No action is required here by signac, except to ignore the warning in signac tests (done in this PR).

@joaander
Copy link
Member

joaander commented Feb 6, 2024

@bdice, understood. The warning is attempting to create volumes of discourse on the topic with the added bonus of breaking all CI checks that depends on pandas.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants