diff options
author | Deniz Turgut <dturgut@gmail.com> | 2022-10-20 02:59:04 +0300 |
---|---|---|
committer | Deniz Turgut <dturgut@gmail.com> | 2022-10-20 04:17:11 +0300 |
commit | 6d11c6f2e5d2086cefc7c1917c71e2f3899f72b8 (patch) | |
tree | 59693499ba479f26572b17ce4c9466a8c0321098 | |
parent | 9d509253c3a25a1ab8082e2d7985d17a0ef187ea (diff) | |
download | pelican-6d11c6f2e5d2086cefc7c1917c71e2f3899f72b8.tar.gz |
use python 3.9 for lint, docs and deploy actions
3.7 is old and will soon be EOLed
this also fixes flake8 + importlib-metadata issues
-rw-r--r-- | .github/workflows/main.yml | 6 | ||||
-rw-r--r-- | tox.ini | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 59d6c95c..c4f10faa 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -86,7 +86,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v4 with: - python-version: "3.7" + python-version: "3.9" - name: Set pip cache (Linux) uses: actions/cache@v3 if: startsWith(runner.os, 'Linux') @@ -110,7 +110,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v4 with: - python-version: "3.7" + python-version: "3.9" - name: Set pip cache (Linux) uses: actions/cache@v3 if: startsWith(runner.os, 'Linux') @@ -136,7 +136,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v4 with: - python-version: "3.7" + python-version: "3.9" - name: Check release id: check_release run: | @@ -17,7 +17,7 @@ commands = pytest -s --cov=pelican pelican [testenv:docs] -basepython = python3.7 +basepython = python3.9 deps = -rrequirements/docs.pip changedir = docs @@ -36,7 +36,7 @@ import-order-style = cryptography max-line-length = 88 [testenv:flake8] -basepython = python3.7 +basepython = python3.9 deps = -rrequirements/style.pip commands = |