8000 [MNT] python 3.13 support in `pyproject.toml` and CI by fkiraly · Pull Request #7198 · sktime/sktime · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[MNT] python 3.13 support in pyproject.toml and CI #7198

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

Merged
merged 24 commits into from
Oct 19, 2024
Merged

[MNT] python 3.13 support in pyproject.toml and CI #7198

merged 24 commits into from
Oct 19, 2024

Conversation

fkiraly
Copy link
Collaborator
@fkiraly fkiraly commented Sep 29, 2024

This PR is an upgrade of pyproject.toml to allow python 3.13.

Soft dependencies are all conditioned on python < 3.13, this can be relaxed as soft dependencies start supporting python 3.13.

This also adds 3.13 in the CI.

For release with sktime 0.34.0, not to be merged until python 3.13 is released and compatibility is tested.

@fkiraly fkiraly added maintenance Continuous integration, unit testing & package distribution release release related PR and issues - checked by release manager labels Sep 29, 2024
@fkiraly fkiraly marked this pull request as ready for review October 18, 2024 11:09
@fkiraly fkiraly changed the title [MNT] python 3.13 support in pyproject.toml [MNT] python 3.13 support in pyproject.toml and CI Oct 18, 2024
pyproject.toml Outdated
Copy link
Member

Choose a reason for hiding this comment

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

I hope I am wrong, but I don't remember seeing a dependabot update for a python package that is specified with a restriction on python version. I am concerned that it may essenttially disable Dependabot, and will need manual check for every single package to update in future.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

hm, I am not sure - possibly.

But even with the other packages we have the problem that dependabot updates incorrectly, e.g., only one occurrence in one soft dep set.

It is either adding these restrictions, or not releaseing a python 3.13 compatible version in 2024.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

(or, do you see another option?)

Copy link
Member

Choose a reason for hiding this comment

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

I am not on laptop, but if we try to install a bunch packages in python 3.13 whete not all of them supports it, does it fail fast or try all and then report all the failing ones? If latter, we can use that.

Basically my suggestion is to not add any, run 3.13 only CI, check error log, add only for those, run full CI.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

unfortunately, on attempted install, only the first incompatible install attepmt is reported, and the install fails. Are you suggesting another option? If so, PR appreciated.

@fkiraly fkiraly merged commit 3c87e44 into main Oct 19, 2024
138 of 199 checks passed
@fkiraly fkiraly deleted the py313 branch October 19, 2024 18:44
benHeid pushed a commit that referenced this pull request Feb 15, 2025
This PR is an upgrade of `pyproject.toml` to allow python 3.13.

Soft dependencies are all conditioned on python < 3.13, this can be
relaxed as soft dependencies start supporting python 3.13.

This also adds 3.13 in the CI.

For release with `sktime 0.34.0`, not to be merged until python 3.13 is
released and compatibility is tested.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Continuous integration, unit testing & package distribution release release related PR and issues - checked by release manager
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0