diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0b76c9c..41357fd 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,23 +10,23 @@ jobs: name: "run tox" strategy: matrix: - python-version: [3.8, 3.9, "3.10", 3.11] + python-version: ["3.10", 3.11, 3.12] steps: - - uses: actions/checkout@v4 - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v5 - with: - python-version: ${{ matrix.python-version }} - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install tox tox-gh-actions - - name: Test with tox - env: - CODECOV_TOKEN: "889b90e8-e5a8-4139-aef6-87e6f2e1a0a4" - run: tox - + - uses: actions/checkout@v4 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v5 + with: + python-version: ${{ matrix.python-version }} + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install tox tox-gh-actions + - name: Test with tox + env: + CODECOV_TOKEN: "889b90e8-e5a8-4139-aef6-87e6f2e1a0a4" + run: tox + package: name: "Build & verify package" runs-on: "ubuntu-latest" @@ -35,7 +35,7 @@ jobs: - uses: "actions/checkout@v4" - uses: "actions/setup-python@v5" with: - python-version: "3.9" + python-version: "3.11" - name: "Install pep517 and twine" run: "python -m pip install pep517 twine" diff --git a/requirements.txt b/requirements.txt index 81a71c9..5760bd7 100644 --- a/requirements.txt +++ b/requirements.txt @@ -10,16 +10,14 @@ charset-normalizer==3.3.2 # via requests idna==3.6 # via requests +pyyaml==6.0.1 + # via responses requests==2.31.0 # via # -r requirements.in # responses responses==0.24.1 # via -r requirements.in -toml==0.10.2 - # via responses -types-toml==0.10.8.7 - # via responses urllib3==2.1.0 # via # requests diff --git a/tox.ini b/tox.ini index d47a2dc..a7d6608 100644 --- a/tox.ini +++ b/tox.ini @@ -3,26 +3,25 @@ envlist = clean pylint flake8 - py38 - py39 py310 py311 + py312 report skip_missing_interpreters = True #requires = # tox-pip-extensions basepython = - py38: python3.8 - py39: python3.9 py310: python3.10 py311: python3.11 + py311: python3.12 [gh-actions] python = - 3.8: py38, clean, pylint, flake8, report + 3.8: py38 3.9: py39 "3.10": py310 - 3.11: py311 + 3.11: py311, clean, pylint, flake8, report + 3.12: py312 [testenv] deps = @@ -51,7 +50,7 @@ commands = codecov -e TOXENV [testenv:flake8] -basepython = python3.6 +basepython = python3.11 deps = flake8 flake8-isort flake8-black