Skip to content

Commit a60b237

Browse files
authored
feat(flagd): support Python 3.14 for flagd (#307)
* support Python 3.14 for flagd Signed-off-by: gruebel <anton.gruebel@gmail.com> * upgrade protobuf Signed-off-by: gruebel <anton.gruebel@gmail.com> * update deps Signed-off-by: gruebel <anton.gruebel@gmail.com> * add verbose Signed-off-by: gruebel <anton.gruebel@gmail.com> * update protobuf to v6 Signed-off-by: gruebel <anton.gruebel@gmail.com> * remove verbose flag Signed-off-by: gruebel <anton.gruebel@gmail.com> * update deps Signed-off-by: gruebel <anton.gruebel@gmail.com> * fix merge conflicts Signed-off-by: gruebel <anton.gruebel@gmail.com> --------- Signed-off-by: gruebel <anton.gruebel@gmail.com>
1 parent a2ec682 commit a60b237

File tree

3 files changed

+359
-380
lines changed

3 files changed

+359
-380
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,6 @@ jobs:
5656
matrix:
5757
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
5858
package: ${{ fromJSON(needs.changes.outputs.packages) }}
59-
exclude: # enable when `grpcio` has Python 3.14 wheels
60-
- python-version: "3.14"
61-
package: "providers/openfeature-provider-flagd"
6259
steps:
6360
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
6461
with:

providers/openfeature-provider-flagd/pyproject.toml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,12 @@ keywords = []
1919
dependencies = [
2020
"openfeature-sdk>=0.8.2",
2121
"grpcio>=1.68.1",
22-
"protobuf>=5.29.5",
23-
"mmh3>=4.1.0",
22+
"protobuf>=6.30.0,<7.0.0",
23+
"mmh3>=5.0.0,<6.0.0",
2424
"panzi-json-logic>=1.0.1",
2525
"semver>=3,<4",
2626
"pyyaml>=6.0.1",
27-
"cachebox; python_version >= '3.10'",
28-
# version `5.0.1` wheels for Python 3.9 on macOS were the last one for now,
29-
# but it looks like the next version `>5.0.4` will have one again.
30-
# for simplicity, restircting it for all platforms for now.
31-
"cachebox<=5.0.1; python_version < '3.10'",
27+
"cachebox>=5.1.0,<6.0.0",
3228
]
3329
requires-python = ">=3.9"
3430

@@ -52,7 +48,7 @@ dev = [
5248
[tool.hatch.build.hooks.protobuf]
5349
generate_pyi = false
5450
dependencies = [
55-
"protobuf==5.29.5",
51+
"protobuf~=6.0",
5652
"hatch-protobuf",
5753
"mypy-protobuf~=3.0",
5854
]

0 commit comments

Comments
 (0)