-
-
Notifications
You must be signed in to change notification settings - Fork 34
Release
Jitse Niesen edited this page Sep 3, 2024
·
10 revisions
- Generate changelog: Run
loghub spyder-ide/spyder-unittest --milestone vx.y.z - Edit changelog and commit
- Bump version number in
spyder_unittest/__init__.py - Remove non-versioned files: Run
git clean -xfdi - Create source distribution: Run
python setup.py sdistin root - Check that source distribution does not contain any unnecessary files (e.g., cache,
.pyc) - Create wheel: Run
python setup.py bdist_wheel - Test wheel: Uninstall current plugin and run
pip install --no-deps dist/spyder_unittest-xxx.whl - Check that
dist/contains only the source distribution and wheel that you want to upload - Upload to PyPI: Run
twine upload dist/* - Test: Uninstall current plugin and run
pip install --no-deps spyder-unittest - Commit
spyder_unittest/__init__.py - Create a version tag on above commit: Run
git tag -a vx.y.z - Change version number in
spyder_unittest/__init__.pyto....dev0and commit and push - If building conda package:
- Wait for bot to submit PR or edit
meta.yamlin fork ofspyder-unittest-feedstock, changing version number and hash computed withsha256sum dist/spyder_unittest-x.y.z.tar.gz, test withconda build conda.recipe, and submit PR - When automatic tests on PR finish successfully, merge PR
- Wait for CI to build Conda package
- Test Conda package: Uninstall current plugin and run
conda install spyder-unittest
- Wait for bot to submit PR or edit
- Push commits and version tag to
spyder-iderepo: Rungit push remote_name vx.y.z - Use GitHub to edit tag and publish release
- Announce release on Google Groups