-
Notifications
You must be signed in to change notification settings - Fork 3.2k
[CI] [GHA] Add Python 3.14 and 3.14t #33079
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
Changes from all commits
Commits
Show all changes
56 commits
Select commit
Hold shift + click to select a range
7a44f44
add python 3.14
akashchi 8b83727
add to test jobs
akashchi 59cdc5c
Merge remote-tracking branch 'upstream/master' into ci/gha/python3.14
akashchi b079c39
update tag
akashchi f30fdf5
merge
akashchi 741b71e
add nogil version
akashchi 6794f37
look for free-threading python wheel
akashchi 76e3f97
Merge remote-tracking branch 'upstream/master' into ci/gha/python3.14
akashchi 0091b71
add another name
akashchi 7cfd2cc
Merge remote-tracking branch 'upstream/master' into ci/gha/python3.14
akashchi 8d78a82
3.14t
akashchi db5274e
Merge remote-tracking branch 'upstream/master' into ci/gha/python3.14
akashchi 2ef70d8
do not build on debian
akashchi 65b441a
add 3.14
akashchi dcb08aa
add to fedora
akashchi 608fbe3
Merge remote-tracking branch 'upstream/master' into ci/gha/python3.14
akashchi c0f9db9
use custom script for 3.14t on win; fix bin name in linux
akashchi b781cc3
add -dev package
akashchi da8918a
rm var
akashchi 92918bd
fix fedora build
akashchi 2c302de
uncomment
akashchi 29281bc
try with allow prereleases
akashchi 3556cae
fix input
akashchi dfce905
use v6
akashchi d7eb2ce
Merge remote-tracking branch 'upstream/master' into ci/gha/python3.14
akashchi d262de6
build 3.14t separately
akashchi 7302c78
do not build 3.14t wheel if not needed
akashchi 76b1312
Merge remote-tracking branch 'upstream/master' into ci/gha/python3.14
akashchi 5e0df42
add -dev for 3.14t
akashchi bd396c4
use only python3.14t, skip failing API tests
akashchi 1a01048
rm unused
akashchi c668195
typos
akashchi ef501cb
Merge remote-tracking branch 'upstream/master' into ci/gha/python3.14
akashchi 10058b1
docc snippets on 3.14t
akashchi 61fa952
fix condition
akashchi ac60967
fix condition
akashchi 0f493ab
fix condition
akashchi a17bce6
add comment
akashchi 99a44dd
add option
akashchi 8623188
Merge remote-tracking branch 'upstream/master' into ci/gha/python3.14
akashchi c23885a
debug for exec
akashchi 8bbb423
explicetly set
akashchi 7c65c9a
rm unnecessary
akashchi 223fa0c
Merge remote-tracking branch 'upstream/master' into ci/gha/python3.14
akashchi ac0a89b
Merge remote-tracking branch 'upstream/master' into ci/gha/python3.14
akashchi 6fe3ae2
setup py3.14t
akashchi 8244a4d
merge
akashchi 9bf683c
try with staging
akashchi f442a9f
account for name for py3.14t
akashchi 9c051d9
better regexp
akashchi 57ccaed
Merge remote-tracking branch 'upstream/master' into ci/gha/python3.14
akashchi 3ee5860
Merge branch 'master' into ci/gha/python3.14
akladiev c71cbbf
fix pattern
akashchi 475bd58
Merge branch 'ci/gha/python3.14' of https://github.com/akashchi/openv…
akashchi c80df5c
use regular runner
akashchi 16ef8fc
review: typo + 3.14t for mac
akashchi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| pr-33511 | ||
| pr-33079 |
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
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
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
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
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
52 changes: 52 additions & 0 deletions
52
.github/dockerfiles/ov_test/ubuntu_22_04_x64_py314/Dockerfile
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,52 @@ | ||
| ARG REGISTRY="docker.io" | ||
| FROM ${REGISTRY}/library/ubuntu:22.04 | ||
|
|
||
| USER root | ||
|
|
||
| # APT configuration | ||
| RUN echo 'Acquire::Retries "10";' > /etc/apt/apt.conf && \ | ||
| echo 'APT::Get::Assume-Yes "true";' >> /etc/apt/apt.conf && \ | ||
| echo 'APT::Get::Fix-Broken "true";' >> /etc/apt/apt.conf && \ | ||
| echo 'APT::Get::no-install-recommends "true";' >> /etc/apt/apt.conf | ||
|
|
||
| ENV DEBIAN_FRONTEND="noninteractive" \ | ||
| TZ="Europe/London" | ||
|
|
||
| RUN apt-get update && \ | ||
| apt-get install software-properties-common && \ | ||
| add-apt-repository --yes --no-update ppa:git-core/ppa && \ | ||
| add-apt-repository --yes --no-update ppa:deadsnakes/ppa && \ | ||
| apt-get update && \ | ||
| apt-get install \ | ||
| curl \ | ||
| git \ | ||
| gpg-agent \ | ||
| tzdata \ | ||
| # parallel gzip | ||
| pigz \ | ||
| # Python | ||
| python3.14-dev \ | ||
| python3.14-venv \ | ||
| && \ | ||
| rm -rf /var/lib/apt/lists/* | ||
|
|
||
| # Install openvino dependencies | ||
| ADD scripts/install_dependencies/install_openvino_dependencies.sh /install_openvino_dependencies.sh | ||
| RUN chmod +x /install_openvino_dependencies.sh && \ | ||
| /install_openvino_dependencies.sh && \ | ||
| rm -rf /var/lib/apt/lists/* | ||
|
|
||
| # Setup pip | ||
| ENV PIP_VERSION="24.0" | ||
| RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && \ | ||
| python3 get-pip.py --no-cache-dir pip==${PIP_VERSION} && \ | ||
| python3.14 get-pip.py --no-cache-dir pip==${PIP_VERSION} && \ | ||
| rm -f get-pip.py | ||
|
|
||
| # Use Python 3.14 as default instead of Python 3.10 | ||
| # Using venv here 'cause other methods to switch the default Python on Ubuntu 22 break both system and wheels build | ||
| RUN python3.14 -m venv venv | ||
| ENV PATH="/venv/bin:$PATH" | ||
|
|
||
| ENV PIP_CACHE_DIR=/mount/caches/pip/linux/${PIP_VERSION} | ||
| ENV PIP_INSTALL_PATH=/venv/lib/python3.14/site-packages |
53 changes: 53 additions & 0 deletions
53
.github/dockerfiles/ov_test/ubuntu_22_04_x64_py314t/Dockerfile
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,53 @@ | ||
| ARG REGISTRY="docker.io" | ||
| FROM ${REGISTRY}/library/ubuntu:22.04 | ||
|
|
||
| USER root | ||
|
|
||
| # APT configuration | ||
| RUN echo 'Acquire::Retries "10";' > /etc/apt/apt.conf && \ | ||
| echo 'APT::Get::Assume-Yes "true";' >> /etc/apt/apt.conf && \ | ||
| echo 'APT::Get::Fix-Broken "true";' >> /etc/apt/apt.conf && \ | ||
| echo 'APT::Get::no-install-recommends "true";' >> /etc/apt/apt.conf | ||
|
|
||
| ENV DEBIAN_FRONTEND="noninteractive" \ | ||
| TZ="Europe/London" | ||
|
|
||
| RUN apt-get update && \ | ||
| apt-get install software-properties-common && \ | ||
| add-apt-repository --yes --no-update ppa:git-core/ppa && \ | ||
| add-apt-repository --yes --no-update ppa:deadsnakes/ppa && \ | ||
| apt-get update && \ | ||
| apt-get install \ | ||
| curl \ | ||
| git \ | ||
| gpg-agent \ | ||
| tzdata \ | ||
| # parallel gzip | ||
| pigz \ | ||
| # Python | ||
| python3.14-nogil \ | ||
| python3.14-venv \ | ||
| python3.14-dev \ | ||
| && \ | ||
| rm -rf /var/lib/apt/lists/* | ||
|
|
||
| # Install openvino dependencies | ||
| ADD scripts/install_dependencies/install_openvino_dependencies.sh /install_openvino_dependencies.sh | ||
| RUN chmod +x /install_openvino_dependencies.sh && \ | ||
| /install_openvino_dependencies.sh && \ | ||
| rm -rf /var/lib/apt/lists/* | ||
|
|
||
| # Setup pip | ||
| ENV PIP_VERSION="24.0" | ||
| RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && \ | ||
| python3 get-pip.py --no-cache-dir pip==${PIP_VERSION} && \ | ||
| python3.14t get-pip.py --no-cache-dir pip==${PIP_VERSION} && \ | ||
| rm -f get-pip.py | ||
|
|
||
| # Use Python 3.14 free-threading as default instead of Python 3.10 | ||
| # Using venv here 'cause other methods to switch the default Python on Ubuntu 22 break both system and wheels build | ||
| RUN python3.14t -m venv venv | ||
| ENV PATH="/venv/bin:$PATH" | ||
|
|
||
| ENV PIP_CACHE_DIR=/mount/caches/pip/linux/${PIP_VERSION} | ||
| ENV PIP_INSTALL_PATH=/venv/lib/python3.14t/site-packages |
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.