Skip to content

Commit

Permalink
update packages and actions to allow and test python 3.13
Browse files Browse the repository at this point in the history
  • Loading branch information
hansent committed Nov 27, 2024
1 parent 3d15bcb commit 02a4198
Show file tree
Hide file tree
Showing 23 changed files with 32 additions and 32 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
token: ${{ secrets.GH_TOKEN_FOR_WORKFLOWS_ENTERPRISE }}
- uses: actions/setup-python@v5
with:
python-version: "3.10"
python-version: "3.13"
check-latest: true
- run: pip install mkdocs-material
- run: pip install "mkdocstrings[python]"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/hosted_inference_e2e_test_production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ jobs:
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- name: 🐍 Set up Python 3.10
- name: 🐍 Set up Python 3.13
uses: actions/setup-python@v5
with:
python-version: "3.10"
python-version: "3.13"
- name: 📦 Cache Python packages
uses: actions/cache@v3
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/hosted_inference_e2e_test_staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ jobs:
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- name: 🐍 Set up Python 3.10
- name: 🐍 Set up Python 3.13
uses: actions/setup-python@v5
with:
python-version: "3.10"
python-version: "3.13"
- name: 📦 Cache Python packages
uses: actions/cache@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration_tests_inference_cli_x86.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
timeout-minutes: 30
strategy:
matrix:
python-version: ["3.9", "3.10"]
python-version: ["3.9", "3.10", "3.13"]
steps:
- name: 🛎️ Checkout
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration_tests_inference_models.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
timeout-minutes: 45
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.13"]
steps:
- name: 🛎️ Checkout
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration_tests_workflows_x86.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
group: public-depot
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.13"]
timeout-minutes: 15
steps:
- name: 🛎️ Checkout
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/load_test_hosted_inference.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ jobs:
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- name: 🐍 Set up Python 3.10
- name: 🐍 Set up Python 3.13
uses: actions/setup-python@v5
with:
python-version: "3.10"
python-version: "3.13"
- name: 📦 Cache Python packages
uses: actions/cache@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
timeout-minutes: 20
strategy:
matrix:
python-version: [3.9]
python-version: ["3.13"]
steps:
- name: 🛎️ Checkout
uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_package_install_inference.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ jobs:
timeout-minutes: 10
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.13"]
steps:
- name: 🛎️ Checkout
uses: actions/checkout@v4
- name: 🐍 Set up Python 3.9 to create wheels
uses: actions/setup-python@v2
with:
python-version: "3.9"
python-version: "3.13"
- name: 🛞 Create Wheels
run: |
make create_wheels
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_package_install_inference_cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ jobs:
timeout-minutes: 10
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.13"]
steps:
- name: 🛎️ Checkout
uses: actions/checkout@v4
- name: 🐍 Set up Python 3.9 to create wheels
uses: actions/setup-python@v2
with:
python-version: "3.9"
python-version: "3.13"
- name: 🛞 Create Wheels
run: |
make create_wheels
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_package_install_inference_gpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ jobs:
timeout-minutes: 15
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.13"]
steps:
- name: 🛎️ Checkout
uses: actions/checkout@v4
- name: 🐍 Set up Python 3.9 to create wheels
uses: actions/setup-python@v2
with:
python-version: "3.9"
python-version: "3.13"
- name: 🛞 Create Wheels
run: |
make create_wheels
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ jobs:
timeout-minutes: 30
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.13"]
steps:
- name: 🛎️ Checkout
uses: actions/checkout@v4
- name: 🐍 Set up Python 3.9 to create wheels
uses: actions/setup-python@v2
with:
python-version: "3.9"
python-version: "3.13"
- name: 🚧 Install GDAL OS library
run: sudo apt-get update && sudo apt-get install libgdal-dev
- name: 🛞 Create Wheels
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_package_install_inference_sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ jobs:
timeout-minutes: 10
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.13"]
steps:
- name: 🛎️ Checkout
uses: actions/checkout@v4
- name: 🐍 Set up Python 3.9 to create wheels
uses: actions/setup-python@v2
with:
python-version: "3.9"
python-version: "3.13"
- name: 🛞 Create Wheels
run: |
make create_wheels
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ jobs:
timeout-minutes: 35
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.13"]
steps:
- name: 🛎️ Checkout
uses: actions/checkout@v4
- name: 🐍 Set up Python 3.9 to create wheels
uses: actions/setup-python@v2
with:
python-version: "3.9"
python-version: "3.13"
- name: 🚧 Install GDAL OS library
run: sudo apt-get update && sudo apt-get install libgdal-dev
- name: 🛞 Create Wheels
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit_tests_inference_cli_x86.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
timeout-minutes: 10
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
steps:
- name: 🛎️ Checkout
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit_tests_inference_sdk_x86.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
timeout-minutes: 10
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
steps:
- name: 🛎️ Checkout
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit_tests_inference_x86.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
timeout-minutes: 10
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
steps:
- name: 🛎️ Checkout
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit_tests_workflows_x86.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
timeout-minutes: 10
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
steps:
- name: 🛎️ Checkout
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .release/pypi/inference.core.setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,5 +84,5 @@ def read_requirements(path):
"Typing :: Typed",
"Operating System :: OS Independent",
],
python_requires=">=3.8,<3.12",
python_requires=">=3.8",
)
2 changes: 1 addition & 1 deletion .release/pypi/inference.cpu.setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,5 +83,5 @@ def read_requirements(path):
"Typing :: Typed",
"Operating System :: OS Independent",
],
python_requires=">=3.8,<3.12",
python_requires=">=3.8",
)
2 changes: 1 addition & 1 deletion .release/pypi/inference.gpu.setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,5 +83,5 @@ def read_requirements(path):
"Typing :: Typed",
"Operating System :: OS Independent",
],
python_requires=">=3.8,<3.12",
python_requires=">=3.8",
)
2 changes: 1 addition & 1 deletion .release/pypi/inference.sdk.setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,5 @@ def read_requirements(path):
"Typing :: Typed",
"Operating System :: OS Independent",
],
python_requires=">=3.8,<3.12",
python_requires=">=3.8",
)
2 changes: 1 addition & 1 deletion .release/pypi/inference.setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,5 +83,5 @@ def read_requirements(path):
"Typing :: Typed",
"Operating System :: OS Independent",
],
python_requires=">=3.8,<3.12",
python_requires=">=3.8",
)

0 comments on commit 02a4198

Please sign in to comment.