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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Infra: PyPi page contains wrong links #184

Closed
tomschr opened this issue Nov 8, 2019 · 10 comments
Closed

Infra: PyPi page contains wrong links #184

tomschr opened this issue Nov 8, 2019 · 10 comments
Assignees
Labels
Bug Error, flaw or fault to produce incorrect or unexpected results Infra All about infrastructure (GitHub Action, project build etc.)

Comments

@tomschr
Copy link
Member

tomschr commented Nov 8, 2019

Situation

Our project page on https://pypi.org/project/semver/ contains two wrong links on the left sidebar, see the "Project links" category and the links "Homepage" and "Download" . They still point to k-bx. 馃槈

Although it still works, we shouldn't propagate the old links anymore.

Proposed Solution

It should be fairly easy to fix it (however, I don't have write permission on PyPI): replace k-bx with python-semver.

@tomschr tomschr added Bug Error, flaw or fault to produce incorrect or unexpected results Infra All about infrastructure (GitHub Action, project build etc.) labels Nov 8, 2019
@scls19fr
Copy link
Member

scls19fr commented Nov 8, 2019

That's odd

Capture d鈥檈虂cran 2019-11-08 a虁 17 10 11

Despite I'm maintainer of python-semver project "Manage" button is disabled.

So I can't currently change link.

Maybe @k-bx can.

Or that's a problem on Pypi side.

@scls19fr
Copy link
Member

scls19fr commented Nov 8, 2019

In fact the problem seems to appears because "Owner" role is required.

See pypi/warehouse#6217

@tomschr
Copy link
Member Author

tomschr commented Nov 9, 2019

@scls19fr Thanks for investigating this. Much appreciated. 馃憤

Maybe @k-bx should give you owner rights? 馃槈 Or maybe you should better contact him by mail.

@k-bx
Copy link
Contributor

k-bx commented Nov 11, 2019

made scls an owner on pypi. cheers!

@scls19fr
Copy link
Member

Thanks @k-bx
I will change url as discussed here.

@scls19fr
Copy link
Member

I've just see in Pypi Admin page of python-semver

Project description and sidebar
To set the 'semver' description, author, links, classifiers, and other details for your next release, use the setup() arguments in your setup.py file. Updating these fields will not change the metadata for past releases. Additionally, you must use Twine to upload your files in order to get full support for these fields. See the Python Packaging User Guide for more help.

it seems that we can't set url from admin page but only when pushing new release (and only when using twine)

For example, our setup.py have new url https://github.com/python-semver/python-semver/ but this field haven't been updated during latest release...

My guess... we should have a deeper look at #173 because publishing new release should be done only using twine.

@tomschr
Copy link
Member Author

tomschr commented Nov 12, 2019

@scls19fr Thanks for investigating this! 馃憤

One question: would it be possible to delete the latest release on PyPI and rerelease it again (with twine or whatever is needed)?

@scls19fr
Copy link
Member

I don't think it's a good idea to delete release. I can even say that it's a very bad idea.
We can publish an other one if necessary (bumping patch version).

@tomschr
Copy link
Member Author

tomschr commented Nov 12, 2019

Ahh, you are right of course. I was stuck in the thought that you tried to fix it for 2.9.0 only. :-)

@tomschr
Copy link
Member Author

tomschr commented Oct 26, 2020

I can't see this problem anymore in PyPI, so I think this is fixed.

@tomschr tomschr closed this as completed Oct 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Error, flaw or fault to produce incorrect or unexpected results Infra All about infrastructure (GitHub Action, project build etc.)
Projects
None yet
Development

No branches or pull requests

3 participants