Skip to content

Consolidate wheel and sdist build jobs#2541

Open
emlys wants to merge 5 commits intonatcap:mainfrom
emlys:task/2514
Open

Consolidate wheel and sdist build jobs#2541
emlys wants to merge 5 commits intonatcap:mainfrom
emlys:task/2514

Conversation

@emlys
Copy link
Copy Markdown
Member

@emlys emlys commented May 1, 2026

Description

Fixes #2514

This PR removes the separate sdist build job and consolidates it into the test job, where we already build and upload a wheel. The failing puppeteer test seems unrelated.

Checklist

  • Updated HISTORY.rst and link to any relevant issue (if these changes are user-facing)
  • Updated the user's guide (if needed)
  • Tested the Workbench UI (if relevant)

@emlys emlys marked this pull request as ready for review May 4, 2026 18:30
@emlys emlys requested a review from dcdenu4 May 4, 2026 18:30
@emlys emlys self-assigned this May 4, 2026
Copy link
Copy Markdown
Member

@dcdenu4 dcdenu4 left a comment

Choose a reason for hiding this comment

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

Thanks @emlys ! Looks like we have a merge conflict and otherwise I just had a question about now uploading multiple source distributions and whether we need to worry about them being overwritten.

Comment thread .github/workflows/build-and-test.yml Outdated
Comment on lines +163 to +164
name: Source distribution for ${{ matrix.os }} ${{ matrix.python-version }}
path: dist/*.tar.gz
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.

Does this allow us to upload multiple source distributions without having to worry if they're being overwritten? Re: a comment we had below

# Only upload sdist in one of the matrix cases so we don't
# overwrite artifacts or have duplicates (mac/windows sdists have
# different extensions)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Oh, good point. So we've been uploading just one sdist to the GCP bucket, but all the sdists as github actions artifacts. Sdists should work the same on any OS or python version, so I think we can drop the extra artifact uploads as well.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I changed this to upload only one sdist to GCP and github.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This simplifies the release workflow a little, too, since we don't have to choose an arbitrary one of multiple sdist artifacts to use.

@emlys emlys requested a review from dcdenu4 May 5, 2026 18:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Can we consolidate the wheel and sdist build steps?

2 participants