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

Pypi not up to date #254

Closed
Ouradze opened this issue Jun 25, 2020 · 8 comments
Closed

Pypi not up to date #254

Ouradze opened this issue Jun 25, 2020 · 8 comments
Assignees
Labels

Comments

@Ouradze
Copy link

Ouradze commented Jun 25, 2020

Hi,

Could you please release the latest version on pypi ? It seems, the last one is 3.12.1.

Thanks in advance

@codingjoe
Copy link
Collaborator

Yes, that seems to be the case. @KristianOellegaard can you create a new PyPi token for the repo and set it as TWINE_PASSWORD. Make sure there are no trailing white spaces. Something must have gone wrong the last time.

@jayvdb
Copy link
Contributor

jayvdb commented Sep 12, 2020

ping @KristianOellegaard

@jayvdb
Copy link
Contributor

jayvdb commented Sep 12, 2020

Note poetry isnt able to install from tags here

poetry add https://github.com/KristianOellegaard/django-health-check/archive/3.13.3.zip

  ParseVersionError

  Unable to parse "None".

@codingjoe
Copy link
Collaborator

FYI, I released the latest version manually.

@revsys revsys deleted a comment from jayvdb Sep 19, 2020
@n1ngu
Copy link

n1ngu commented Feb 17, 2021

From https://github.com/KristianOellegaard/django-health-check/runs/1655033942 I see why this issue is still open.

2021-01-06T07:44:03.7864432Z ##[group]Run python -m twine upload dist/*
2021-01-06T07:44:03.7865109Z �[36;1mpython -m twine upload dist/*�[0m
2021-01-06T07:44:03.7908613Z shell: /bin/bash -e {0}
2021-01-06T07:44:03.7909024Z env:
2021-01-06T07:44:03.7909566Z   pythonLocation: /opt/hostedtoolcache/Python/3.9.1/x64
2021-01-06T07:44:03.7910324Z   LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.9.1/x64/lib
2021-01-06T07:44:03.7910904Z   TWINE_USERNAME: __token__
2021-01-06T07:44:03.7911330Z   TWINE_PASSWORD: 
2021-01-06T07:44:03.7911735Z ##[endgroup]
2021-01-06T07:44:04.2446610Z Uploading distributions to https://upload.pypi.org/legacy/
2021-01-06T07:44:04.2448617Z Uploading django_health_check-3.16.2-py2.py3-none-any.whl
2021-01-06T07:44:04.2449441Z 
2021-01-06T07:44:04.4424897Z   0%|          | 0.00/41.4k [00:00<?, ?B/s]
2021-01-06T07:44:04.4429370Z 100%|██████████| 41.4k/41.4k [00:00<00:00, 214kB/s]
2021-01-06T07:44:04.4430252Z NOTE: Try --verbose to see response content.
2021-01-06T07:44:04.4441850Z HTTPError: 403 Forbidden from https://upload.pypi.org/legacy/
2021-01-06T07:44:04.4443571Z Invalid or non-existent authentication information. See https://pypi.org/help/#invalid-auth for more information.
2021-01-06T07:44:04.4705703Z ##[error]Process completed with exit code 1.

I guess any PyPI package maintainer can generate a publishing token but only @KristianOellegaard can install it in this repository? Maybe its time to move to a little organization structure?

I see new releases show up regularly on PyPI. Are releases still being published manually or are they being conducted in other CI systems?

@KristianOellegaard
Copy link
Collaborator

@codingjoe updated - sorry missed notification. I have added the secret now but I can't figure out how to re-run the action to release it.

@n1ngu
Copy link

n1ngu commented Feb 17, 2021

@KristianOellegaard Given that the releases have been published to PyPI by other means, I bet attempting to re-run those actions would fail. Maybe it is better to wait for the next release?

Otherwise maybe publishing a post-release would be appropriate to test the token so this issue can be safely closed now. 3.16.2.post1 according to https://www.python.org/dev/peps/pep-0440/#post-releases ?

@codingjoe
Copy link
Collaborator

codingjoe commented Feb 18, 2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants