Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Comments

COMPAT: pandas 3.0 compatibillity in Graph#814

Merged
martinfleis merged 4 commits intopysal:mainfrom
martinfleis:pd30-compat
Dec 11, 2025
Merged

COMPAT: pandas 3.0 compatibillity in Graph#814
martinfleis merged 4 commits intopysal:mainfrom
martinfleis:pd30-compat

Conversation

@martinfleis
Copy link
Member

Ensuring compatibility with the new StringDtype given pandas 3.0 has an RC now. This warrants a quick patch release to avoid breakage when pandas 3.0 comes out fully.

@martinfleis
Copy link
Member Author

I added skips of the tests using EEA large rivers which is not reliably available. I will try to fix that in geodatasets.

@codecov
Copy link

codecov bot commented Dec 8, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.4%. Comparing base (e47859e) to head (f12f3bb).
⚠️ Report is 6 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@          Coverage Diff          @@
##            main    #814   +/-   ##
=====================================
  Coverage   85.4%   85.4%           
=====================================
  Files        150     150           
  Lines      15954   15957    +3     
=====================================
+ Hits       13620   13624    +4     
+ Misses      2334    2333    -1     
Files with missing lines Coverage Δ
libpysal/graph/_utils.py 97.7% <100.0%> (+0.6%) ⬆️
libpysal/graph/base.py 96.5% <100.0%> (+<0.1%) ⬆️
libpysal/graph/tests/test_base.py 100.0% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@martinfleis
Copy link
Member Author

I enabled those EEA-based tests again but the new version of geodatasets might need to propagate to the right conda server. Should work soon though.

@martinfleis martinfleis merged commit 028e552 into pysal:main Dec 11, 2025
12 checks passed
@martinfleis martinfleis deleted the pd30-compat branch December 11, 2025 18:33
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