Skip to content

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

Merged
mmschlk merged 7 commits intomainfrom
291-python-313
Feb 20, 2025
Merged

291 Change the Supported Python Versions to 3.10-3.13#318
mmschlk merged 7 commits intomainfrom
291-python-313

Conversation

@Advueu963
Copy link
Copy Markdown
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
Copy Markdown
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
@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