chore: Use python 3.12

- Let actions/setup-python read python version from .python-version
- Use version 3.12 with pipenv and relock deps
This commit is contained in:
Nikolai R Kristiansen
2023-11-18 18:15:41 +01:00
committed by Nikolai Røed Kristiansen
parent 2cc695d95a
commit 409cdf473c
4 changed files with 13 additions and 13 deletions

View File

@@ -19,7 +19,7 @@ jobs:
fetch-depth: 2
- uses: actions/setup-python@v4
with:
python-version: "3.11"
python-version-file: '.python-version'
cache: pipenv
- name: Install dependencies
run: |
@@ -42,7 +42,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: "3.11"
python-version-file: '.python-version'
cache: pipenv
- run: |
pip install pipenv
@@ -85,7 +85,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: "3.11"
python-version-file: '.python-version'
cache: pipenv
- run: |
pip install pipenv

View File

@@ -11,7 +11,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: "3.11"
python-version-file: '.python-version'
cache: pipenv
- run: |
pip install pipenv

View File

@@ -21,4 +21,4 @@ beautifulsoup4 = "*"
jinja2 = "*"
[requires]
python_version = "3.11"
python_version = "3.12"

16
Pipfile.lock generated
View File

@@ -1,11 +1,11 @@
{
"_meta": {
"hash": {
"sha256": "f24e75f436bb0902b7bcb00d84559698ca05828867e344c4e7214b07976a8310"
"sha256": "263ddac1831380d395ed376dad73d92a5a9e29fa27be8554530060802545d34e"
},
"pipfile-spec": 6,
"requires": {
"python_version": "3.11"
"python_version": "3.12"
},
"sources": [
{
@@ -27,11 +27,11 @@
},
"certifi": {
"hashes": [
"sha256:539cc1d13202e33ca466e88b2807e29f4c13049d6d87031a3c110744495cb082",
"sha256:92d6037539857d8206b8f6ae472e8b77db8058fec5937a1ef3f54304089edbb9"
"sha256:9b469f3a900bf28dc19b8cfbf8019bf47f7fdd1a65a1d4ffb98fc14166beb4d1",
"sha256:e036ab49d5b79556f99cfc2d9320b34cfbe5be05c5871b51de9329f0603b0474"
],
"markers": "python_version >= '3.6'",
"version": "==2023.7.22"
"version": "==2023.11.17"
},
"charset-normalizer": {
"hashes": [
@@ -250,11 +250,11 @@
"develop": {
"certifi": {
"hashes": [
"sha256:539cc1d13202e33ca466e88b2807e29f4c13049d6d87031a3c110744495cb082",
"sha256:92d6037539857d8206b8f6ae472e8b77db8058fec5937a1ef3f54304089edbb9"
"sha256:9b469f3a900bf28dc19b8cfbf8019bf47f7fdd1a65a1d4ffb98fc14166beb4d1",
"sha256:e036ab49d5b79556f99cfc2d9320b34cfbe5be05c5871b51de9329f0603b0474"
],
"markers": "python_version >= '3.6'",
"version": "==2023.7.22"
"version": "==2023.11.17"
},
"cfgv": {
"hashes": [