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

291 Change the Supported Python Versions to 3.10-3.13 #318

Merged
merged 7 commits into from
Feb 20, 2025
Merged

Conversation

Advueu963
Copy link
Collaborator

@Advueu963 Advueu963 commented Feb 14, 2025

TLDR: This PR tackles issue #291 to change the range from supported versions from 3.9-3.11 to 3.10-3.13.

In more detail the following steps were conducted

  1. Any mentions of 3.9 were changed to 3.10 in documentations and GitHub-actions.
  2. The type annotations Union[X,Y] were changed to X | Y.
  3. The type annotations Optional[X] were changed to X | None.
  4. pd.option_context("future.no_silent_downcasting", True): ... in tree conversion functions were removed, as it seemed to not be necessary anymore

@Advueu963 Advueu963 linked an issue Feb 14, 2025 that may be closed by this pull request
@Advueu963 Advueu963 self-assigned this Feb 14, 2025
@Advueu963 Advueu963 changed the title feat: Changed the minimal support to 3.10 and maximal to 3.13 291 Change the supported python version to 3.10-3.12 Feb 14, 2025
@Advueu963 Advueu963 marked this pull request as ready for review February 18, 2025 18:14
@mmschlk mmschlk changed the title 291 Change the supported python version to 3.10-3.12 291 Change the Supported Python Versions to 3.10-3.13 Feb 20, 2025
@mmschlk
Copy link
Owner

mmschlk commented Feb 20, 2025

I also added support for Python 3.13. Unfortunately, not all libraries already work with 3.13. So I had to update som tests and conditional imports in the requirements file (used for the test matrix) and skip some tests.

Currently these packages do not support 3.13:

  • tabpfn
  • tensor flow
  • tf-keras

@mmschlk mmschlk self-requested a review February 20, 2025 16:40
@mmschlk mmschlk merged commit 2dbc7de into main Feb 20, 2025
7 checks passed
@mmschlk mmschlk deleted the 291-python-313 branch February 20, 2025 16:43
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.

Python 3.13
2 participants