Skip to content

Seismic-to-RMS CI fails on XTGeo pandas 3.1 deprecation warnings #198

Open

Description

@EvenSol

Observed CI blocker

The unchanged .github/workflows/seismic-to-rms-notebook-validation.yml job failed while checking PVT notebook PR #197.

  • Run: https://github.com/EvenSol/NeqSim-Colab/actions/runs/40071690476/job/120806305515
  • PR head: 3f355d1ad8ea3dac5a76319fd1e13f2cc420564e.
  • Python 3.12.15; workflow pins xtgeo==4.25.1 and installs unbounded pandas.
  • python scripts/generate_seismic_to_rms_notebook.py succeeds.
  • Executing notebooks/reservoir/seismic_to_rms_input_workflow.ipynb fails at notebook cell 12 because stderr is rejected by the strict in-process runner.
RuntimeError: notebook cell 12 wrote stderr:
.../xtgeo/xyz/polygons.py:70: Pandas4Warning:
The inplace keyword in DataFrame.dropna is deprecated and will be removed
in a future version (PDEP-8).
kwargs["values"].dropna(axis=0, inplace=True)

The following line also emits a warning. This comes from the existing XTGeo/pandas integration, not the new PVT calculations. PR #197 changes no seismic generator, notebook, runner or workflow. The PVT notebook independently executes all 13 code cells with no stderr, and its notebook-integrity check passes.

Suggested resolution

Qualify a compatible XTGeo/pandas dependency pair (or update the upstream integration) and pin the shared validation dependencies accordingly. Keep the strict no-stderr acceptance gate; do not globally suppress warnings merely to green the workflow.

Acceptance

  • Fresh-runtime generation and execution of the seismic-to-RMS notebook produce retained outputs with zero stderr.
  • Existing seismic/ROFF/trajectory assertions and visual checks remain intact.
  • Dependency provenance identifies the tested versions.
  • PVT and other notebook jobs retain their own independent validation results.

Activity

  1. EvenSol commented on Oct 24, 2026

    @EvenSol
    OwnerAuthor

    Independent reproduction on refinery draft #194

    The same baseline failure reproduced on PR #194 after merging current master 387193477b4a15788bf003b5a60ba1fd327df961 into its existing branch.

    • Exact PR head: 5ee224ddaf62b45b9312ce594ab3696a4c24f3a8
    • Synthetic merge tested by GitHub: 66d45e2abd68af2bf2fa3f4b5ec1e22fceb263bd
    • Failing run/job: https://github.com/EvenSol/NeqSim-Colab/actions/runs/40076973196/job/120822314844
    • Failure: cell 12 emits XTGeo Pandas4Warning messages from xtgeo/xyz/polygons.py; the strict runner correctly rejects stderr.
    • Four other exact-head workflows passed: Notebook integrity, CO2 low-temperature, Northern Lights open-data, and data-reconciliation/Bayesian-twin validation.

    PR #194 changes no seismic notebook, generator, runner, workflow, or dependency file. Its executed Big Hill notebook and provenance shard are byte-identical to the previously validated head. This confirms the blocker is shared current-base dependency drift rather than refinery-branch behavior.

    The refinery PR remains draft and validation-blocked. No warning suppression, dependency guess, or unrelated repair was added to that branch.

    Reproduction after latest master merge

    The failure reproduced again on refinery draft #194 exact head 14cd1cd211d8823729706249b8c60d519abc68a4, after merging master 303da564dfca02a1feefcc0cd4da07ea6939f0dd without rebasing. Workflow run 41419108758, job 125190091656, failed at notebook cell 12 because XTGeo emitted pandas 3.1 Pandas4Warning messages from xtgeo/xyz/polygons.py to stderr. The other four hosted workflows passed. PR #194 still does not touch the seismic notebook, XTGeo, pandas, its generator, or the strict runner.

    Reproduction after master 0d6bb435

    The same failure reproduced on refinery draft #194 exact head 7a310b2a47f113e9f65500b36b06d8c02cc9af08, after merging current master 0d6bb435cdd756a2d35c47ab11daab1ac0c1b037 without rebasing. Workflow run 43728582796, job 132855798460, failed at notebook cell 12 because XTGeo emitted pandas 3.1 Pandas4Warning messages from xtgeo/xyz/polygons.py to stderr. Notebook integrity, CO2 low-temperature, Northern Lights open-data, and data-reconciliation/Bayesian-twin validation all passed. PR #194 still does not touch the seismic notebook, XTGeo, pandas, its generator, or the strict runner; its Big Hill notebook and provenance blobs remain byte-identical.

    Reproduction after master 6a05ded894

    The same failure reproduced on refinery draft #194 exact head 4e936ac073c01866ea3417c9fa7f9f8ef70df98e, after merging current master 6a05ded894872110b954b1aad0bf81577e9eefa8 without rebasing. Workflow run 44090049873, job 134062511664, failed at notebook cell 12 because XTGeo emitted pandas 3.1 Pandas4Warning messages from xtgeo/xyz/polygons.py lines 70–71 to stderr. Notebook integrity, CO2 low-temperature, Northern Lights open-data, and data-reconciliation/Bayesian-twin validation all passed. PR #194 still does not touch the seismic notebook, XTGeo, pandas, its generator, or the strict runner; its Big Hill notebook and provenance blobs remain byte-identical.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions