Skip to content

Commit d23151e

Browse files
committed
Fix for problem with entry_points in protobuf module under Python 3.14; adding great_docs Problem with entry_points in protobuf module under Python 3.14; added great_docs scaffolding
1 parent 05ed8fa commit d23151e

5 files changed

Lines changed: 28 additions & 3 deletions

File tree

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,3 +139,6 @@ docs/firebird-base.docset/
139139

140140
# Other local files and directories
141141
local/
142+
143+
# Great Docs build directory (ephemeral, do not commit)
144+
great-docs/

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,17 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
55
and this project adheres to [Semantic Versioning](http://semver.org/).
66

77

8+
## [2.0.3] - 2026-04-17
9+
10+
### Fixed
11+
12+
- Problem with `entry_points` in `protobuf` module under Python 3.14
13+
814
## [2.0.2] - 2025-06-02
915

1016
### Fixed
1117

12-
- Fix: "quick fingers" issue with `_decompose` fix.
18+
- "quick fingers" issue with `_decompose` fix.
1319

1420
## [2.0.1] - 2025-06-02
1521

docs/changelog.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
Changelog
33
#########
44

5+
Version 2.0.3
6+
=============
7+
8+
* Fix: Problem with `entry_points` in `protobuf` module under Python 3.14
9+
510
Version 2.0.2
611
=============
712

pyproject.toml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,17 @@ packages = ["src/firebird"]
5454
dependencies = [
5555
]
5656

57+
[tool.hatch.envs.gdocs]
58+
dependencies = [
59+
"great-docs",
60+
]
61+
62+
[tool.hatch.envs.gdocs.scripts]
63+
init = "great-docs init"
64+
scan = "great-docs scan"
65+
build = "great-docs build"
66+
preview = "great-docs preview"
67+
5768
[tool.hatch.envs.hatch-test]
5869
extra-args = ["-vv"]
5970
dependencies = [
@@ -62,7 +73,7 @@ dependencies = [
6273
]
6374

6475
[[tool.hatch.envs.hatch-test.matrix]]
65-
python = ["3.11", "3.12", "3.13"]
76+
python = ["3.11", "3.12", "3.13", "3.14"]
6677

6778
[tool.hatch.envs.doc]
6879
detached = false

src/firebird/base/protobuf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ def load_registered(group: str) -> None: # pragma: no cover
443443
load_registered('firebird.base.protobuf')
444444
# Now messages/enums registered via entry points are available
445445
"""
446-
for desc in (entry.load() for entry in entry_points().get(group, [])):
446+
for desc in (entry.load() for entry in entry_points().select(group=group)):
447447
register_decriptor(desc)
448448

449449
for well_known in [any_pb2, struct_pb2, duration_pb2, empty_pb2, timestamp_pb2, field_mask_pb2]:

0 commit comments

Comments
 (0)