Skip to content

MAINT: Move Pixi file updates to autofix workflow - #14345

Merged
tsbinns merged 8 commits into
mne-tools:mainfrom
scott-huberty:pixi-workflow
Sep 29, 2026
Merged

tsbinns merged 8 commits into
mne-tools:mainfrom
scott-huberty:pixi-workflow

Conversation

@scott-huberty

Copy link
Copy Markdown
Contributor

Closes #14342 CC @tsbinns

Comment thread .github/workflows/autofix.yml Resolved

@tsbinns tsbinns left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Workflow failing because pixi can't be installed:

  /home/runner/.pixi/bin/pixi install --manifest-path /home/runner/work/mne-python/mne-python/pixi.toml --color always
  Error:   × unable to canonicalize '/home/runner/work/mne-python/mne-python/pixi.toml'
    ╰─▶ No such file or directory (os error 2)

Does it just require the custom manifest path to be passed?

@tsbinns

tsbinns commented Sep 29, 2026

Copy link
Copy Markdown
Member

@scott-huberty I wondered if it was something with the mne-tools actions interfering with things, but I just checked the scheduled_updates run on main, and that was also failing for the earlier reason: https://github.com/mne-tools/mne-python/actions/runs/36379649863/job/108792568321

@drammock

Copy link
Copy Markdown
Member

Workflow failing because pixi can't be installed:

I think you mean pixi environment can't be installed, right?

  /home/runner/.pixi/bin/pixi install --manifest-path /home/runner/work/mne-python/mne-python/pixi.toml --color always
  Error:   × unable to canonicalize '/home/runner/work/mne-python/mne-python/pixi.toml'
    ╰─▶ No such file or directory (os error 2)

Does it just require the custom manifest path to be passed?

yeah, to me it looks like it has the wrong manifest path, its complaint is "file not found"

@tsbinns

tsbinns commented Sep 29, 2026

Copy link
Copy Markdown
Member

@drammock Yeah, providing the manifest path fixed that, but now there's a new error:

pixi run python tools/write-pixi-toml.py
Error:   × found pyproject.toml without tool.pixi section at directory /home/runner/work/mne-python/mne-python
  │
  │ Suggestion: Run 'pixi init' to initialize pixi support in the existing pyproject.toml

https://github.com/mne-tools/mne-python/actions/runs/36362051150/job/108741042102

Comment thread .github/workflows/autofix.yml Resolved
@autofix-ci
autofix-ci Bot requested a review from drammock as a code owner September 29, 2026 16:32
@scott-huberty

Copy link
Copy Markdown
Contributor Author

@tsbinns I think that should do it..

@tsbinns
tsbinns merged commit 073a8d4 into mne-tools:main Sep 29, 2026
25 checks passed
@tsbinns

tsbinns commented Sep 29, 2026

Copy link
Copy Markdown
Member

Thanks @scott-huberty!

larsoner added a commit to larsoner/mne-python that referenced this pull request Oct 1, 2026
* upstream/main: (26 commits)
  Splitting _brain.py into multiple modules (phase 1) (mne-tools#14359)
  Fix small corner-case bug with moments (mne-tools#14364)
  Coregistration GUI modernisation (phase 5) (mne-tools#14353)
  FIX: Prevent memory leak in RawArray by removing data from _init_kwargs (mne-tools#14360)
  MAINT: Update code credit (mne-tools#14365)
  type-hint the rest of mne/_fiff (mne-tools#14352)
  MAINT: Update dependency specifiers (mne-tools#14362)
  MAINT: Update dependency specifiers (mne-tools#14357)
  Switch to mne-tools SPEC-0 action (mne-tools#14356)
  MAINT: Move Pixi file updates to autofix workflow (mne-tools#14345)
  BUG: Fix SNIRF landmark length unit scaling (mne-tools#14354)
  DRY dipole code and comment on implementation (mne-tools#14350)
  Speed up CSD and PSD computations (mne-tools#14355)
  [dependabot]: Bump the actions group with 4 updates (mne-tools#14349)
  MAINT: Update pre-commit hook versions (mne-tools#14347)
  Switch to `mne-tools/rename-towncrier` action (mne-tools#14344)
  Fix for latest pyvista-js (mne-tools#14343)
  Avoid copies and support larger files in EEGLAB export (mne-tools#14338)
  Remove line breaks in sponsors check issue text (mne-tools#14337)
  Fix EEGLAB events after dropped epochs (mne-tools#14067)
  ...

# Conflicts:
#	mne/viz/_brain/_brain.py
#	mne/viz/backends/tests/test_renderer.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Move pixi lockfile from sheduled_updates to autofix workflow?

3 participants