ODSC-88493: ADS Python 3.14 support readiness#1398
Open
cheryloracle wants to merge 11 commits into
Open
Conversation
cheryloracle
requested review from
mrDzurb,
sambitkumohanty and
smfirmin
as code owners
July 21, 2026 04:06
smfirmin
approved these changes
Jul 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This branch prepares ADS for staged Python 3.14 readiness without prematurely advertising full Python 3.14 package support. It records a Python 3.14 dependency readiness audit, documents the agreed support scope, keeps the Python 3.14 classifier gated in
pyproject.toml, and adds the audit to the developer docs index.The implementation updates model artifact Python-version validation to accept Python 3.14, adds runtime metadata coverage for Python 3.14 service-conda paths, fixes Python 3.14 dataclass annotation handling in
BaseProperties, and cleans invalid escape-sequence warning sites so import/runtime smoke checks can run withSyntaxWarningpromoted to an error.The audit documents successful Python 3.14 core install/build validation, scoped default setup test results, GitHub Actions staging requirements, optional-extra resolver outcomes, service-conda alignment risks, and issue-ready follow-up work for dependency blockers. Full Python 3.14 support remains gated until blocked optional/service-conda groups are resolved or explicitly deferred.
Tests Run
/usr/bin/env PYTHONDONTWRITEBYTECODE=1 MPLCONFIGDIR=/tmp .venv-py314-core/bin/python -c "import ads, sys; print(sys.version.split()[0], ads.__version__)"-> Python 3.14.5 / ADS 2.15.2 import smoke passed./usr/bin/env PYTHONDONTWRITEBYTECODE=1 MPLCONFIGDIR=/tmp .venv-py314-core/bin/python -m pytest -p no:cacheprovider tests/unitary/default_setup/model/test_model_introspect.py::TestPythonVersionCheck::test_python_version_check tests/unitary/with_extras/model/test_runtime_info.py::TestRuntimeInfo::test_from_yaml_preserves_python_314_versions-> 2 passed in 2.37s./usr/bin/env PYTHONDONTWRITEBYTECODE=1 MPLCONFIGDIR=/tmp .venv-py314-core/bin/python -m pytest -p no:cacheprovider tests/unitary/default_setup/common/test_common_base_properties.py-> 27 passed in 2.49s./usr/bin/env PYTHONDONTWRITEBYTECODE=1 MPLCONFIGDIR=/tmp NoDependency=1 .venv-py314-core/bin/python -m pytest -p no:cacheprovider tests/unitary/default_setup-> 1236 passed, 13 skipped, 2 xfailed in 407.08s./usr/bin/env PYTHONDONTWRITEBYTECODE=1 MPLCONFIGDIR=/tmp .venv-py314-core/bin/python -W error::SyntaxWarning -c "import ads; import ads.telemetry.telemetry; import ads.text_dataset.dataset; import numpy as np, pandas as pd; from sklearn.preprocessing import StandardScaler; df = pd.DataFrame({'x': np.array([1.0, 2.0, 3.0])}); out = StandardScaler().fit_transform(df); print(np.__version__, pd.__version__, out.shape)"-> 2.5.1 2.3.3 (3, 1)./usr/bin/env PYTHONDONTWRITEBYTECODE=1 MPLCONFIGDIR=/tmp .venv-py314-core/bin/python -m pytest -p no:cacheprovider tests/unitary/default_setup-> failed before the BaseProperties fix and optional dependency scoping: 20 failed, 1224 passed, 5 skipped, 2 xfailed; remaining failures were optional dependency gaps for IPython, seaborn, and nbformat after the BaseProperties issue was identified.git diff --checkandgit diff --check main...HEADpassed.oracle_ads[testsuite]remains blocked by thearffdependency on Python 3.14.