Skip to content

Lift the ogcore<0.18 cap: floor at 0.18.1 - #70

Open
MaxGhenis wants to merge 3 commits into
PSLmodels:mainfrom
MaxGhenis:lift-ogcore-cap
Open

Lift the ogcore<0.18 cap: floor at 0.18.1#70
MaxGhenis wants to merge 3 commits into
PSLmodels:mainfrom
MaxGhenis:lift-ogcore-cap

Conversation

@MaxGhenis

Copy link
Copy Markdown
Contributor

Follow-up to #69. The ogcore>=0.15.6,<0.18 cap guarded against ogcore 0.18.0, whose get_pop_objs asserted income_percentiles before its homogeneous-case branch (PSLmodels/OG-Core#1180). That was fixed upstream in 0.18.1 (PSLmodels/OG-Core#1182, merged and released 7/24), so the cap is stale. This floors at ogcore>=0.18.1 — the fix is guaranteed and current OG-Core (0.19.x) is admitted.

One-line dependency change; the calibrate tests added in #69 exercise get_pop_objs on the homogeneous path.

🤖 Generated with Claude Code

The cap in PSLmodels#69 guarded against ogcore 0.18.0, whose get_pop_objs asserted
income_percentiles before its homogeneous-case branch. That was fixed
upstream in 0.18.1 (PSLmodels/OG-Core#1182), so the cap is now stale;
floor at 0.18.1 so the fix is guaranteed and newer OG-Core (0.19.x)
is admitted.
Updated required Python version to 3.12 and adjusted supported Python versions.
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.

2 participants