Skip to content

Commit b7d53bc

Browse files
authored
Merge pull request #171 from uhd-urz/dev
Hotpatch merge.
2 parents 12ec1a6 + b3c4a77 commit b7d53bc

File tree

5 files changed

+9
-4
lines changed

5 files changed

+9
-4
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [2.4.6] - 2025-09-23
9+
10+
This is a hotpatch release. See the **version 2.4.5 changelog below** for the main changes.
11+
812
## [2.4.5] - 2025-11-12
913

1014
This release mainly introduces a strict version matching of eLabFTW with a few bug fixes.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "elapi"
3-
version = "2.4.5"
3+
version = "2.4.6"
44
description = "elAPI is a powerful, extensible API client for eLabFTW."
55
authors = [{ name = "Alexander Haller, Mahadi Xion", email = "elabftw@uni-heidelberg.de" }]
66
requires-python = ">=3.11.0,<4"

src/elapi/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.4.5
1+
2.4.6

src/elapi/configuration/validators.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,8 @@ def validate(self) -> str:
329329
f"The default value '{self.fallback_value}' will be used instead."
330330
)
331331
return self.fallback_value
332-
if value.lower() not in ElabStrictVersionMatchModes:
332+
if value.lower() not in ElabStrictVersionMatchModes.__members__.values():
333+
# Python 3.11.2 doesn't support "v in ElabStrictVersionMatchModes"
333334
logger.warning(
334335
f"'{self.key_name.lower()}' is detected in configuration file, "
335336
f"but it's value '{value}' is not valid. Valid values: "

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)