-
Notifications
You must be signed in to change notification settings - Fork 43
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
Pipy release #106
Comments
In spirit of other Red Hat communications (molecule#4067), as a packager I would very much appreciate if we could get v3.13.0 pushed to PyPi. |
I no longer understand how to publish things in PyPI. I could figure it out [again], but I just haven't had time. At one point I noticed some random person had published something under the name 'pyparted' which was a release I made, but it wasn't done by me and that prevented me from using the name 'pyparted'. If I remember correctly. But I'll put this on the to do list of things to figure out, hopefully before PyPI is deprecated and is replaced. FWIW, For releases I make signed tags in git and attach the release tarball and signature to a Release announcement here. I don't retag anything. If something needs changing, I make a new release. Checking for new releases here can also be done with git:
|
I have reset my PyPI account and updated everything that was outdated on it and enabled 2FA. Next I need to read through how to set up GitHub publishing, but I won't be able to get to that until I return to work. I am currently on PTO/company shutdown and have family obligations. |
wait, Im confused. You are the owner of this package right? https://pypi.org/project/pyparted/ And you dont need to publish a package to pypi through github, you can do it in the CLI. If you already have a tarball and all this should be pretty straightforward |
Tbh setting up a GitHub runner that does PyPi publishing for you is the smarter way from what I'm hearing. Our runner isn't the gold standard, but it works: You'll need to go to your project settings on PyPi, generate a auth token. Then add two variables:
This is if you want a copy paste friendly example and instructions that match. Runner in action: https://github.com/archlinux/archinstall/actions/runs/8187426692 |
@dcantrell while you get the automation of publishing to pypi sorted out, how about manually pushing version 3.13 to pypi? I' m still confused as to why this hasnt happened yet, if the newest version isn't in pypi your users wont ever use it (most wont even realise it exists, we only found it out do to the still unexplained downgrade that broke my pipeline) |
The pypi docs for local publishing was a bit meh to follow. Perhaps it's tricky to get the local conf sorted? |
Any updates on this? |
Seeing as setting up the automation didn't really stick.
If you don't have access to your Press
And proceed to compile + upload as instructed above. The reasoningThe reason why we need this, is that we do as you point out:
We look for new releases (often using However, when people do We're really trying our best here to help out, and short of offering to jump on a jitsi call, I believe 2-3 commands to get this out of the way - is the simplest and quickest solution to this. No code/changes needed, we just need the |
…e hasn't been an update on pypi.org for pyparted in almost 12 months. Tracking issue dcantrell/pyparted#106
…e hasn't been an update on pypi.org for pyparted in almost 12 months. Tracking issue dcantrell/pyparted#106 (#2494)
@dcantrell here's a step-by-step guide! We're still in dire need of that release. step-by-step guide$ pip install setuptools build installer twine
$ git clone https://github.com/dcantrell/pyparted.git /tmp/pyparted
$ cd /tmp/pyparted
$ git checkout v3.13.0
$ python -m build . --wheel
$ TWINE_USERNAME=__token__ twine upload dist/*
Enter your API token: <-- Paste your access token here Generate a new token here: https://pypi.org/manage/account/token/ After you're done, remove the token if you're unsure of how to store it safely. And then there's no harm done. |
Is there a reason as to why the newest pyparted version was not pushed to pypi?
The text was updated successfully, but these errors were encountered: