Skip to content

Commit 7aa7201

Browse files
Merge pull request #148 from Geode-solutions/next
Next
2 parents 93a8651 + 6fcc312 commit 7aa7201

File tree

5 files changed

+22
-9
lines changed

5 files changed

+22
-9
lines changed

.github/workflows/CICD.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- uses: actions/checkout@v4
1414
- uses: actions/setup-python@v5
1515
with:
16-
python-version: "3.9"
16+
python-version: "3.12"
1717
- name: Test
1818
run: |
1919
pip install -r requirements.txt

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,22 @@
11
# CHANGELOG
22

33

4+
## v5.7.4-rc.2 (2025-05-21)
5+
6+
### Bug Fixes
7+
8+
- **Copyright**: Update year
9+
([`af8afcf`](https://github.com/Geode-solutions/OpenGeodeWeb-Back/commit/af8afcfafb9a7ed6f98add3263feead6ea8a25b1))
10+
11+
12+
## v5.7.4-rc.1 (2025-05-21)
13+
14+
### Bug Fixes
15+
16+
- **python 3.12**: Compatibility
17+
([`0b43168`](https://github.com/Geode-solutions/OpenGeodeWeb-Back/commit/0b43168d1ce5776c2767172df02e922898c908bb))
18+
19+
420
## v5.7.3 (2025-05-20)
521

622

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ Detailed changes for each release are documented in the [release notes](https://
2929

3030
[MIT](https://opensource.org/licenses/MIT)
3131

32-
Copyright (c) 2019 - 2024, Geode-solutions
32+
Copyright (c) 2019 - 2025, Geode-solutions

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ build-backend = "setuptools.build_meta"
55

66
[project]
77
name = "OpenGeodeWeb-Back"
8-
version = "5.7.3"
8+
version = "5.7.4-rc.2"
99
dynamic = ["dependencies"]
1010
authors = [
1111
{ name="Geode-solutions", email="[email protected]" },
1212
]
1313
description = "OpenGeodeWeb-Back is an open source framework that proposes handy python functions and wrappers for the OpenGeode ecosystem"
1414
readme = "README.md"
15-
requires-python = ">=3.8"
15+
requires-python = ">=3.9, <3.13"
1616
classifiers = [
1717
"Programming Language :: Python :: 3",
1818
"License :: OSI Approved :: MIT License",

src/opengeodeweb_back/utils_functions.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import flask
99
from jsonschema import validate
1010
from jsonschema.exceptions import ValidationError
11-
import pkg_resources
11+
import importlib.metadata as metadata
1212

1313
# Local application imports
1414

@@ -70,10 +70,7 @@ def versions(list_packages: list):
7070
list_with_versions = []
7171
for package in list_packages:
7272
list_with_versions.append(
73-
{
74-
"package": package,
75-
"version": pkg_resources.get_distribution(package).version,
76-
}
73+
{"package": package, "version": metadata.distribution(package).version}
7774
)
7875
return list_with_versions
7976

0 commit comments

Comments
 (0)