Skip to content

Upgrade dependency versions in uv.lock, test with Pandas 3 in CI#5573

Merged
emilykl merged 6 commits intomainfrom
ekl-migrate-ci-uv-lock-upgrade
Apr 14, 2026
Merged

Upgrade dependency versions in uv.lock, test with Pandas 3 in CI#5573
emilykl merged 6 commits intomainfrom
ekl-migrate-ci-uv-lock-upgrade

Conversation

@emilykl
Copy link
Copy Markdown
Contributor

@emilykl emilykl commented Apr 14, 2026

Link to issue

Closes #5475

Description of change

  • Upgrade package versions in uv.lock file to the latest resolvable versions (result of running uv lock --upgrade).

  • Add dev_pandas1, dev_pandas2, and dev_pandas3 extras for testing different pandas versions in CI.

  • Update tests to work with Pandas 3:

    • Update test_utils.py TestJSONEncoder tests to be compatible with the new default ms precision in Pandas 3 (while still keeping the tests compatible with Pandas 2 as well)
    • Skip four px.sunburst() tests in test_px_functions.py due to this bug (The tests should be unskipped once the issue is fixed in the downstream libraries or once we add a workaround in plotly.py)

Demo & Testing strategy

See results in CI

Guidelines

@emilykl emilykl requested a review from camdecoster April 14, 2026 14:42
@emilykl emilykl changed the title Upgrade package versions in uv.lock, test with Pandas 3 in CI Upgrade dependency versions in uv.lock, test with Pandas 3 in CI Apr 14, 2026
@emilykl emilykl force-pushed the ekl-migrate-ci-uv-lock-upgrade branch from 439c730 to c8b37ec Compare April 14, 2026 15:29

test-kaleido-v0:
name: Optional tests (Kaleido only), Kaleido v0 (Python 3.12, Kaleido v0.2.1)
name: Optional tests (Kaleido only), Kaleido v0 (Python 3.12, kaleido 0.2.1)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Why the change here?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

No good reason. I changed pandas to lowercase in the other job names so just changed this one for consistency

@emilykl emilykl merged commit 5373748 into main Apr 14, 2026
25 checks passed
@emilykl emilykl deleted the ekl-migrate-ci-uv-lock-upgrade branch April 14, 2026 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Verify Plotly.py compatibility with Pandas 3.0

2 participants