Skip to content

Drop python3.10 support and relax pandas dependencies - #111

Merged
ClementPinard merged 6 commits into
mainfrom
fix/relax_pandas_version
Sep 18, 2026
Merged

ClementPinard merged 6 commits into
mainfrom
fix/relax_pandas_version

Conversation

@ClementPinard

@ClementPinard ClementPinard commented Sep 16, 2026 •

Copy link
Copy Markdown
Collaborator

Pull Request

Describe your changes

Python 3.10 is approaching end of life : https://devguide.python.org/versions/

Also, now that pandas 3 is out, we might as well make sure we are compatible with instead of pinning version

EDIT: Got some errors when upgrading packages. SO the PR is now heavier than before.

  • Upgraded pre-commit, and change it wanted me to change
  • Setup CI for uv instead of poetry, where the locking is much faster and more lenient

Issue number if applicable

Checklist before requesting a review

Github actions will check that these tasks were performed but it will reduce friction if you deal with them beforhand

  • If code is added, the new lines are covered by tests (Checked by Codecov)
  • Type hints are consistent (Checked by pyright Job)
  • Code style follows black conventions (Checked by pre-commit)
  • If documentation is added, it does not raise a warning in sphinx (checked by sphinx-build)
  • CHANGELOG has been updated if applicable

@ClementPinard
ClementPinard force-pushed the fix/relax_pandas_version branch from 7adec21 to d429359 Compare September 16, 2026 16:04
@ClementPinard
ClementPinard force-pushed the fix/relax_pandas_version branch 2 times, most recently from bbae7ce to 75665aa Compare September 16, 2026 16:19
@ClementPinard
ClementPinard force-pushed the fix/relax_pandas_version branch from 75665aa to a7ab3db Compare September 16, 2026 18:36
@ClementPinard
ClementPinard force-pushed the fix/relax_pandas_version branch from a7ab3db to 349088b Compare September 16, 2026 18:40
@codecov

codecov Bot commented Sep 16, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

Files with missing lines Coverage Δ
lours/cli/caipy_to_fiftyone.py 19.00% <100.00%> (ø)
lours/dataset/__init__.py 100.00% <ø> (ø)
lours/dataset/dataset.py 89.26% <100.00%> (+0.37%) ⬆️
lours/dataset/io/caipy.py 94.17% <100.00%> (ø)
lours/dataset/io/coco.py 91.86% <100.00%> (ø)
lours/dataset/io/darknet.py 85.05% <100.00%> (-0.06%) ⬇️
lours/dataset/io/schema_util/__init__.py 100.00% <ø> (ø)
...rs/dataset/io/schema_util/schema_util_functions.py 93.33% <100.00%> (+0.77%) ⬆️
lours/dataset/remap_presets/__init__.py 92.00% <100.00%> (ø)
lours/dataset/split/balanced_groups.py 95.65% <ø> (-0.07%) ⬇️
... and 11 more
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ClementPinard ClementPinard self-assigned this Sep 16, 2026

@NacerKaciXXII NacerKaciXXII left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

@ClementPinard Thanks for the PR! I left a minor comment but otherwise everything lgtm so I'm approving. You can adress the comment then merge !

Comment thread pyproject.toml Outdated
"fiftyone>=1.0.0",
"boto3==1.26.83",
]
plot-utils = []

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

why did we remove matplotlib from this extra? Is it included somewhere else? If so we can just remove this extra altogether, else restore matplotlib here.

@ClementPinard ClementPinard Sep 18, 2026 •

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Ah you're right, it's weird it disappeared. I put it back in

It's an indirect dev dependency but not a package dependency, so it makes sense to keep

@NacerKaciXXII NacerKaciXXII mentioned this pull request Sep 17, 2026
5 tasks done
@ClementPinard
ClementPinard merged commit d24f3b6 into main Sep 18, 2026
17 checks passed
@ClementPinard
ClementPinard deleted the fix/relax_pandas_version branch September 18, 2026 08:26
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.

2 participants