Skip to content

Add missing twine installation to PyPI release workflow#159

Merged
MMathisLab merged 2 commits intoMMathisLab/pypi-releasefrom
copilot/sub-pr-158
Feb 14, 2026
Merged

Add missing twine installation to PyPI release workflow#159
MMathisLab merged 2 commits intoMMathisLab/pypi-releasefrom
copilot/sub-pr-158

Conversation

Copy link
Contributor

Copilot AI commented Feb 14, 2026

The workflow invoked python3 -m twine upload without installing twine, causing runtime failures.

Changes

  • Added pip install twine to the dependency installation step in .github/workflows/python-package.yml

The workflow now installs twine before attempting PyPI uploads:

- name: Install dependencies
  run: |
    pip install --upgrade pip
    pip install wheel
    pip install "packaging>=24.2"
    pip install twine

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: MMathisLab <28102185+MMathisLab@users.noreply.github.com>
Copilot AI changed the title [WIP] Update GitHub Actions workflow for PyPI release Add missing twine installation to PyPI release workflow Feb 14, 2026
Copilot AI requested a review from MMathisLab February 14, 2026 10:13
@MMathisLab MMathisLab marked this pull request as ready for review February 14, 2026 10:16
@MMathisLab MMathisLab merged commit 50b7644 into MMathisLab/pypi-release Feb 14, 2026
@MMathisLab MMathisLab deleted the copilot/sub-pr-158 branch February 14, 2026 10:16
MMathisLab added a commit that referenced this pull request Feb 14, 2026
* Update GitHub Actions workflow for PyPI release

* Add missing twine installation to PyPI release workflow (#159)

* Initial plan

* Add twine installation to PyPI release workflow

Co-authored-by: MMathisLab <28102185+MMathisLab@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: MMathisLab <28102185+MMathisLab@users.noreply.github.com>

* Apply suggestion from @Copilot

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Replace `make dist` with `python -m build` in PyPI workflow (#160)

* Initial plan

* Replace make dist with python -m build in PyPI workflow

Co-authored-by: MMathisLab <28102185+MMathisLab@users.noreply.github.com>

* Reorder pip install to place build before twine

Co-authored-by: MMathisLab <28102185+MMathisLab@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: MMathisLab <28102185+MMathisLab@users.noreply.github.com>

---------

Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: MMathisLab <28102185+MMathisLab@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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.

2 participants

Comments