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

DEPS: Bump optional dependencies #55524

Merged
merged 25 commits into from
Oct 23, 2023
Merged

Conversation

mroeschke
Copy link
Member

These versions will have been around for ~1 year once 2.2 comes out

@mroeschke mroeschke added the Dependencies Required and optional dependencies label Oct 14, 2023
@mroeschke mroeschke marked this pull request as draft October 14, 2023 21:27
@mroeschke mroeschke added this to the 2.2 milestone Oct 16, 2023
@mroeschke mroeschke marked this pull request as ready for review October 16, 2023 04:07
# GH 54239, 54287
pa = pytest.importorskip("pyarrow", "11.0.0")
import pyarrow.compute as pc

if is_platform_windows() and is_ci_environment():
Copy link
Member

Choose a reason for hiding this comment

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

use _require_timezone_database?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah can do this in a follow up. It's current centralized in test_arrow.py

- openpyxl>=3.1.0
# Doesn't install well with pyarrow
# https://github.com/pandas-dev/pandas/issues/55525
# - pandas-gbq>=0.19.0
Copy link
Member

Choose a reason for hiding this comment

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

Does this not affect test coverage?

Copy link
Member Author

Choose a reason for hiding this comment

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

Not really. There's only one unit test that just attempts to import this package which doesn't seem useful

@WillAyd
Copy link
Member

WillAyd commented Oct 22, 2023

I think this looks good. Is the 1 year dependency minimum new? That was 2 in the past right?

@mroeschke
Copy link
Member Author

I think this looks good. Is the 1 year dependency minimum new? That was 2 in the past right?

I bumped our optional dependencies to a 1 year min last time #52552. Our required ones usually follow 2

@mroeschke mroeschke merged commit b57080b into pandas-dev:main Oct 23, 2023
@mroeschke mroeschke deleted the deps/optional/bump branch October 23, 2023 00:42
"pymysql": "1.0.2",
"pyarrow": "7.0.0",
"pyreadstat": "1.1.5",
"pyarrow": "10.0.1",
Copy link
Member

Choose a reason for hiding this comment

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

FWIW, the pyarrow PDEP said "When the minimum version of PyArrow is bumped, PyArrow will be bumped to the highest version that has been released for at least 2 years.". But pyarrow 10.0 was only released 1 year ago.

(and in general I also think 1 year is too short for pyarrow)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Dependencies Required and optional dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants