-
-
Notifications
You must be signed in to change notification settings - Fork 278
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Publish to pypi example doesnt work #1322
Comments
Duplicate of PyO3/maturin-action#108 |
The bad error message should be fixed by #1323, your problem might be that the package name you want is already taken by someone else. |
Thanks I'll wait to see what that reveals.. it definetely isn't the name, the name is available |
You can try it now with the docker container release:
name: Release
runs-on: ubuntu-latest
if: "startsWith(github.ref, 'refs/tags/')"
needs: [ macos, windows, linux ]
container: ghcr.io/pyo3/maturin:main
steps:
- uses: actions/download-artifact@v2
with:
name: wheels
- name: Publish to PyPI
env:
MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
run: maturin upload --skip-existing * |
Great thanks, yeh this was my next plan! Thanks for the syntax |
Bug Description
I've tried with both these (even without using the environment to be thorough with a dummy account, and the environment with my real account)
I've also tried the API token (MATURIN_PYPI_TOKEN)
returns:
Username and/or password are wrong
This is the auto generated example so as simple as it gets, thanks
Your maturin version (
maturin --version
)0.14
Your Python version (
python -V
)3.10.6
Your pip version (
pip -V
)22.2.2
What bindings you're using
pyo3
Does
cargo build
work?If on windows, have you checked that you aren't accidentally using unix path (those with the forward slash
/
)?Steps to Reproduce
Create py03 project
Set environment variables for pypy account
attempt to run CI pipeline
The text was updated successfully, but these errors were encountered: