From 7a699d432722ee39091eb59e3c54b341b9c75c3d Mon Sep 17 00:00:00 2001 From: ElliottKasoar Date: Tue, 6 Feb 2024 14:43:19 +0000 Subject: [PATCH] Update Python and Action versions --- .github/workflows/ci.yml | 8 ++++---- .github/workflows/docs.yml | 4 ++-- pyproject.toml | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b5b32091..0f5cf609 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -61,10 +61,10 @@ jobs: - name: Install poetry run: pipx install poetry - - name: Set up Python 3.12 + - name: Set up Python 3.11 uses: actions/setup-python@v5 with: - python-version: 3.12 + python-version: 3.11 - name: Install python dependencies run: poetry install --with docs @@ -81,10 +81,10 @@ jobs: - name: Install poetry run: pipx install poetry - - name: Set up Python 3.12 + - name: Set up Python 3.11 uses: actions/setup-python@v5 with: - python-version: "3.12" + python-version: 3.11 - name: Install python dependencies run: poetry install --with pre-commit,docs,dev diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 99f72de4..cb27f108 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -44,11 +44,11 @@ jobs: poetry run make html - name: upload - uses: actions/upload-pages-artifact@v1 + uses: actions/upload-pages-artifact@v3 with: # Upload entire repository path: './docs/build/html/.' - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v1 + uses: actions/deploy-pages@v4 diff --git a/pyproject.toml b/pyproject.toml index abc20a0a..893bf96d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -107,12 +107,12 @@ known_aiida = ['aiida'] [tool.tox] legacy_tox_ini = """ [tox] -envlist = py38 +envlist = py39 [testenv] usedevelop=True -[testenv:py{38,39,310}] +[testenv:py{39,310,311,312}] description = Run the test suite against a python version extras = testing commands = pytest {posargs}