Skip to content

Commit

Permalink
Python312 (#2424)
Browse files Browse the repository at this point in the history
CVS-147963
  • Loading branch information
aleksandr-mokrov authored Sep 30, 2024
1 parent 8e78b35 commit ba2bf50
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion .ci/validation_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

class ValidationMatrix:
os = ("ubuntu-20.04", "ubuntu-22.04", "windows-2019", "macos-12")
python = ("3.8", "3.9", "3.10", "3.11")
python = ("3.9", "3.10", "3.11", "3.12")
device = ("cpu", "gpu")

@classmethod
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/install_requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-20.04, ubuntu-22.04, windows-2019, windows-2022, macos-11, macos-12]
python: ['3.9', '3.10', '3.11']
python: ['3.9', '3.10', '3.11', '3.12']
steps:
- name: Checkout repository
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/treon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
fail-fast: false
matrix:
runs_on: [ubuntu-20.04, ubuntu-22.04, windows-2019, macos-12]
python: ['3.9', '3.10', '3.11']
python: ['3.9', '3.10', '3.11', '3.12']
uses: ./.github/workflows/build_treon_reusable.yml
with:
runs_on: ${{ matrix.runs_on }}
Expand All @@ -37,7 +37,7 @@ jobs:
fail-fast: false
matrix:
runs_on: ['gpu']
python: ['3.9', '3.10', '3.11']
python: ['3.9', '3.10', '3.11', '3.12']
container: ['ubuntu:20.04', 'ubuntu:22.04'] # Windows and macOS are not available in machine pool with GPU
uses: ./.github/workflows/build_treon_reusable.yml
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/treon_precommit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
fail-fast: true
matrix:
runs_on: [ubuntu-20.04, windows-2019, macos-12]
python: ['3.9', '3.10', '3.11']
python: ['3.9', '3.10', '3.11', '3.12']
uses: ./.github/workflows/build_treon_reusable.yml
with:
runs_on: ${{ matrix.runs_on }}
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ To do this, there are a few requirements that all notebooks need to pass.

1. The notebooks work on Windows, macOS and Linux (see [supported operating
systems](https://github.com/openvinotoolkit/openvino_notebooks#%EF%B8%8F-system-requirements))
with Python 3.9, 3.10 and 3.11.
with Python 3.9, 3.10, 3.11 and 3.12.
2. As a rule, the notebooks do not require installation of additional software that is not installable by
`pip`. We do not assume that users have installed XCode Developer Tools, Visual C++ redistributable,
`cmake`, etc. Please discuss if your notebook does need C++ - there are exceptions to this rule.
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,13 @@ The notebooks run almost anywhere — your laptop, a cloud VM, or even a Doc

| Supported Operating System | [Python Version (64-bit)](https://www.python.org/) |
| :--------------------------------------------------------- |:---------------------------------------------------|
| Ubuntu 20.04 LTS, 64-bit | 3.9 - 3.11 |
| Ubuntu 22.04 LTS, 64-bit | 3.9 - 3.11 |
| Red Hat Enterprise Linux 8, 64-bit | 3.9 - 3.11 |
| CentOS 7, 64-bit | 3.9 - 3.11 |
| macOS 10.15.x versions or higher | 3.9 - 3.11 |
| Windows 10, 64-bit Pro, Enterprise or Education editions | 3.9 - 3.11 |
| Windows Server 2016 or higher | 3.9 - 3.11 |
| Ubuntu 20.04 LTS, 64-bit | 3.9 - 3.12 |
| Ubuntu 22.04 LTS, 64-bit | 3.9 - 3.12 |
| Red Hat Enterprise Linux 8, 64-bit | 3.9 - 3.12 |
| CentOS 7, 64-bit | 3.9 - 3.12 |
| macOS 10.15.x versions or higher | 3.9 - 3.12 |
| Windows 10, 64-bit Pro, Enterprise or Education editions | 3.9 - 3.12 |
| Windows Server 2016 or higher | 3.9 - 3.12 |

[![-----------------------------------------------------](https://user-images.githubusercontent.com/10940214/155750931-fc094349-b6ec-4e1f-9f9a-113e67941119.jpg)](#)
<div id='-run-the-notebooks'></div>
Expand Down
14 changes: 7 additions & 7 deletions README_cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,13 @@ OpenVINO™ Notebooks需要预装Python和Git, 针对不同操作系统的安

| 支持的操作系统 | [Python Version (64-bit)](https://www.python.org/) |
| :--------------------------------------------------------- |:---------------------------------------------------|
| Ubuntu 20.04 LTS, 64-bit | 3.9 - 3.11 |
| Ubuntu 22.04 LTS, 64-bit | 3.9 - 3.11 |
| Red Hat Enterprise Linux 8, 64-bit | 3.9 - 3.11 |
| CentOS 7, 64-bit | 3.9 - 3.11 |
| macOS 10.15.x versions or higher | 3.9 - 3.11 |
| Windows 10, 64-bit Pro, Enterprise or Education editions | 3.9 - 3.11 |
| Windows Server 2016 or higher | 3.9 - 3.11 |
| Ubuntu 20.04 LTS, 64-bit | 3.9 - 3.12 |
| Ubuntu 22.04 LTS, 64-bit | 3.9 - 3.12 |
| Red Hat Enterprise Linux 8, 64-bit | 3.9 - 3.12 |
| CentOS 7, 64-bit | 3.9 - 3.12 |
| macOS 10.15.x versions or higher | 3.9 - 3.12 |
| Windows 10, 64-bit Pro, Enterprise or Education editions | 3.9 - 3.12 |
| Windows Server 2016 or higher | 3.9 - 3.12 |


[![-----------------------------------------------------](https://user-images.githubusercontent.com/10940214/155750931-fc094349-b6ec-4e1f-9f9a-113e67941119.jpg)](#)
Expand Down
2 changes: 1 addition & 1 deletion selector/src/shared/notebook-status.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ type ValidatedOS = 'ubuntu-20.04' | 'ubuntu-22.04' | 'windows-2019' | 'macos-12'

type ValidatedDevice = 'cpu' | 'gpu';

export const VALIDATED_PYTHON_VERSIONS = ['3.8', '3.9', '3.10', '3.11'] as const;
export const VALIDATED_PYTHON_VERSIONS = ['3.9', '3.10', '3.11', '3.12'] as const;

type ValidatedPythonVersion = (typeof VALIDATED_PYTHON_VERSIONS)[number];

Expand Down

0 comments on commit ba2bf50

Please sign in to comment.