Skip to content

docs: replace direct setup.py invocations with pip in installation guide #1629

docs: replace direct setup.py invocations with pip in installation guide

docs: replace direct setup.py invocations with pip in installation guide #1629

Workflow file for this run

name: Build and upload to PyPi
on:
push:
branches:
- master
- 'branch-**'
workflow_dispatch:
jobs:
build-and-publish:

Check failure on line 11 in .github/workflows/build-push.yml

View workflow run for this annotation

GitHub Actions / Build and upload to PyPi

Invalid workflow file

The workflow is not valid. .github/workflows/build-push.yml (Line: 11, Col: 3): Error calling workflow 'scylladb/python-driver/.github/workflows/lib-build-and-push.yml@442074c1743378d7cbc631be7fd137f636d7373f'. The nested job 'upload_pypi' is requesting 'id-token: write', but is only allowed 'id-token: none'.
name: "Build wheels"
uses: ./.github/workflows/lib-build-and-push.yml
with:
upload: false
# TODO: Remove when https://github.com/pypa/gh-action-pypi-publish/issues/166 is fixed and update build-and-publish.with.upload to ${{ endsWith(github.event.ref, 'scylla') }}
publish:
name: "Publish wheels to PyPi"
if: ${{ endsWith(github.event.ref, 'scylla') }}
needs: build-and-publish
runs-on: ubuntu-24.04
permissions:
id-token: write
steps:
- uses: actions/download-artifact@v7
with:
path: dist
merge-multiple: true
- uses: pypa/gh-action-pypi-publish@release/v1
with:
skip-existing: true