diff --git a/changelog_entry.yaml b/changelog_entry.yaml index e69de29bb..9366b3118 100644 --- a/changelog_entry.yaml +++ b/changelog_entry.yaml @@ -0,0 +1,4 @@ +- bump: patch + changes: + changed: + - Update policyengine-core. diff --git a/policyengine_canada/tests/gov/cra/tax/income/credits/climate_action/integration.yaml b/policyengine_canada/tests/gov/cra/tax/income/credits/climate_action/integration.yaml index 7bd90c89c..f1e747953 100644 --- a/policyengine_canada/tests/gov/cra/tax/income/credits/climate_action/integration.yaml +++ b/policyengine_canada/tests/gov/cra/tax/income/credits/climate_action/integration.yaml @@ -4,13 +4,20 @@ people: parent: age: 30 + is_head: true + is_spouse: false c1: age: 10 + is_head: false + is_spouse: false c2: age: 9 - household: - members: [parent, c1, c2] - province_code: MB + is_head: false + is_spouse: false + households: + household: + members: [parent, c1, c2] + province_code: MB output: climate_action_incentive: 728 @@ -20,8 +27,11 @@ people: head: age: 30 + is_head: true + is_spouse: true spouse: age: 28 + is_head: false is_spouse: true household: members: [head, spouse] @@ -35,10 +45,16 @@ people: parent: age: 30 + is_head: true + is_spouse: false c1: age: 10 + is_head: false + is_spouse: false c2: age: 9 + is_head: false + is_spouse: false household: members: [parent, c1, c2] province_code: MB diff --git a/policyengine_canada/tests/gov/integration.yaml b/policyengine_canada/tests/gov/integration.yaml index 9cfc3e277..a7c0af5c3 100644 --- a/policyengine_canada/tests/gov/integration.yaml +++ b/policyengine_canada/tests/gov/integration.yaml @@ -4,10 +4,13 @@ input: people: parent: + is_head: true age: 40 c1: age: 12 full_custody: false + is_head: false + is_spouse: false household: members: [parent, c1] province_code: ONT @@ -36,11 +39,14 @@ parent2: age: 40 is_spouse: true + is_head: false c1: age: 5 full_custody: true is_disabled: true dtc_eligible: true + is_head: false + is_spouse: false household: members: [parent1, parent2, c1] province_code: ONT @@ -67,9 +73,13 @@ people: parent: age: 40 + is_head: true + is_spouse: false c1: age: 12 full_custody: false + is_head: false + is_spouse: false household: members: [parent, c1] province_code: ONT diff --git a/policyengine_canada/tests/gov/provinces/bc/tax/income/credits/bccatc/integration.yaml b/policyengine_canada/tests/gov/provinces/bc/tax/income/credits/bccatc/integration.yaml index 46961c9b2..d1959c615 100644 --- a/policyengine_canada/tests/gov/provinces/bc/tax/income/credits/bccatc/integration.yaml +++ b/policyengine_canada/tests/gov/provinces/bc/tax/income/credits/bccatc/integration.yaml @@ -6,12 +6,17 @@ parent: age: 40 person_index: 0 + is_head: true c1: age: 12 person_index: 1 + is_head: false + is_spouse: false c2: age: 10 person_index: 2 + is_head: false + is_spouse: false household: members: [parent, c1, c2] adjusted_family_net_income: 20_000 @@ -19,4 +24,3 @@ is_married: false output: bc_climate_action_tax_credit: 443.5 - diff --git a/setup.py b/setup.py index a2caa4c01..932a74a9e 100644 --- a/setup.py +++ b/setup.py @@ -20,7 +20,7 @@ "numexpr<3", "pandas>=1.4.2,<2", "plotly>=5.6.0,<6", - "policyengine_core>=2.16,<3", + "policyengine_core>=3.6.4", "psutil<6", "pytest", "requests>=2.27.1,<3",