Skip to content

Update dependencies - #44

Merged
tallcoleman merged 5 commits into
mainfrom
update-dependencies
Jul 11, 2026
Merged

tallcoleman merged 5 commits into
mainfrom
update-dependencies

Conversation

@tallcoleman

Copy link
Copy Markdown
Collaborator

Changes

  • Updates python to 3.14 from 3.12
  • Updates packages to newer versions and set those as new minimum versions in pyproject.toml
  • Makes some small updates to adjust for breaking changes in moving from pandas 2.x -> 3.x, including handling of NA values with new string column typing and explicitly typing date columns in StatusManager in microseconds (us, matching the python datetime precision) instead of nanoseconds.

tallcoleman and others added 5 commits July 9, 2026 22:25
pandas 3.0 changed several defaults: all-string object columns are now
auto-inferred to a new string dtype (breaking object-dtype detection in
dt_cols_to_str), missing values in such columns collapse pd.NA to nan
(breaking summarize_freq's display formatting), and pd.Timestamp now
defaults to microsecond resolution instead of nanosecond (breaking
StatusManager's schema validation).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YYA95TygUoyxhmKnvT83bN
…ization

dt_cols_to_str's purpose is to make columns JSON-serializable, which pandas
3's auto-inferred string dtype (na_value=nan) already satisfies for the
na="drop"/"null" paths actually used by save_geo_output. Normalizing to
na_value=<NA> only mattered for strict dtype-identity checks in the tests,
not for the function's actual behavior, so relax those checks instead of
changing dt_cols_to_str.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YYA95TygUoyxhmKnvT83bN
Use pandas 3's "us" resolution default throughout StatusManager instead of
pinning to "ns". Nanosecond resolution added no real precision (Python's
datetime only carries microseconds) while needlessly narrowing the
representable date range to ~1677-2262; "us" avoids that and matches the
new pandas default, so there's no more special-casing needed in add().

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YYA95TygUoyxhmKnvT83bN
@tallcoleman tallcoleman self-assigned this Jul 11, 2026
@tallcoleman tallcoleman added the dependencies Pull requests that update a dependency file label Jul 11, 2026
@tallcoleman
tallcoleman merged commit a3bcde5 into main Jul 11, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant