Skip to content
Merged

Next #148

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/CICD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.9"
python-version: "3.12"
- name: Test
run: |
pip install -r requirements.txt
Expand Down
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,22 @@
# CHANGELOG


## v5.7.4-rc.2 (2025-05-21)

### Bug Fixes

- **Copyright**: Update year
([`af8afcf`](https://github.com/Geode-solutions/OpenGeodeWeb-Back/commit/af8afcfafb9a7ed6f98add3263feead6ea8a25b1))


## v5.7.4-rc.1 (2025-05-21)

### Bug Fixes

- **python 3.12**: Compatibility
([`0b43168`](https://github.com/Geode-solutions/OpenGeodeWeb-Back/commit/0b43168d1ce5776c2767172df02e922898c908bb))


## v5.7.3 (2025-05-20)


Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ Detailed changes for each release are documented in the [release notes](https://

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

Copyright (c) 2019 - 2024, Geode-solutions
Copyright (c) 2019 - 2025, Geode-solutions
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ build-backend = "setuptools.build_meta"

[project]
name = "OpenGeodeWeb-Back"
version = "5.7.3"
version = "5.7.4-rc.2"
dynamic = ["dependencies"]
authors = [
{ name="Geode-solutions", email="[email protected]" },
]
description = "OpenGeodeWeb-Back is an open source framework that proposes handy python functions and wrappers for the OpenGeode ecosystem"
readme = "README.md"
requires-python = ">=3.8"
requires-python = ">=3.9, <3.13"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
Expand Down
7 changes: 2 additions & 5 deletions src/opengeodeweb_back/utils_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import flask
from jsonschema import validate
from jsonschema.exceptions import ValidationError
import pkg_resources
import importlib.metadata as metadata

# Local application imports

Expand Down Expand Up @@ -70,10 +70,7 @@ def versions(list_packages: list):
list_with_versions = []
for package in list_packages:
list_with_versions.append(
{
"package": package,
"version": pkg_resources.get_distribution(package).version,
}
{"package": package, "version": metadata.distribution(package).version}
)
return list_with_versions

Expand Down