Skip to content

Commit acac7f6

Browse files
MaxGhenisclaude
andauthored
Bump policyengine-core to 3.23.0 (#1440)
* Bump policyengine-core to 3.23.0 Updates to policyengine-core 3.23.0 which adds strict enum validation. Invalid enum values will now raise ValueError instead of silently converting to index 0. This tests that all enum values in our test files are valid. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> * fix: Format __init__.py with Black 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> --------- Co-authored-by: Claude <noreply@anthropic.com>
1 parent a91654e commit acac7f6

3 files changed

Lines changed: 9 additions & 4 deletions

File tree

changelog_entry.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
- bump: patch
2+
changes:
3+
changed:
4+
- Bump policyengine-core to 3.23.0 (adds strict enum validation).

policyengine_uk/__init__.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# -*- coding: utf-8 -*-
22

33
import os
4+
from pathlib import Path
5+
6+
from policyengine_core.taxbenefitsystems import TaxBenefitSystem
7+
48
from policyengine_uk import entities
59
from policyengine_uk.system import (
610
CountryTaxBenefitSystem,
@@ -10,9 +14,6 @@
1014
parameters,
1115
variables,
1216
)
13-
from pathlib import Path
14-
import os
1517
from .model_api import *
16-
from policyengine_core.taxbenefitsystems import TaxBenefitSystem
1718

1819
REPO = Path(__file__).parent

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ classifiers = [
2424
]
2525
requires-python = ">=3.13,<3.14"
2626
dependencies = [
27-
"policyengine-core>=3.19.3",
27+
"policyengine-core>=3.23.0",
2828
"microdf-python>=1.0.2",
2929
"pydantic>=2.11.7",
3030
"tables>=3.10.2",

0 commit comments

Comments
 (0)