Skip to content

Conversation

@jl-wynen
Copy link
Member

This should fix the broken docs build in a release (https://github.com/scipp/scippneutron/actions/runs/19627948536/job/56200774373)

I left the version parameter so that we can still select a different version if we need to patch up the docs later. But the release build no longer depends on

@github-project-automation github-project-automation bot moved this to In progress in Development Board Nov 24, 2025
@jl-wynen jl-wynen moved this from In progress to Selected in Development Board Nov 24, 2025
default: false
type: boolean
version:
description: 'Version of ScippNeutron to use for building the docs. Requires this version to be available on conda-forge! If not set, the current version will be used.'
Copy link
Member

Choose a reason for hiding this comment

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

Hmm, why don't we make a conda env without scippneutron in all cases, and then pip install either locally from source or using the specified version from Pypi if version is defined?

Copy link
Member Author

Choose a reason for hiding this comment

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

That might work as long as we don't install PyPI dependencies. But why would that be better?

Copy link
Member

@nvaytet nvaytet Nov 24, 2025

Choose a reason for hiding this comment

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

I think I slightly misunderstood.
I see we are installing a whole bunch of things from the environment file .buildconfig/ci-linux.yml anyway.
I guess what you have here is fine.

uses: ./.github/workflows/docs.yml
with:
publish: ${{ github.event_name == 'release' && github.event.action == 'published' }}
version: ${{ github.event.release.tag_name }}
Copy link
Member

Choose a reason for hiding this comment

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

So this now looks like what we have in the other packages, right?
I wonder why we had that difference in the first place...

Copy link
Member Author

Choose a reason for hiding this comment

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

Legacy from using conda?

@jl-wynen jl-wynen merged commit 27070f0 into main Nov 25, 2025
5 checks passed
@jl-wynen jl-wynen deleted the no-conda-install-for-docs branch November 25, 2025 08:07
@github-project-automation github-project-automation bot moved this from Selected to Done in Development Board Nov 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants