From 73f60608aec6f1e0f9809693f98efbaa2c90bc9d Mon Sep 17 00:00:00 2001 From: Carlos Cordoba Date: Thu, 7 Sep 2023 17:33:45 -0500 Subject: [PATCH 1/2] Update release instructions --- RELEASE.md | 33 +++++++++++++++++++-------------- 1 file changed, 19 insertions(+), 14 deletions(-) diff --git a/RELEASE.md b/RELEASE.md index e63591d..e0c9525 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -1,17 +1,22 @@ -To release a new version of python-lsp-jsonrpc: +## Before the release: + +1. Create pull request to update CHANGELOG.md with + * `loghub python-lsp/python-lsp-jsonrpc -m vX.X.X` + * git add -A && git commit -m "Update changelog for X.X.X" + + This is necessary to run our tests before the release, so we can be sure + everything is in order. + +## To release a new version of python-lsp-jsonrpc: + 1. git fetch upstream && git checkout upstream/master 2. Close milestone on GitHub 3. git clean -xfdi -4. Update CHANGELOG.md with loghub -5. git add -A && git commit -m "Update Changelog" -6. Update release version in ``_version.py`` (set release version, remove 'dev0') -7. git add -A && git commit -m "Release vX.X.X" -8. python setup.py sdist -9. python setup.py bdist_wheel -10. twine check -11. twine upload -12. git tag -a vX.X.X -m "Release vX.X.X" -13. Update development version in ``_version.py`` (add 'dev0' and increment minor) -14. git add -A && git commit -m "Back to work" -15. git push upstream master -16. git push upstream --tags +4. git tag -a vX.X.X -m "Release vX.X.X" +5. python -m pip install --upgrade pip +6. pip install --upgrade --upgrade-strategy eager build setuptools twine wheel +7. python -bb -X dev -W error -m build +8. twine check --strict dist/* +9. twine upload dist/* +10. git push upstream --tags +11. Create release on Github From 87bc2e69253c5fd9e2c2ed286538baf1e1443410 Mon Sep 17 00:00:00 2001 From: Carlos Cordoba Date: Thu, 7 Sep 2023 17:35:34 -0500 Subject: [PATCH 2/2] Update changelog for 1.1.0 --- CHANGELOG.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2c592da..7cd3dbe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,29 @@ +# History of changes + +## Version 1.1.0 (2023/09/07) + +### Issues Closed + +* [Issue 11](https://github.com/python-lsp/python-lsp-jsonrpc/issues/11) - Drop support for Python 3.6 ([PR 16](https://github.com/python-lsp/python-lsp-jsonrpc/pull/16) by [@ccordoba12](https://github.com/ccordoba12)) + +In this release 1 issue was closed. + +### Pull Requests Merged + +* [PR 21](https://github.com/python-lsp/python-lsp-jsonrpc/pull/21) - Drop support for Python 3.7, by [@ccordoba12](https://github.com/ccordoba12) +* [PR 20](https://github.com/python-lsp/python-lsp-jsonrpc/pull/20) - Allow method handlers to return json rpc errors, by [@smacke](https://github.com/smacke) +* [PR 16](https://github.com/python-lsp/python-lsp-jsonrpc/pull/16) - Make necessary changes to drop support for Python 3.6, by [@ccordoba12](https://github.com/ccordoba12) ([11](https://github.com/python-lsp/python-lsp-jsonrpc/issues/11)) +* [PR 15](https://github.com/python-lsp/python-lsp-jsonrpc/pull/15) - Drop Python 3.6 on CIs and start testing with Python 3.10, by [@ccordoba12](https://github.com/ccordoba12) +* [PR 14](https://github.com/python-lsp/python-lsp-jsonrpc/pull/14) - Migrate metadata from `setup.cfg` to PEP 621-compliant `pyproject.toml`, by [@KOLANICH](https://github.com/KOLANICH) +* [PR 10](https://github.com/python-lsp/python-lsp-jsonrpc/pull/10) - Use f-strings wherever possible, by [@ccordoba12](https://github.com/ccordoba12) +* [PR 9](https://github.com/python-lsp/python-lsp-jsonrpc/pull/9) - Add license info to setup.py so it will show up in wheel installs., by [@itsbenweeks](https://github.com/itsbenweeks) +* [PR 8](https://github.com/python-lsp/python-lsp-jsonrpc/pull/8) - Move the package metadata from setup.py to setup.cfg, by [@KOLANICH](https://github.com/KOLANICH) +* [PR 4](https://github.com/python-lsp/python-lsp-jsonrpc/pull/4) - PR: Fix typos in readme, by [@yaegassy](https://github.com/yaegassy) + +In this release 9 pull requests were closed. + +---- + ## Version 1.0.0 (2021/04/14) ### Issues Closed