Update Python versions

This commit is contained in:
Arkadii Yakovets 2024-10-24 17:38:40 -07:00
parent 7b1fe262ce
commit 4a3dd98536
No known key found for this signature in database
GPG Key ID: 7350E7F17DFE6846
2 changed files with 26 additions and 7 deletions

View File

@ -28,7 +28,8 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
python-version: '3.13'
- name: Run pre-commit
uses: pre-commit/action@v3.0.1
@ -64,7 +65,19 @@ jobs:
name: Run tests
needs:
- pre-commit
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- macos-latest
- ubuntu-latest
- windows-latest
python-version:
- '3.9'
- '3.10'
- '3.11'
- '3.12'
- '3.13'
steps:
- name: Check out repository
uses: actions/checkout@v4
@ -72,7 +85,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
@ -95,7 +108,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
python-version: '3.13'
- name: Install dependencies
run: |
@ -114,13 +127,19 @@ jobs:
test-build-package:
name: Test build on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
needs: build-package
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- macos-latest
- ubuntu-latest
python-version:
- '3.9'
- '3.10'
- '3.11'
- '3.12'
- '3.13'
steps:
- name: Check out repository
uses: actions/checkout@v4
@ -128,7 +147,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
python-version: ${{ matrix.python-version }}
- name: Get package artifacts
uses: actions/download-artifact@v4

View File

@ -45,7 +45,7 @@ release_name = "QUIN"
nettacker = "nettacker.main:run"
[tool.poetry.dependencies]
python = "^3.9, <3.13"
python = "^3.9, <=3.13"
aiohttp = "^3.9.5"
argparse = "^1.4.0"
asyncio = "^3.4.3"