-
Notifications
You must be signed in to change notification settings - Fork 29
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
1.10.0 release #219
1.10.0 release #219
Conversation
Merging to match the manually published 1.10 |
Nope, no cigar: the deployment error blocks merging. Error details: gh-220 why on earth do we construct a bunch of hoops to jump through, instead of |
This diff looks fine, so we should change the auto-deploy to trigger on something else. It looks like it just takes the version number, which isn't ideal. Better to have to push a signed tag or some such thing. |
The auto-deploy is triggered on a tag, actually: The pypi release has been made locally from an identical branch, and ATM the main branch is missing the 1.10 commits. |
That doesn't sound right, it builds the tagged commit, and that commit can be on any branch: array-api-compat/.github/workflows/publish-package.yml Lines 3 to 8 in cdd1c8d
And then the actual upload to PyPI is done only if the build is from a tag rather than from array-api-compat/.github/workflows/publish-package.yml Lines 108 to 109 in cdd1c8d
|
Indeed, the upload is from the tag, here I stand corrected. The point about main and 1.10 tag being out of sync still stands. I can try pushing a signed tag for 1.10.1 or something. Feels like debugging in prod though :-). |
I think the right fix is to add an extra commit here bumping the version number to The second part of the fix is to just not do the manual upload again, but follow the release procedure in the docs. Trusted publishing may need a small tweak, but it should work fine unless there are test failures. |
Please do confirm that the commit in this PR is the actual commit you tagged as |
Yeah that's a generic problem with trusted publishing - when it works it is great, and when tests are flaky it's not so great. Anyway, please reserve judgement until you've tried it a few times according to the docs. |
OK, I tried bumping the version in this branch, but it is still help up by a failed upload IIUC.
Confirmed:
No judgement from me. Just an observation that the total time spent on this already is way larger than not using all this trusted publishing. Even if we don't include Aaron's participating in pypa/gh-action-pypi-publish#283 |
beac55b
No description provided.