Skip to content

Pin reviewed SPM correction and verify published threshold values - #9421

Closed
MaxGhenis wants to merge 1 commit into
mainfrom
max/spm-release-rebuild-20260908
Closed

MaxGhenis wants to merge 1 commit into
mainfrom
max/spm-release-rebuild-20260908

Conversation

@MaxGhenis

@MaxGhenis MaxGhenis commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Pin SPM Calculator to reviewed commit 9e6ae4798458771231613b994df2345dd1685214 (package version 0.5.0), replacing the unbounded >=0.2.0 requirement. Add independent literal 2024/2025 BLS amount checks across all tenures; legacy housing-share constants and CPI-U extrapolation remain unchanged.

Depends on PolicyEngine/spm-calculator#36. This draft intentionally uses an exact Git dependency while 0.5.0 is unpublished. During coordinated promotion, replace it with exactly spm-calculator==0.5.0; pin consumers before package publication. Older unbounded consumer requirements would otherwise admit this numerical correction automatically. No publication or merge is included.

The correction updates 2019–2024 amounts and treats 2025 as published. Existing SPM threshold/housing-cap/poverty tests passed without golden-value changes; six additional literal source checks pass. Package wheel/sdist builds and lint pass. The branch was refreshed to 94f7cfd0b7 (1.824.3) before applying the pin; the final 10 wrapper release tests and 12 native threshold tests passed again against it. No partner fixtures changed.

Promotion blocker: the temporary direct Git dependency is not accepted by PyPI distribution uploads, and the country repository publishes on main. Keep this draft unmerged until the registry pin and publication order are coordinated. Protect existing unbounded consumers before publishing the corrected calculator, then use the published exact version; do not merge this development metadata as-is.

@MaxGhenis

Copy link
Copy Markdown
Contributor Author

Superseded by #9428 (merged as 2cda664): canonical SPM measurements via spm-calculator 1.0.0 with the immutable population default. Closing.

@MaxGhenis MaxGhenis closed this Sep 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant