Skip to content

build: add support for Python 3.14#966

Merged
AlessandroPomponio merged 13 commits into
mainfrom
ap_873_support_python_314
May 26, 2026
Merged

build: add support for Python 3.14#966
AlessandroPomponio merged 13 commits into
mainfrom
ap_873_support_python_314

Conversation

@AlessandroPomponio
Copy link
Copy Markdown
Member

@AlessandroPomponio AlessandroPomponio commented May 25, 2026

Summary

Adds support for Python 3.14 to the ado project by updating version constraints and conditionally excluding incompatible plugins.

Closes #873

Changes Made

  • Updated requires-python constraint from >=3.10,<3.14 to >=3.10,<3.15
  • Added Python 3.14 classifier to project metadata
  • Conditionally excluded incompatible plugins for Python 3.14:
    • ado-autoconf (fastai requires spacy with wheels only on GitHub)
    • ado-trim (Autogluon pyarrow compatibility issues)
    • profile-space (fg-data-profiling requires numba<0.63)
  • Updated tox test matrix to include Python 3.14 (py314)
  • Added Python version markers to test dependencies and tox configuration
  • Excluded incompatible workspace members from Python 3.14 builds
  • Updated test fixtures and test files to handle Python 3.14 compatibility

Testing

  • Added Python 3.14 to tox test environments (py3{10,11,12,13,14})
  • Configured conditional test execution to skip incompatible plugin tests on Python 3.14:
    • SFTTrainer tests (skipped on 3.13 and 3.14)
    • Autoconf plugin tests (skipped on 3.14)
    • TRIM operator tests (skipped on 3.14)
  • Core test suite runs on all Python versions including 3.14
  • Updated lock files (uv.lock) to reflect new dependencies

Additional Notes

This change maintains backward compatibility with Python 3.10-3.13 while enabling Python 3.14 support. Plugins that are incompatible with Python 3.14 are conditionally excluded using environment markers, allowing the core functionality to work on the new Python version while gracefully handling plugin incompatibilities.

Signed-off-by: Alessandro Pomponio <alessandro.pomponio1@ibm.com>
Signed-off-by: Alessandro Pomponio <alessandro.pomponio1@ibm.com>
Signed-off-by: Alessandro Pomponio <alessandro.pomponio1@ibm.com>
Signed-off-by: Alessandro Pomponio <alessandro.pomponio1@ibm.com>
Signed-off-by: Alessandro Pomponio <alessandro.pomponio1@ibm.com>
Signed-off-by: Alessandro Pomponio <alessandro.pomponio1@ibm.com>
Signed-off-by: Alessandro Pomponio <alessandro.pomponio1@ibm.com>
Signed-off-by: Alessandro Pomponio <alessandro.pomponio1@ibm.com>
Signed-off-by: Alessandro Pomponio <alessandro.pomponio1@ibm.com>
Signed-off-by: Alessandro Pomponio <alessandro.pomponio1@ibm.com>
Signed-off-by: Alessandro Pomponio <alessandro.pomponio1@ibm.com>
Signed-off-by: Alessandro Pomponio <alessandro.pomponio1@ibm.com>
Signed-off-by: Alessandro Pomponio <alessandro.pomponio1@ibm.com>
@AlessandroPomponio AlessandroPomponio marked this pull request as draft May 25, 2026 15:59
@AlessandroPomponio
Copy link
Copy Markdown
Member Author

The PR is ready for review, but I have marked it as draft to make sure the CI is working as expected

@AlessandroPomponio AlessandroPomponio marked this pull request as ready for review May 26, 2026 07:59
@AlessandroPomponio AlessandroPomponio added this pull request to the merge queue May 26, 2026
Merged via the queue into main with commit 6471c47 May 26, 2026
17 of 18 checks passed
@AlessandroPomponio AlessandroPomponio deleted the ap_873_support_python_314 branch May 26, 2026 08:24
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.

build: add support for Python 3.14

2 participants