Commit 60278a1
Remove SSTB/QBI compat shim, require policyengine-us 1.637.0 (#770)
* Remove SSTB/QBI compat shim now that us 1.637.0 ships natively
policyengine-us 1.637.0 adds `sstb_self_employment_income`,
`sstb_w2_wages_from_qualified_business`,
`sstb_unadjusted_basis_qualified_property`,
`sstb_self_employment_income_would_be_qualified`,
`sstb_qualified_business_income`, `total_self_employment_income`, and
the SSTB-aware QBI formulas as first-class variables (PR #7944). The
data package no longer needs to backfill them.
Bump the `policyengine-us` floor to `>=1.637.0`, delete the
`ensure_policyengine_us_compat_variables` monkey-patch and its three
call sites, and drop the compat-specific unit tests that validated the
shim's SSTB variable registration and QBID arithmetic — those
behaviors are now covered by policyengine-us's own test suite.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* Lock policyengine-us 1.637.0
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* Rename changelog fragment to PR number
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 9d3f766 commit 60278a1
8 files changed
Lines changed: 14 additions & 578 deletions
File tree
- changelog.d
- policyengine_us_data
- db
- utils
- tests/unit
- db
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | 4 | | |
8 | 5 | | |
9 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | 14 | | |
19 | 15 | | |
20 | 16 | | |
| |||
30 | 26 | | |
31 | 27 | | |
32 | 28 | | |
33 | | - | |
34 | | - | |
35 | 29 | | |
36 | 30 | | |
37 | 31 | | |
| |||
0 commit comments