-
Notifications
You must be signed in to change notification settings - Fork 15
Upgrade version of intuit/auto to use for releases to current 11.3.6, add use of "released" plugin, configure release action to act on dispatch event #346
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
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #346 +/- ##
=======================================
Coverage 97.89% 97.89%
=======================================
Files 18 18
Lines 2370 2370
=======================================
Hits 2320 2320
Misses 50 50
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
IDK if it will but you can see I have no problem using more dedicated workflows for PyPI (with on release trigger) in conjunction with auto And the latest and greatest recommended approach requires configuring various things on the PyPI side, see #345 |
|
@yarikoptic I think for the release job |
Additionally, I think we need to remove the c2e8ce1 commit altogether, just to be consistent. |
candleindark
left a comment
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 am requesting change here to bring to the awareness of #346 (comment) which we must do for this PR to release successfully.
|
@candleindark just to make sure -- why you think we can't just proceed and release 0.12.1 with the fix? as far as I can see everything else worked out besides the pypi release! edit: although indeed it might be cleaner in longer run to just redo release fully... so I will do those deletions/reverts since it seems that dandi/schema did not get this updated schema either since it is done in the step after...
As far as we use auto, I would prefer to concentrate all release components within it to avoid duplication of some additional "dedicated workflows". Having said that, I see that in dandi-cli we have a "dedicated" custom invocation of twine in .autorc since 2021 where release workflow got actually simplified, and indeed I have missed that |
Also I removed the comment which is no longer applicable since described reasoning for some older version but did not state that we had to stick to that one
…nable for workflow_displatch That would match better how we do releases in dandi-cli which originally also started similarly. Also this adds 'released' plugin so we would get issues and PRs annotated here with released versions as well
Sure release 0.12.1 will work. However, if you choose that route, we will need to do the following.
Let me know which route you choose. |
|
ok, I think I have done all the evil needed, so we should be all set to proceed with this as minor release as prior PR had that label already. for completeness: AFAIK there were no need to add My laptop burned through battery for some reason, so I need to suspend it -- if all looks kosher -- please merge. If not - please fix up and merge . I will check when I get power |
|
I don't think 30cb23a has any benefit aside from adding the dandi-schema/.github/workflows/release.yml Lines 119 to 134 in 30cb23a
Additionally, I think using a hook of auto, Lines 8 to 11 in 30cb23a
I suggest removing the last commit, add the |
|
I would argue for the opposite that we have too much craft in ci workflow, and I do like released plug-in quite a bit, and that as long as we release with auto - we should place everything within auto so could be released outside of ci ATM I can't discuss and since there is no consensus and since prior release attempt failed likely just due to outdated token - @candleindark please prepare minimal PR to your liking to trigger release and we will discuss these changes later. |
I am in favor of a distinct workflow to keep scopes and responsibilities cleaner. Uploading the release to PyPI is not duplicated effort from performing a GitHub release, it is a subsequent step of a pipeline. Same as how a conda-forge release is a distinct and separate step from the PyPI upload. |
#348 is created. It is target to merge into this one. If you don't merge it to this one but to the master branch, make sure appropriate labels are added. I have updated the PyPi token in this repo earlier today, so as long as the Once a new version is published, I will inform the archive team to pin dandischema in dandi/dandi-archive#2584 to that version. |
|
Work my arguments above for harmonizing and also seeing that archive also uses released plug-in, I will just proceed and we will discuss further later |
Also I removed the comment which is no longer applicable since described reasoning for some older version but did not state that we had to stick to that one
The hope is that it would help addressing some aspects (outdated pypi api usage etc) of