File tree Expand file tree Collapse file tree 3 files changed +12
-5
lines changed Expand file tree Collapse file tree 3 files changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -181,6 +181,7 @@ jobs:
181181 runs-on : ubuntu-latest
182182 permissions :
183183 id-token : write
184+ attestations : write
184185
185186 # upload to PyPI only on release
186187 if : github.event.release && github.event.action == 'published'
Original file line number Diff line number Diff line change 88import logging
99from typing import Any , Dict
1010
11- __version__ = "4.4.0-rc.1 "
11+ __version__ = "4.4.0-rc.2 "
1212__all__ = [
1313 "ASCReader" ,
1414 "ASCWriter" ,
Original file line number Diff line number Diff line change @@ -117,13 +117,19 @@ Creating a new Release
117117- Update ``CONTRIBUTORS.txt `` with any new contributors.
118118- For larger changes update ``doc/history.rst ``.
119119- Sanity check that documentation has stayed inline with code.
120- - Create a temporary virtual environment. Run ``python setup.py install `` and ``tox ``.
121- - Create and upload the distribution: ``python setup.py sdist bdist_wheel ``.
122- - Sign the packages with gpg ``gpg --detach-sign -a dist/python_can-X.Y.Z-py3-none-any.whl ``.
123- - Upload with twine ``twine upload dist/python-can-X.Y.Z* ``.
124120- In a new virtual env check that the package can be installed with pip: ``pip install python-can==X.Y.Z ``.
125121- Create a new tag in the repository.
126122- Check the release on
127123 `PyPi <https://pypi.org/project/python-can/#history >`__,
128124 `Read the Docs <https://readthedocs.org/projects/python-can/versions/ >`__ and
129125 `GitHub <https://github.com/hardbyte/python-can/releases >`__.
126+
127+
128+ Manual release steps (deprecated)
129+ ---------------------------------
130+
131+ - Create a temporary virtual environment.
132+ - Build with ``pipx run build ``
133+ - Create and upload the distribution: ``python setup.py sdist bdist_wheel ``.
134+ - Sign the packages with gpg ``gpg --detach-sign -a dist/python_can-X.Y.Z-py3-none-any.whl ``.
135+ - Upload with twine ``twine upload dist/python-can-X.Y.Z* ``.
You can’t perform that action at this time.
0 commit comments