Repository: PolicyEngine/policyengine-uk (language: python)

Issue:
Bump policyengine-core to 2.11.3
To capture randomness bug fixes


Discussion / hints:

Fix patch:
diff --git a/changelog_entry.yaml b/changelog_entry.yaml
index e69de29bb..074d411b2 100644
--- a/changelog_entry.yaml
+++ b/changelog_entry.yaml
@@ -0,0 +1,4 @@
+- bump: patch
+  changes:
+    fixed:
+      - Bump policyengine-core to capture simulation randomness bug fixes.
diff --git a/setup.py b/setup.py
index 5fc1dc83d..2acf9ec8c 100644
--- a/setup.py
+++ b/setup.py
@@ -33,7 +33,7 @@
         "microdf_python>=0.3.0",
         "pandas",
         "plotly>=4.14.3",
-        "PolicyEngine-Core>=2.10,<3",
+        "PolicyEngine-Core>=2.11.3,<3",
         "pyyaml>=5.3.1",
         "pytest",
         "requests>=2.25.1",


Test patch:
diff --git a/policyengine_uk/tests/policy/baseline/gov/hmrc/income_tax/pension_contributions_relief.yaml b/policyengine_uk/tests/policy/baseline/gov/hmrc/income_tax/pension_contributions_relief.yaml
index 8e26f8ed2..844eb76e1 100644
--- a/policyengine_uk/tests/policy/baseline/gov/hmrc/income_tax/pension_contributions_relief.yaml
+++ b/policyengine_uk/tests/policy/baseline/gov/hmrc/income_tax/pension_contributions_relief.yaml
@@ -14,7 +14,6 @@
     private_pension_contributions: 3_000
   output:
     pension_contributions_relief: 3_000
-    marginal_tax_rate: 0.2
     income_tax: 3286 - 3000 * 0.2
 
 - name: £60k self-employment income, no private pension contributions
@@ -33,5 +32,4 @@
     private_pension_contributions: 6_000
   output:
     pension_contributions_relief: 6_000
-    marginal_tax_rate: 0.4
     income_tax: 11032 - 6000 * 0.4