Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Enable PyPI publishing from GitHub Actions#27563

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
dstansby merged 2 commits intomatplotlib:mainfromQuLogic:pypi-publishing
Jan 11, 2024

Conversation

QuLogic
Copy link
Member

PR summary

Also bump theartifacts actions to v4.

Note that normally the wholepublish job should be skipped on non-release events, but I want to confirm that theartifacts download stuff works.

PR checklist

@QuLogicQuLogic added Maintenance CI: Run cibuildwheelRun wheel building tests on a PR labelsDec 23, 2023
@QuLogicQuLogic added this to thev3.9.0 milestoneDec 23, 2023
@QuLogicQuLogic marked this pull request as draftDecember 23, 2023 10:04
@QuLogicQuLogicforce-pushed thepypi-publishing branch 2 times, most recently from83bb4f8 tobfdd037CompareJanuary 4, 2024 04:17
@QuLogic
Copy link
MemberAuthor

We do successfully have all the wheels we'd like, I think:
https://github.com/matplotlib/matplotlib/actions/runs/7405461070/job/20149100577?pr=27563#step:4:5

I'm going to revert this back to only attempting to publish when there's an actual tag.

@QuLogic
Copy link
MemberAuthor

The remaining question is whether the nightly upload workflow will continue to work, i.e., whether the download procedure there is compatible with actions/artifacts@v4. Do you have any idea about this@matthewfeickert?

@matthewfeickert
Copy link
Contributor

The remaining question is whether the nightly upload workflow will continue to work, i.e., whether the download procedure there is compatible with actions/artifacts@v4.

@QuLogic Sadly I think the answer is no, without refactors. On 2023-12-15@henryiii alerted the IRIS-HEP Slack to this with the following

PSA: make sure you know the consequences before you merge upload/download-artifact’s v4 updates. Upload artifact no longer merges artifacts automatically, which is a massive change and breaks pretty much all cibuildwheel or coverage workflows. Also websites with pyodide workflows. Etc.

Actually though, you may be good as@henryiii is awesome andupdatedsp-repo-review to be able to automatically check for this andhttps://learn.scientific-python.org/development/guides/repo-review/?repo=matplotlib%2Fmatplotlib&branch=main shows that GH104

GH104 Use unique names for upload-artifact ✅

is checked as working! However, things broke forpyhf and we also were checked off as passing. :/ (haven't had time to debug this yet, so might be different)

I have yet to go through and fix things for my own projects yet (I've been AFK on holiday and my only laptop died so I have only recently gotten a loaner that I can use) so once I do that (probably next week) I can open a PR formatplotlib that would migrate the actions tov4 but if you don't want to take the time to debug that now then I would suggest staying onv3 and then updating tov4 in a new PR.

with:
name: sdist
name:cibw-sdist
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Ah@QuLogic sorry I didn't review before commenting, but given that you've given distinct names I think everything is fine as you're doing what@henryiii did inhttps://github.com/scientific-python/cookie/pull/350/files. So I think this is good (without having done it myself). 👍

@henryiii
Copy link

Pyhf seems to have updated one but not both actions. You have to have them match.

matthewfeickert reacted with thumbs up emoji

@dstansby
Copy link
Member

This looks good to me. I'm not sure what this warning is referring to though, and can't find any other info on it:

Screenshot 2024-01-11 at 11 19 43

@QuLogic do you is this safe to ignore before merging?

@ksunden
Copy link
Member

I believe that error was in testing when it was enabled to go further than it usually is for PRs.

@QuLogic
Copy link
MemberAuthor

Yes,@ksunden is correct; I was testing out thefull workflow and removed all conditionals, so it "failed" at the end because it's not possible to deploy from the fork.

matthewfeickert reacted with thumbs up emoji

@dstansbydstansby merged commitc8f0c06 intomatplotlib:mainJan 11, 2024
@QuLogicQuLogic deleted the pypi-publishing branchJanuary 11, 2024 20:30
@tacaswell
Copy link
Member

@dstansby We were just talking about this on the call and I was about to also hit the green button! Feel free to join for the next 30 minutes :)

@QuLogic
Copy link
MemberAuthor

Looks like I missed an artifact name in the nightly upload, which should be fixed in#27643.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@ksundenksundenksunden approved these changes

@matthewfeickertmatthewfeickertmatthewfeickert approved these changes

@dstansbydstansbydstansby approved these changes

Assignees
No one assigned
Labels
CI: Run cibuildwheelRun wheel building tests on a PRMaintenance
Projects
None yet
Milestone
v3.9.0
Development

Successfully merging this pull request may close these issues.

6 participants
@QuLogic@matthewfeickert@henryiii@dstansby@ksunden@tacaswell

[8]ページ先頭

©2009-2025 Movatter.jp