scientific-python / pytest-doctestplus

Pytest plugin providing advanced doctest features
Other
94 stars 38 forks source link

Zenodo DOI not tied to GitHub release anymore #234

Closed pllim closed 9 months ago

pllim commented 9 months ago

I am unable to find this repo under my Zenodo account for webhook activation. Not sure who can.

The DOI listed in README is currently pointed to old versions.

pllim commented 9 months ago

The webhook gives Error 409 on GitHub side. I cannot see this repo at all on Zenodo side, maybe need @jarrodmillman or @stefanv to activate Zenodo side webhook for scientific-python/pytest-doctestplus as org owners?

jarrodmillman commented 9 months ago

Is this or this relevant?

pllim commented 9 months ago

@jarrodmillman , I am not sure. I just know I cannot see any scientific-python repos in my Zenodo account. I can see my own stuff, astropy, and spacetelescope orgs. I did resync on my Zenodo GitHub page a few hours ago, still nothing.

jarrodmillman commented 9 months ago

Would you mind trying the steps in this comment?

I tried enabling Zenodo as an org owner and couldn't find anything to do. If you have something specific you want me to try let me know, but I couldn't find anything that I could/should do.

pllim commented 9 months ago

@jarrodmillman , ah, sorry I missed that part. I clicked a button. Now it says:

Zenodo -> Organizational Access -> Scientific Python -> Access Request Pending

jarrodmillman commented 9 months ago

I just approved your request for Zenodo access to the scientific-python org. Let me know if you need anything else.

pllim commented 9 months ago

Phew, finally see it and I toggled it (back) on. Thanks!

I am going to delete the GitHub Release and re-create it from the same tag. Since the webhook was not enabled at all (instead of enabled but broken), I cannot just redeploy an old payload.

pllim commented 9 months ago

Yay, it worked! https://zenodo.org/records/10402248

Thanks again for the help! 🎅

bsipocz commented 9 months ago

I am going to delete the GitHub Release and re-create it from the same tag

For the sake of completeness, shall we do the same for 1.0.0?

Also, do you know how I can make this, and my other libraries show up in my zenodo dashboard?

pllim commented 9 months ago

For the sake of completeness, shall we do the same for 1.0.0?

Oh, hmm. Theoretically, you can delete https://github.com/scientific-python/pytest-doctestplus/releases/tag/v1.0.0 and then recreate it from the 1.0.0 tag, but I don't know if doing that after 1.1.0 would mess up the listing on Zenodo or not, because of the timestamps from which it received those webhook events.

how I can make this, and my other libraries show up in my zenodo dashboard?

Did you click the resync on your Zenodo page for GitHub integration? I find that I had to click resync, and wait a bit for it to finish, and then reload that page on my browser.

drammock commented 9 months ago

I don't know if doing that after 1.1.0 would mess up the listing on Zenodo or not

having recently needed to push some missing releases to Zenodo for MNE-Python, I can confirm that you need to do them in order, because Zenodo will link "current" to whatever version was most recently picked up by its GH hook (regardless of the version number / label attached to the release)

bsipocz commented 9 months ago

Oh, bummer then.

@pllim - Also, my zenodo still behaves weirdly, maybe if you have 5-10 minutes of time to zoom we could sort it out? (still nothing shows up on the dashboard but a couple of slidedecks, etc.)

pllim commented 9 months ago

@bsipocz , alas it is getting late here on East Coast. How about we arrange something for tomorrow Tue before 3 PM Eastern? Please DM. Thanks!