Skip to content

MNT: fix develop CI with pandas 3 and pylint 4 - #1211

Merged
Gui-FernandesBR merged 3 commits into
developfrom
mnt/fix-develop-ci
Nov 4, 2026
Merged

Gui-FernandesBR merged 3 commits into
developfrom
mnt/fix-develop-ci

Conversation

@Gui-FernandesBR

@Gui-FernandesBR Gui-FernandesBR commented Nov 3, 2026 •

Copy link
Copy Markdown
Member

Related to #1209. Develop CI went red after unpinned dependencies moved: pandas 3 treats the py.path.local from tmpdir_factory as a writable buffer, so to_csv overwrote the generic surface fixtures with only their last row; they now use tmp_path_factory. Pylint 4 also reports methods that raise NotImplementedError as abstract, which flags every polation, sensor and plot class that leaves an optional method out, so abstract-method is disabled and the broad-exception-caught pragma in tools.py moves onto the except line. Open-Elevation being down exposed one real bug: its error payload has no results, so fetch_open_elevation leaked a KeyError instead of the documented RuntimeError.

🤖 Generated with Claude Code

https://claude.ai/code/session_01XDW574AQLHTSeBM9K172TX

Gui-FernandesBR and others added 2 commits November 3, 2026 13:54
pandas 3 treats py.path.local as a writable buffer and each chunk overwrites
the file, leaving only the last row; tmp_path_factory avoids it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XDW574AQLHTSeBM9K172TX
Optional methods that raise NotImplementedError (polations, sensors, plots) are
now reported as abstract; also move the broad-exception pragma onto the except line.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XDW574AQLHTSeBM9K172TX
@Gui-FernandesBR
Gui-FernandesBR requested a review from a team as a code owner November 3, 2026 16:58
The API answers {"code": "temporarily_unavailable", ...} without "results",
which leaked a KeyError instead of the documented RuntimeError.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XDW574AQLHTSeBM9K172TX
@codecov

codecov Bot commented Nov 3, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.58%. Comparing base (a50d07d) to head (e96d0ff).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #1211   +/-   ##
========================================
  Coverage    91.58%   91.58%           
========================================
  Files          132      132           
  Lines        18404    18404           
========================================
  Hits         16855    16855           
  Misses        1549     1549           

☔ View full report in Codecov by Harness.
📢 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.

@Gui-FernandesBR Gui-FernandesBR left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

LGTM

@Gui-FernandesBR
Gui-FernandesBR merged commit ec7b239 into develop Nov 4, 2026
9 checks passed
@Gui-FernandesBR
Gui-FernandesBR deleted the mnt/fix-develop-ci branch November 4, 2026 12: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.

1 participant