Skip to content

Part 1 of #5327: Normalize datetime and string dtypes to match NumPy/Pandas defaults - #5328

Merged
ajpotts merged 1 commit into
Bears-R-Us:mainfrom
ajpotts:5327_Normalize_datetime_and_string_dtypes_to_match_NumPy/Pandas_defaults
Jan 21, 2026
Merged

ajpotts merged 1 commit into
Bears-R-Us:mainfrom
ajpotts:5327_Normalize_datetime_and_string_dtypes_to_match_NumPy/Pandas_defaults

Conversation

@ajpotts

@ajpotts ajpotts commented Jan 21, 2026 •

Copy link
Copy Markdown
Contributor

Summary

CI failures on Python 3.11+ were caused by unpinned NumPy and Pandas dependencies resolving to newer major versions than those used on Python 3.10. This PR stabilizes CI by pinning NumPy and Pandas to known-good versions via a shared constraints file.

Background

Recent CI runs showed:

  • Python 3.10 jobs passing
  • Python 3.11–3.13 jobs failing with dtype-related errors

Inspection of installed dependencies revealed:

  • Python 3.10 → numpy 2.2.6, pandas 2.3.3 (passing)
  • Python 3.11+ → numpy 2.3.5, pandas 3.0.0 (failing)

Pandas 3.0 introduces changes in dtype inference and index behavior (e.g., datetime units, string/index dtypes) that expose incompatibilities in Arkouda’s current NumPy/Pandas integration.

What this PR does

  • Adds ci_constraints.txt pinning:
    • numpy==2.2.6
    • pandas==2.3.3
  • Updates all CI jobs to install Python dependencies using:
    python3 -m pip install -c ci_constraints.txt .[dev]
    
    

Part of #5327: Normalize datetime and string dtypes to match NumPy/Pandas defaults

@ajpotts
ajpotts force-pushed the 5327_Normalize_datetime_and_string_dtypes_to_match_NumPy/Pandas_defaults branch from 1575e3e to bdd9077 Compare January 21, 2026 20:23
@ajpotts
ajpotts force-pushed the 5327_Normalize_datetime_and_string_dtypes_to_match_NumPy/Pandas_defaults branch from bdd9077 to c48c59d Compare January 21, 2026 20:24
@ajpotts ajpotts changed the title Closes #5327: Normalize datetime and string dtypes to match NumPy/Pandas defaults Part 1 of #5327: Normalize datetime and string dtypes to match NumPy/Pandas defaults Jan 21, 2026
@codecov

codecov Bot commented Jan 21, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (main@24c8292). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff            @@
##             main     #5328   +/-   ##
========================================
  Coverage        ?   100.00%           
========================================
  Files           ?         4           
  Lines           ?        63           
  Branches        ?         0           
========================================
  Hits            ?        63           
  Misses          ?         0           
  Partials        ?         0           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jaketrookman jaketrookman left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@ajpotts
ajpotts marked this pull request as ready for review January 21, 2026 22:17
@ajpotts
ajpotts added this pull request to the merge queue Jan 21, 2026
Merged via the queue into Bears-R-Us:main with commit 006e122 Jan 21, 2026
24 checks passed
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