-
Notifications
You must be signed in to change notification settings - Fork 4
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
Implement hynek/build-and-inspect-python-package
in python-package-create.yml
#137
Conversation
0739c7b
to
b86cec9
Compare
hynek/build-and-inspect-python-package
hynek/build-and-inspect-python-package
in python-package-create.yml
This change replaces the current package building with hynek/build-and-inspect-python-package; it is quite similar to the current process:
So, along with our current checks, we gain I'm also expecting this Action to add support for the upcoming support within PyPI for declaring provenance....which we should be able to get more or less for free. Along with beeware/briefcase#1839 and beeware/beeware#371, I'll need to update the repos below to properly use this new version of
I'll pause here, though, to ensure there aren't general objections to using Hynek's GitHub Action for this purpose. |
Also, here's an example of the attestation working for BeeWare: https://github.com/beeware/.github/attestations This PR (as well as any PR from a fork) cannot create attestations; so, I created these initial ones using #138. This means we can't enable attestations across the board; instead, the |
tl;dr - no objection to adopting this. As you've described - Hynek is well known in the Python ecosystem, and he sweats the little details when it comes to issues like CI and packaging; so if we can leverage his work, all the better. |
190d584
to
ab3504b
Compare
a570e8b
to
f9dbf70
Compare
I created #139 to introduce a GitHub Action to run |
I think the big difference is that pre-commit is something that everyone needs to run, but packaging is something that, ideally, nobody should be running. Manual packaging is a definite edge case; if we end up in that hole, I'd suggest we'd be better served re-running the workflow and trashing a release than trying to fix it manually. So - since we're doing all this re-org across all the projects, my inclination is to trash the tox configs while we're at it.
Ah - I forgot that tox is using this one as well.
... I mean ... |
All right...
Now that |
I looked at bit at these today; while they may benefit from implementing the |
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.
👍
I presume the process from here is that this needs to be landed, then one last CI pass on all the downstream repos for confirmation, then land those repos?
Yep; this one first and then the others. It may be sufficient to just re-run the failed CI run....but with how GitHub caches, I may need to re-push the commit. |
Changes
Implementations
PR Checklist: