Skip to content

chore(deps)(deps): update pandas requirement from <3,>=2.3.1 to >=2.3.1,<4 in /packages/openstef-core#915

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/packages/openstef-core/pandas-gte-2.3.1-and-lt-4
Closed

chore(deps)(deps): update pandas requirement from <3,>=2.3.1 to >=2.3.1,<4 in /packages/openstef-core#915
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/packages/openstef-core/pandas-gte-2.3.1-and-lt-4

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 26, 2026

Updates the requirements on pandas to permit the latest version.

Release notes

Sourced from pandas's releases.

pandas 3.0.3

We are pleased to announce the release of pandas 3.0.3. This is a patch release in the 3.0.x series and includes some regression fixes and bug fixes. We recommend that all users of the 3.0.x series upgrade to this version.

See the full whatsnew for a list of all the changes.

Pandas 3.0 supports Python 3.11 and higher. The release can be installed from PyPI:

python -m pip install --upgrade pandas==3.0.*

Or from conda-forge

conda install -c conda-forge pandas=3.0

Please report any issues with the release on the pandas issue tracker.

Thanks to all the contributors who made this release possible.

Commits
  • 72f2fea RLS: 3.0.3 (#65590)
  • 2897590 Backport PR #65436 on branch 3.0.x (Account for privatization of matplotlib `...
  • 49894b5 Backport PR #65499 on branch 3.0.x (BUG: fix check if pyarrow is installed in...
  • 1c6d1e3 [backport 3.0.x] PERF: remove special casing for zoneinfo in tz_localize_to_u...
  • 2a54711 Backport PR #64379 on branch 3.0.x (PERF: improve performance with ZoneInfo t...
  • 036bb7c Backport PR #65482 on branch 3.0.x (PERF: don't call unique on dtypes for che...
  • bf4c182 Backport PR #65410 on branch 3.0.x (TST: also convert str index to object in ...
  • dd02d75 [backport 3.0.x] BUG: keep fsspec OpenFile alive for chained URL reads (#6547...
  • aef3d0f [backport 3.0.x] CI: lowercase types-pymysql/types-pyyaml to fix mamba 2.6.0 ...
  • bb8e248 Backport PR #65399 on branch 3.0.x (DOC: fix source link for classes in the r...
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [pandas](https://github.com/pandas-dev/pandas) to permit the latest version.
- [Release notes](https://github.com/pandas-dev/pandas/releases)
- [Commits](pandas-dev/pandas@v2.3.1...v3.0.3)

---
updated-dependencies:
- dependency-name: pandas
  dependency-version: 3.0.3
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code labels May 26, 2026
@dependabot dependabot Bot requested a review from a team May 26, 2026 15:21
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code labels May 26, 2026
@sonarqubecloud
Copy link
Copy Markdown

egordm added a commit that referenced this pull request May 29, 2026
…es (#934)

## Summary

Refreshes `uv.lock` to clear **all 74 open Dependabot security
advisories** (31 high / 29 medium / 14 low). Every vulnerable package is
transitive (aiohttp ×18, pillow, jupyter-server, mistune, cryptography,
urllib3, tornado, GitPython, nbconvert, …) and reaches a patched version
within existing constraints — no ceiling-widening needed for security.

Supersedes the pile of individual Dependabot PRs (#915, #916,
#920#930).

## Majors evaluated (per request) — adopted vs deferred

| Major | Verdict |
|---|---|
| pyarrow 24, s3fs 2026, pycountry 26 | ✅ adopted — suite green |
| numpy 2.4, scipy 1.17, xgboost 3.2, mlflow 3.12, pydantic 2.13 | ✅
adopted — suite green |
| scoringrules 0.10, ruff 0.15 | ✅ adopted + code adapted (below) |
| **pandas 3.0** | ⏸️ deferred — needs a Copy-on-Write migration
(read-only-array failures in the median forecaster). Held `<3`; tracked
in #935. |
| **pyproject-fmt 2.12+** | ⏸️ capped `<2.12` — 2.12+ reformats all
pyproject.toml (churn) and 1.3.x toml-fmt-common crashes it. |

## Code adapted to the upgrades

- **scoringrules 0.10**: stricter input validation. crps test drops
degenerate quantile levels 0.0/1.0 (zero pinball loss → value is 8/9);
rcrps tests give one forecast row per observation (no more single-row
broadcast). Expected values cross-checked by hand.
- **ruff 0.15** new rules: `math.isclose` for a ratio-sum check (real
float-fragility fix), integer percentile comparison in the plotter,
docstring section reorder (D420), justified noqas for two intentional
broad pipeline try-blocks and one exact-sentinel comparison. RUF069
ignored in tests (exact deterministic asserts), RUF067 ignored for
package `__init__` logging setup.
- **pandas-stubs 2.3.3** (pyright): comprehension instead of
`functools.reduce(iadd)`, drop a now-unnecessary cast, add casts/ignores
for stub-strictness changes.
- **jupytext 1.19.3**: notebook re-sync (header metadata).

## Verification

Local `poe all --check` is green except **two pre-existing,
platform-specific failures** in `test_openstef4.py`
(`test_fit_then_predict_returns_forecast`,
`test_fit_retains_previous_model_on_insufficient_data`). These fail
identically on pristine `main` on my macOS machine and **pass in CI**
(main is green) — they are a local macOS/pickle quirk, unrelated to this
change. Watching this PR's CI to confirm they stay green.

- ✅ ruff lint + format, pyright (src, 0 errors), uv lock check, reuse,
pyproject-fmt, doctests (107), notebooks-check
- ✅ 936 tests pass (the 4 scoringrules tests now green)

## Test plan

- [ ] CI green (especially the two openstef4 tests that fail only
locally on macOS).
- [ ] Confirm Dependabot security alerts drop to 0 after merge.

---------

Signed-off-by: Egor Dmitriev <egor.dmitriev@alliander.com>
egordm added a commit that referenced this pull request May 29, 2026
## Summary

Adds `versioning-strategy: lockfile-only` to the uv block in
`.github/dependabot.yml`.

This stops the **"update X requirement from A to B" PR spam** — the
per-package, per-directory PRs (e.g. #915, #916, #925#929) that widen
the declared version ranges in `pyproject.toml`. With lockfile-only,
Dependabot updates only `uv.lock`; declared constraints stay put and are
widened deliberately by a maintainer when adopting a new major.

## Unaffected

- Security updates still fire (they bump the lockfile).
- Grouping, cooldown, and the daily schedule are unchanged.
- Major bumps still surface (as lockfile updates) where the range
allows.

## Notes

The currently-open requirement-widening Dependabot PRs are superseded by
the lock refresh in #934 and can be closed.

Signed-off-by: Egor Dmitriev <egor.dmitriev@alliander.com>
@egordm
Copy link
Copy Markdown
Collaborator

egordm commented May 29, 2026

Closing: pandas 3.0 is deferred pending the Copy-on-Write migration tracked in #935. Held at <3 for now.

@egordm egordm closed this May 29, 2026
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github May 29, 2026

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot Bot deleted the dependabot/pip/packages/openstef-core/pandas-gte-2.3.1-and-lt-4 branch May 29, 2026 13:00
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 python:uv Pull requests that update python:uv code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant