• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

FlexMeasures / flexmeasures / 47099181316
89%

Build:
DEFAULT BRANCH: main
Ran 03 Dec 2026 11:55AM UTC
Jobs 1
Files 202
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

03 Dec 2026 11:46AM UTC coverage: 89.015% (+0.03%) from 88.987%
47099181316

push

github

web-flow
Upgrade to pandas 3, keeping pandas 2 supported (#2955)

* Fill segment overlaps with bfill(axis=1) instead of fillna(method=), which pandas 3 removed

* Write hourly resolutions in test fixtures as 1h, because pandas 3 no longer accepts 1H

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DWv6v3WRq4uE4AaVmZiHWA
Signed-off-by: F.N. Claessen <claessen@seita.nl>

* Count whole-day resolutions as calendar days in date ranges and resampling

Pandas 3 reads timedelta(days=1) as a frequency of a fixed 24 hours,
so daily steps would no longer land on local midnights after a DST change, as they did under pandas 2.
This would undo #2907 for the GET sensor data endpoint, for example.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DWv6v3WRq4uE4AaVmZiHWA
Signed-off-by: F.N. Claessen <claessen@seita.nl>

* Return a Timestamp from apply_offset_chain when given a Timestamp

A pd.Timestamp is also a datetime, so it was returned as a datetime.
With pandas 3's zoneinfo timezones, such a datetime in an hour that a DST change repeats
never equals a time in another timezone (PEP 495).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DWv6v3WRq4uE4AaVmZiHWA
Signed-off-by: F.N. Claessen <claessen@seita.nl>

* Convert datetimes and timedeltas to epoch values from nanoseconds explicitly

Pandas 3 no longer stores them in nanoseconds by default,
so chart data and compressed belief records got timestamps in seconds instead of milliseconds.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DWv6v3WRq4uE4AaVmZiHWA
Signed-off-by: F.N. Claessen <claessen@seita.nl>

* Parse timedeltas explicitly before converting their time unit

Under pandas 3, text divided by a Timedelta leaves an object dtype rather than floats.

Co-Authored-By: Claude Opus 5.5 <noreply@anth... (continued)

67 of 69 new or added lines in 17 files covered. (97.1%)

26361 of 29614 relevant lines covered (89.02%)

0.89 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
90.29
0.0% flexmeasures/data/models/forecasting/pipelines/predict.py
1
88.44
0.0% flexmeasures/data/schemas/sensors.py
Jobs
ID Job ID Ran Files Coverage
1 47099181316.1 03 Dec 2026 11:55AM UTC 202
89.02
GitHub Action Run
Source Files on build 47099181316
  • Tree
  • List 202
  • Changed 20
  • Source Changed 19
  • Coverage Changed 18
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #47099181316
  • a92891c9 on github
  • Prev Build on main (#47074390574)
  • Next Build on main (#47140232437)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc