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

Fix the project name for uploading to PyPI #229

Merged
merged 1 commit into from
Apr 19, 2023

Conversation

rsnyman
Copy link
Collaborator

@rsnyman rsnyman commented Apr 19, 2023

No description provided.

Copy link
Collaborator

@RonnyPfannschmidt RonnyPfannschmidt left a comment

Choose a reason for hiding this comment

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

This seems like a break

@codecov
Copy link

codecov bot commented Apr 19, 2023

Codecov Report

Merging #229 (37564e1) into master (be64e13) will not change coverage.
The diff coverage is n/a.

❗ Current head 37564e1 differs from pull request most recent head c65ed3f. Consider uploading reports for the commit c65ed3f to get more accurate results

@@           Coverage Diff           @@
##           master     #229   +/-   ##
=======================================
  Coverage   86.58%   86.58%           
=======================================
  Files          18       18           
  Lines        2564     2564           
=======================================
  Hits         2220     2220           
  Misses        344      344           
Flag Coverage Δ
unittests 86.58% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@rsnyman
Copy link
Collaborator Author

rsnyman commented Apr 19, 2023

@RonnyPfannschmidt I'm trying to fix the uploading to PyPI. The error message is the following:

ERROR    HTTPError: 403 Forbidden from https://upload.pypi.org/legacy/          
         Invalid API Token: project-scoped token is not valid for project:      
         'widgetastic', project-scoped token is not valid for project:          
         'widgetastic'                       

@rsnyman
Copy link
Collaborator Author

rsnyman commented Apr 19, 2023

The project name on PyPI is "widgetastic.core" => https://pypi.org/project/widgetastic.core/

I'm assuming/presuming that the project name was changed when migrating to hatch.

@RonnyPfannschmidt
Copy link
Collaborator

I just took a deeper look, #222 had the name change by mistake

@rsnyman
Copy link
Collaborator Author

rsnyman commented Apr 19, 2023

Yes, the value in setup.cfg was "widgetastic.core"

93b572f#diff-fa602a8a75dc9dcc92261bac5f533c2a85e34fcceaff63b3a3a81d9acde2fc52L2

@rsnyman
Copy link
Collaborator Author

rsnyman commented Apr 19, 2023

Thanks @RonnyPfannschmidt !

@rsnyman rsnyman merged commit 0c99188 into RedHatQE:master Apr 19, 2023
@rsnyman rsnyman deleted the fix-project-name branch April 19, 2023 20:46
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.

None yet

2 participants