Releases: patrick-kidger/action_update_python_project
Releases · patrick-kidger/action_update_python_project
v8
Added optional arguments:
pypi-repository-url: What PyPI repository to use. Defaults to'https://pypi.org/'checkout: Whether to check out the repository. Set tofalseto disable this if you've already done this in an earlier step.allow-first-release: Whether to allow a first release to PyPI. Defaults tofalse, to avoid accidentally pushing code publicly until you're ready. (We generally recommend pushing a first release manually when you're ready, but this flag can be useful if you're pushing to an internal PyPI repository that only your CD has authentication for.)
In addition:
- Set
python-version: falseto not install any Python version. - Set
pypi-token: falseto upload topypi-repository-urlwithout attempting to authenticate. (For example, if using a cloud provider's PyPI implementation, and you have already authenticated with that cloud provider in an earlier step.)
v7
Now using uv as it supports installing deps without the current project.
v6
Removed the PyPA action for pushing to PyPI, which seems to have become unreliable. Now just using twine directly.
(Skipping the v5 release as this was stuck using the old broken PyPA action.)
v4
Removed email notifications. The emailing itself has always ended up being flakier than running the tests, so removed this functionality.
v3
v2
- Updated to handle deprecation of Python's setuptools
- Updated to handle deprecation of GitHub Action's ::set-output.
- Now requires pyproject.toml.
Action_update_python_project v1
Initial release!