RedHatQE / widgetastic.core

Making testing of UIs fantastic.
Other
36 stars 42 forks source link

Fix the project name for uploading to PyPI #229

Closed rsnyman closed 1 year ago

codecov[bot] commented 1 year ago

Codecov Report

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

:exclamation: 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 commented 1 year ago

@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 commented 1 year ago

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 commented 1 year ago

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

rsnyman commented 1 year ago

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

https://github.com/RedHatQE/widgetastic.core/commit/93b572f4a027ea75259560e96f2509df036d4bfc#diff-fa602a8a75dc9dcc92261bac5f533c2a85e34fcceaff63b3a3a81d9acde2fc52L2

rsnyman commented 1 year ago

Thanks @RonnyPfannschmidt !