Skip to content
Merged
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
1 change: 1 addition & 0 deletions changelog.d/464.fixed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Upgrade `policyengine-core` to 3.30.0. This enforces formula-time determinism with a static check at variable registration instead of a runtime monkeypatch of the process-global `numpy.random`, fixing intermittent, misattributed `NonDeterministicFormulaError`s that could be raised when building or running many simulations concurrently in one process (policyengine-core#518). It also corrects `Reform.from_dict` bare-date period semantics (policyengine-core#510). The pinned country packages already allow `policyengine-core>=3.26.0` and are randomness-clean, so no country-package bump is required.
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,16 @@ graph = [
"networkx>=3.0",
]
models = [
"policyengine-core==3.28.0",
"policyengine-core==3.30.0",
"policyengine-us==1.764.6",
"policyengine-uk==2.89.2",
]
uk = [
"policyengine-core==3.28.0",
"policyengine-core==3.30.0",
"policyengine-uk==2.89.2",
]
us = [
"policyengine-core==3.28.0",
"policyengine-core==3.30.0",
"policyengine-us==1.764.6",
]
dev = [
Expand All @@ -70,7 +70,7 @@ dev = [
"towncrier>=24.8.0",
"mypy>=1.11.0",
"pytest-cov>=5.0.0",
"policyengine-core==3.28.0",
"policyengine-core==3.30.0",
"policyengine-us==1.764.6",
"policyengine-uk==2.89.2",
]
Expand Down
4 changes: 2 additions & 2 deletions src/policyengine/data/bundle/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -203,10 +203,10 @@
},
"policyengine-core": {
"import_name": "policyengine_core",
"install_requirement": "policyengine-core==3.28.0",
"install_requirement": "policyengine-core==3.30.0",
"name": "policyengine-core",
"role": "runtime_dependency",
"version": "3.28.0"
"version": "3.30.0"
},
"policyengine-uk": {
"country": "uk",
Expand Down
4 changes: 2 additions & 2 deletions src/policyengine/data/bundle/uk.trace.tro.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"@type": "trov:ResearchArtifact",
"schema:name": "policyengine.py bundle manifest for uk",
"trov:mimeType": "application/json",
"trov:sha256": "b6f6781bcb98355ec4542320a73be47e980f17e292eaf0b931f961191d420f7d"
"trov:sha256": "5f88cc36a8a2a9081a0531918567519f65bc8f320c66e2e520f3a3f4cc833b30"
},
{
"@id": "composition/1/artifact/data_release_manifest",
Expand All @@ -102,7 +102,7 @@
"trov:hasFingerprint": {
"@id": "composition/1/fingerprint",
"@type": "trov:CompositionFingerprint",
"trov:sha256": "dd7e4ef83d7cfeb8ed50105543bcf3505d5d5e84a501bfeb0e9e95955300c3f4"
"trov:sha256": "e9f91a5d93eb33485134237dcf34d96c8c93eaac6557ceb4b4326d2f74850982"
}
},
"trov:hasPerformance": {
Expand Down
4 changes: 2 additions & 2 deletions src/policyengine/data/bundle/us.trace.tro.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"@type": "trov:ResearchArtifact",
"schema:name": "policyengine.py bundle manifest for us",
"trov:mimeType": "application/json",
"trov:sha256": "b6f6781bcb98355ec4542320a73be47e980f17e292eaf0b931f961191d420f7d"
"trov:sha256": "5f88cc36a8a2a9081a0531918567519f65bc8f320c66e2e520f3a3f4cc833b30"
},
{
"@id": "composition/1/artifact/data_release_manifest",
Expand All @@ -102,7 +102,7 @@
"trov:hasFingerprint": {
"@id": "composition/1/fingerprint",
"@type": "trov:CompositionFingerprint",
"trov:sha256": "22191c7ac896137c89824af7f50195dd09909b3d2c5f5404637e16cf9b5c74ee"
"trov:sha256": "08e2850e9be03c3dd671297cec7f70410f79b388160ff7f398dae5d42bbc73b8"
}
},
"trov:hasPerformance": {
Expand Down
28 changes: 14 additions & 14 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading