Skip to content

Commit

Permalink
Upgrade Python version to 3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
drew2a committed Jan 30, 2024
1 parent 313c51e commit 64721c1
Show file tree
Hide file tree
Showing 15 changed files with 25 additions and 22 deletions.
2 changes: 1 addition & 1 deletion .github/actions/pyenv/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: pyenv
description: Setup python and install required dependencies to venv with cache
inputs:
python-version:
default: '3.8'
default: '3.9'
description: 'Python version'
required: false

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/!PR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
permissions: { }
outputs:
python-version: '3.8'
python-version: '3.9'
source-ref: refs/pull/${{github.event.pull_request.number}}/merge
upload-binaries: >-
${{ contains(github.event.pull_request.labels.*.name, 'PR: upload binaries') }}
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/!main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
branches:
- main

env:
PYTHON_VERSION: 3.9

jobs:
docker:
uses: ./.github/workflows/docker-image.yml
Expand All @@ -15,19 +18,19 @@ jobs:
coverage:
uses: ./.github/workflows/coverage.yml
with:
python-version: 3.8
python-version: ${{ env.PYTHON_VERSION }}
secrets:
CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }}
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

pytest:
uses: ./.github/workflows/pytest.yml
with:
python-version: 3.8
python-version: ${{ env.PYTHON_VERSION }}

ubuntu:
uses: ./.github/workflows/build_ubuntu.yml
with:
python-version: 3.8
python-version: ${{ env.PYTHON_VERSION }}
secrets:
SENTRY_URL: ${{ secrets.SENTRY_URL }}
SENTRY_URL: ${{ secrets.SENTRY_URL }}
2 changes: 1 addition & 1 deletion .github/workflows/application_tester.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_call:
inputs:
python-version:
default: 3.8
default: 3.9
type: string
required: false

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build_mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
required: false

python-version:
default: 3.8
default: 3.9
type: string
required: false

Expand All @@ -33,7 +33,7 @@ on:

python-version:
description: Python version
default: 3.8
default: '3.9'
type: string
required: true

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build_ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
required: false

python-version:
default: 3.8
default: 3.9
type: string
required: false

Expand Down Expand Up @@ -37,7 +37,7 @@ on:

python-version:
description: Python version
default: 3.8
default: '3.9'
type: string
required: true

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
required: false

python-version:
default: 3.8
default: 3.9
type: string
required: false

Expand All @@ -33,7 +33,7 @@ on:

python-version:
description: Python version
default: 3.8
default: '3.9'
type: string
required: true

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_call:
inputs:
python-version:
default: 3.8
default: 3.9
type: string
required: false

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_call:
inputs:
python-version:
default: 3.8
default: 3.9
type: string
required: false

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/guitest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_call:
inputs:
python-version:
default: 3.8
default: 3.9
type: string
required: false

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_call:
inputs:
python-version:
default: 3.8
default: 3.9
type: string
required: false

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pytest_custom_ipv8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_call:
inputs:
python-version:
default: '3.8'
default: '3.9'
type: string
required: true

Expand All @@ -22,7 +22,7 @@ on:
inputs:
python-version:
description: Python version
default: '3.8'
default: '3.9'
type: string
required: true

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scripttest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_call:
inputs:
python-version:
default: 3.8
default: 3.9
type: string
required: false

Expand Down
2 changes: 1 addition & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ sphinx:
build:
os: ubuntu-22.04
tools:
python: "3.8"
python: "3.9"

# Include all submodules
submodules:
Expand Down
2 changes: 1 addition & 1 deletion doc/development/development_on_windows.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ In this guide, all required dependencies of Tribler will be explained. It presen
Prerequisites
------------

* `Python 3.8 <https://www.python.org/downloads/release/python-3813/>`_
* `Python 3.9 <https://www.python.org/downloads/release/python-3918/>`_
* `OpenSSL <https://community.chocolatey.org/packages?q=openssl>`_
* `Libsodium <https://github.com/Tribler/py-ipv8/blob/master/doc/preliminaries/install_libsodium.rst>`_

Expand Down

0 comments on commit 64721c1

Please sign in to comment.