psf / black

The uncompromising Python code formatter
https://black.readthedocs.io/en/stable/
MIT License
39.04k stars 2.46k forks source link

Run PyPI release workflow weekly on `main` targeting TestPyPI #3206

Open ichard26 opened 2 years ago

ichard26 commented 2 years ago

With the (soon to be) introduction of mypyc into our release pipeline, releasing now means rolling the dice on whether the release automation will break or not. This would be extremely annoying and add considerable stress to an already tense situation (cutting a new release).

I have access to TestPyPI's black project now. Let's run the PyPI release workflow weekly (or biweekly maybe?) and push the distributions to TestPyPI for proper e2e testing.

Credits go to @cooperlees for the suggestion.

felix-hilden commented 2 years ago

Nice, weekly seems rare enough and we might catch a rare dependency issue sooner as well if we also perform tests.