Skip to content

Commit

Permalink
Upgraded python 3.9.5 to 3.12.3
Browse files Browse the repository at this point in the history
  • Loading branch information
gitofanindya committed May 7, 2024
1 parent 3b01f81 commit 934484c
Show file tree
Hide file tree
Showing 16 changed files with 25 additions and 25 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dead_code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.9 # XXX_PYTHON
python-version: 3.12 # XXX_PYTHON
- uses: actions/cache@v4
with:
path: ~/.cache/pip
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/functional_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.9 # XXX_PYTHON
python-version: 3.12 # XXX_PYTHON
- uses: actions/cache@v4
with:
path: ~/.cache/pip
Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.9 # XXX_PYTHON
python-version: 3.12 # XXX_PYTHON
- uses: actions/cache@v4
with:
path: ~/Library/Caches/pip
Expand Down Expand Up @@ -91,7 +91,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.9 # XXX_PYTHON
python-version: 3.12 # XXX_PYTHON
- uses: actions/cache@v4
with:
path: ~\AppData\Local\pip\Cache
Expand Down Expand Up @@ -126,7 +126,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.9 # XXX_PYTHON
python-version: 3.12 # XXX_PYTHON
- uses: actions/cache@v4
with:
path: ~/.cache/pip
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/functional_tests_2023.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.9 # XXX_PYTHON
python-version: 3.12 # XXX_PYTHON
- uses: actions/cache@v4
with:
path: ~/.cache/pip
Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.9 # XXX_PYTHON
python-version: 3.12 # XXX_PYTHON
- uses: actions/cache@v4
with:
path: ~/Library/Caches/pip
Expand Down Expand Up @@ -91,7 +91,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.9 # XXX_PYTHON
python-version: 3.12 # XXX_PYTHON
- uses: actions/cache@v4
with:
path: ~\AppData\Local\pip\Cache
Expand Down Expand Up @@ -120,7 +120,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.9 # XXX_PYTHON
python-version: 3.12 # XXX_PYTHON
- uses: actions/cache@v4
with:
path: ~/.cache/pip
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/integration_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:

env:
FREEZE_ONLY: 1


jobs:
integration-tests-windows:
Expand All @@ -37,7 +37,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.9 # XXX_PYTHON
python-version: 3.12 # XXX_PYTHON
architecture: "x86"
- uses: actions/cache@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.9 # XXX_PYTHON
python-version: 3.12 # XXX_PYTHON
- uses: actions/cache@v4
with:
path: ~/.cache/pip
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/spell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.9 # XXX_PYTHON
python-version: 3.12 # XXX_PYTHON
- uses: actions/cache@v4
with:
path: ~/.cache/pip
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.9 # XXX_PYTHON
python-version: 3.12 # XXX_PYTHON
- uses: actions/cache@v4
with:
path: ~/.cache/pip
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/translations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.9 # XXX_PYTHON
python-version: 3.12 # XXX_PYTHON
- uses: actions/cache@v4
with:
path: ~/.cache/pip
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/types.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.9 # XXX_PYTHON
python-version: 3.12 # XXX_PYTHON
- uses: actions/cache@v4
with:
path: ~/.cache/pip
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.9 # XXX_PYTHON
python-version: 3.12 # XXX_PYTHON
- uses: actions/cache@v4
with:
path: ~/.cache/pip
Expand Down Expand Up @@ -55,7 +55,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.9 # XXX_PYTHON
python-version: 3.12 # XXX_PYTHON
- uses: actions/cache@v4
with:
path: ~/Library/Caches/pip
Expand Down Expand Up @@ -85,7 +85,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.9 # XXX_PYTHON
python-version: 3.12 # XXX_PYTHON
architecture: "x86"
- uses: actions/cache@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion docs/deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Executing the script without argument will setup.update the isolated environment

[//]: # (XXX_PYTHON, XXX_INNO_SETUP)

- [Python 3.9.5](https://www.python.org/ftp/python/3.9.5/python-3.9.5.exe).
- [Python 3.12.3](https://www.python.org/ftp/python/3.12.3/python-3.12.3.exe).
- [Inno Setup 6.1.2](http://www.jrsoftware.org/isdl.php) to create the installer.

### Troubleshooting
Expand Down
2 changes: 1 addition & 1 deletion docs/gnu_linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ sudo mount -o remount,user_xattr /dev/sda3

[//]: # (XXX_PYTHON)

Nuxeo Drive is officially supported on **Python 3.9.1+**.
Nuxeo Drive is officially supported on **Python 3.12.3+**.

## Installation

Expand Down
2 changes: 1 addition & 1 deletion docs/support.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ It may evolve quickly without notification as we are following the Python develo

[//]: # (XXX_PYTHON)

As of now, we are using the __Python 3.9.5__.
As of now, we are using the __Python 3.12.3__.

History:

Expand Down
2 changes: 1 addition & 1 deletion nxdrive/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,7 @@ def get_certificate_details(
Note: This function uses a undocumented method of the _ssl module.
It is continuously tested in our CI to ensure it still
available after any Python upgrade.
Certified working as of Python 3.9.5.
Certified working as of Python 3.12.3.
"""

import ssl
Expand Down
2 changes: 1 addition & 1 deletion tools/posix/deploy_ci_agent.sh
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ check_upgrade() {
check_vars() {
# Check required variables
if [ "${PYTHON_DRIVE_VERSION:-unset}" = "unset" ]; then
export PYTHON_DRIVE_VERSION="3.9.5" # XXX_PYTHON
export PYTHON_DRIVE_VERSION="3.12.3" # XXX_PYTHON
fi
if [ "${WORKSPACE:-unset}" = "unset" ]; then
if [ "${GITHUB_WORKSPACE:-unset}" != "unset" ]; then
Expand Down
2 changes: 1 addition & 1 deletion tools/windows/deploy_ci_agent.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ function check_upgrade {
function check_vars {
# Check required variables
if (-Not ($Env:PYTHON_DRIVE_VERSION)) {
$Env:PYTHON_DRIVE_VERSION = '3.9.5' # XXX_PYTHON
$Env:PYTHON_DRIVE_VERSION = '3.12.3' # XXX_PYTHON
}
if (-Not ($Env:WORKSPACE)) {
if ($Env:GITHUB_WORKSPACE) {
Expand Down

0 comments on commit 934484c

Please sign in to comment.