Skip to content

Commit 3b1aa76

Browse files
committed
chore: add support for python 3.14, drop support for python 3.11
1 parent 18f5388 commit 3b1aa76

7 files changed

Lines changed: 234 additions & 222 deletions

File tree

.devcontainer/python/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG VARIANT="3.11-bookworm"
1+
ARG VARIANT="3.12-bookworm"
22
FROM mcr.microsoft.com/devcontainers/python:${VARIANT}
33

44
COPY --from=ghcr.io/astral-sh/uv:0.7.15 /uv /uvx /bin/

.devcontainer/python/devcontainer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"dockerfile": "Dockerfile",
66
"context": "../..",
77
"args": {
8-
"VARIANT": "3.11-bookworm"
8+
"VARIANT": "3.12-bookworm"
99
}
1010
},
1111
"containerEnv": {
@@ -38,4 +38,4 @@
3838
"github-cli": "latest"
3939
},
4040
"postCreateCommand": "git config --global --add safe.directory ${containerWorkspaceFolder} && bash ./.devcontainer/python/post-create.sh"
41-
}
41+
}

.github/workflows/test-library.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
python-version: [ "3.11", "3.12", "3.13" ]
16+
python-version: [ "3.12", "3.13", "3.14" ]
1717
group: [ 1,2,3,4,5 ]
1818
steps:
1919
- name: Checkout code

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM --platform=linux/amd64 python:3.11-slim AS dev
1+
FROM --platform=linux/amd64 python:3.12-slim AS dev
22

33
COPY --from=ghcr.io/astral-sh/uv:0.7.15 /uv /uvx /bin/
44

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,11 @@ or follow the quick guide below:
5454

5555
### Prerequisites
5656

57-
* [Python](https://www.python.org/), version 3.11 or higher
57+
* [Python](https://www.python.org/), version 3.12 or higher
5858
* Java, version 8 or higher
5959
* [Docker](https://www.docker.com/) (Optional), Linux or MacOS
6060

61-
eCalc™ only supports Python 3, and will follow [Komodo](https://github.com/equinor/komodo) wrt. minimum requirement for Python, which currently is 3.11.
61+
eCalc™ only supports Python 3, and will follow [Komodo](https://github.com/equinor/komodo) wrt. minimum requirement for Python, which currently is 3.12.
6262

6363
### Installation
6464

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "libecalc"
33
version = "13.0.2"
44
description = "eCalc™ is a software tool for calculation of energy demand and greenhouse gas (GHG) emissions from oil and gas production and processing."
55
authors = [{ name = "eCalc Team", email = "fg_ecalc@equinor.com" }]
6-
requires-python = ">=3.11,<3.14"
6+
requires-python = ">=3.12,<3.15"
77
readme = "README.md"
88
license = "LGPL-3.0-only"
99
keywords = [
@@ -21,9 +21,9 @@ classifiers = [
2121
"Topic :: Utilities",
2222
"Operating System :: MacOS",
2323
"Operating System :: POSIX :: Linux",
24-
"Programming Language :: Python :: 3.11",
2524
"Programming Language :: Python :: 3.12",
2625
"Programming Language :: Python :: 3.13",
26+
"Programming Language :: Python :: 3.14",
2727
"Natural Language :: English",
2828
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
2929
]

uv.lock

Lines changed: 225 additions & 213 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)