Skip to content
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

Better error message when upload failed with status code 403 #1323

Merged
merged 1 commit into from
Dec 3, 2022

Conversation

messense
Copy link
Member

@messense messense commented Dec 3, 2022

Before

$ maturin upload ~/Downloads/cffi-1.15.1.tar.gz
πŸ” Using credential in pypirc for upload
πŸš€ Uploading 1 packages
β›” Username and/or password are wrong
πŸ’₯ maturin failed
  Caused by: Username and/or password are wrong

After

$ cargo run upload ~/Downloads/cffi-1.15.1.tar.gz
   Compiling maturin v0.14.3 (/Users/messense/Projects/maturin)
    Finished dev [unoptimized + debuginfo] target(s) in 2.88s
     Running `target/debug/maturin upload /Users/messense/Downloads/cffi-1.15.1.tar.gz`
πŸ” Using credential in pypirc for upload
πŸš€ Uploading 1 packages
β›” 403 The user 'messense' isn't allowed to upload to project 'cffi'. See https://pypi.org/help/#project-name for more information.
πŸ’₯ maturin failed
  Caused by: Username and/or password are possibly wrong

@netlify
Copy link

netlify bot commented Dec 3, 2022

βœ… Deploy Preview for maturin-guide ready!

Name Link
πŸ”¨ Latest commit 2a68875
πŸ” Latest deploy log https://app.netlify.com/sites/maturin-guide/deploys/638abee52cc8df0009f9fa05
😎 Deploy Preview https://deploy-preview-1323--maturin-guide.netlify.app
πŸ“± Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@messense messense mentioned this pull request Dec 3, 2022
2 tasks
@messense messense merged commit d567cfb into PyO3:main Dec 3, 2022
@messense messense deleted the upload-error branch December 3, 2022 03:26
bmwiedemann pushed a commit to bmwiedemann/openSUSE that referenced this pull request Dec 13, 2022
https://build.opensuse.org/request/show/1042453
by user mia + dimstar_suse
- Manually override outdated ahash dependency of chumsky crate
  in vendor tarball to hopefully facilitate reproducible builds
  Adds vendor-update-ahash-dependency.patch
  boo#1206342
- Update to v0.14.5:
  * Support SOURCE_DATE_EPOCH environment variable in wheel building
    gh#PyO3/maturin#1334
  * Fix sdist when all Cargo workspace members are excluded
    gh#PyO3/maturin#1343
- Changes in v0.14.4:
  * Bump sigstore/gh-action-sigstore-python from 0.0.11 to 0.1.0
    gh#PyO3/maturin#1317
  * Refactor Target::get_platform_tag to use standard osname-release-machine fallback representation
    gh#PyO3/maturin#1318
  * Better error message when upload failed with status code 403
    gh#PyO3/maturin#1323
  * Warn about patchelf version requirement
    gh#PyO3/maturin#1327
  * Refactor compil
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.

Publish to pypi example doesnt work maturin publish always "Username and/or password are wrong"
1 participant