-
Notifications
You must be signed in to change notification settings - Fork 206
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
Modern CI and Python Tooling #206
Conversation
Everything looks great so far! Fantastic work @svenevs ! |
@ryan-roemer we should use TestPyPI, can you please
I'm looking into generative numbering schemes at the moment, want to see what we can do for deployment on TestPyPI first 🙂 If it works as we expect it to, then we'll ultimately need to redo steps 3 and 4 for the real PyPI and save it in a different secret |
@svenevs -- I created an account. Do you have a |
Hehe ... I couldn't figure it out either, but apparently if you just try and upload a package then you get to claim it. I did this, and added you as owner collaborator there. Will start playing with TestPyPI uploads via CI now :) |
[testpypi] now we should fail with the expected message=
…not?!) i'm pretty over how limited this is ... [testpypi]
let us [testpypi]
let us again [testpypi]
so then now lets see can we [testpypi]
because ... why?????!!!! [testpypi] please
close to rage quitting [testpypi]
@ryan-roemer sorry for all the spam, it's actually very difficult to obtain the commit message via GitHub actions. Now that you are a maintainer on Test PyPI, can you complete steps 3 and 4 here? #206 (comment) I want to make sure the uploads work as we expect, and then propose an alternative approach to tracking version numbers in |
@svenevs -- Thanks for your continued work! I generated a token scoped to this package and added it to secrets in this repo as |
Tested out |
Any update on this ? 😉 |
@ryan-roemer I'm so sorry, this completely fell through the cracks (I went into open source shutdown...). I've added instructions, please review the revised contributing section as well as the packaging section beneath it to make sure you understand how things work here. My recollection is you wanted help here getting the python stuff updated, this should be a good release setup for you but if anything doesn't make sense please ask! Link to read rendered rst: https://github.com/ryan-roemer/sphinx-bootstrap-theme/tree/feat/modern-ci-py-tooling#contributing Doing anything fancy with commit messages for Test PyPI is an exercise in futility, or at least I don't like it and don't intend to finish that work. Some followups here before merging:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @svenevs
Thanks so much for picking this up! I've done a final re-review and AFAICT we're all good and ready to get this merged soon.
For your questions:
- Sounds fine.
- Yeah, go ahead and remove that whole sentence around the link
- I'm fine with that same email in place (as it's been there for a long time so far anyways). But thanks for the consideration!
From here, once linkcheck works and CI's all green please go ahead and do the full merge (I usually do squash and merge by preference, but it's totally up to you) and let's see how everything goes!
And from there, maybe we next push a tag and see if we can do a "real" release!
Squash merge FTW, especially with all the garbage commits above hehe.
SO CLOSE! hehe. |
Oh, since redploy is going to happen, before you re # get rid of the otherwise to be duplicated v0.8.0 build
$ git checkout gh-pages
$ git reset --hard HEAD~1
$ git push -f
# now tag and redploy after setting pypi_password
$ git checkout master
$ git tag v0.8.0
$ git push --tags This is so exciting 🙃 |
@svenevs Haha, I never got around to setting I'll try to get to all the remaining work you have above this weekend or Monday if I get overloaded with kid wrangling... |
Oh hehehehe ok. For the most part just follow the instructions here: https://packaging.python.org/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/#saving-credentials-on-github But in our case, it needs to be saved in the secret store as
I can do the redeployment if you prefer, just need the token password from you first. |
Happy to see this merged, congrats for the good work! |
Thanks for sorting this fellas! |
* upstream/master: CI: Update py3 matrix (ryan-roemer#222) setup.cfg: Replace dash-separated options (ryan-roemer#218) Bump to dev version post release Modern CI and Python Tooling (ryan-roemer#206)
Sorry for this falling off my radar. Per our original discussion goals:
sphinx-build --version
.examples.rst
, there seems to be a major problem with the sphinx javascript domain and linking parameters. Just switched to C++ instead...not our problem. AKA prefer nitpicky / warnings=error over sample js code.CC: @jorisvandenbossche ref: #201