AstuteSource / chasten

:dizzy: Chasten Uses XML and XPATH to Check a Python Program's AST for Specified Patterns!
https://pypi.org/project/chasten/
GNU General Public License v2.0
7 stars 8 forks source link

Automate Version Updates For PyPi #80

Closed boulais01 closed 7 months ago

boulais01 commented 9 months ago

The current problem is that version updates to the .toml must be made manually.

Ideally, this can be automated, although it is said this will make the publish.yml file a little more complicated, I expect the tradeoff will be worth it in the long run.

boulais01 commented 8 months ago

@VitalJoseph @KellerLiptrap Have you made any progress on this? Remember that @MilesF25 and @AidanNeeson have some experience with this.

boulais01 commented 7 months ago

https://dev.to/iamtekson/publish-package-to-pypi-and-release-new-version-using-github-actions-108k

boulais01 commented 7 months ago

Please give a progress update on this before 5pm today, as the goal was for this to be done at 2:30pm today.

MilesF25 commented 7 months ago

I added code for the automation but I'm not sure how to test without trying to push to PyPi. Would it be better to test pushing with this branch or should we merge then test?

boulais01 commented 7 months ago

That is an excellent question, @MilesF25. Perhaps we can get some input from @AidanNeeson and @gkapfham on the best course of action here?

AidanNeeson commented 7 months ago

@boulais01 or @MilesF25, could we open a pull request for the branch that contains these changes? It would be better to have a discussion there, as I have a few comments and questions coming from what I looked at. Thanks!