Skip to content

Conversation

@stes
Copy link
Member

@stes stes commented Jan 17, 2026

Release 0.6.0

This PR performs some additional minor edits:

  • Add verbose tags to the pypi uploads; useful for debug messages if sth goes wrong
  • Set the matplotlib backend for all tests to Agg -- this made some of the windows plotting tests fail
  • Until Timeline for 0.7.0 pypi release? twmr/pytest-sphinx#69 is resolved, manually install the package version for py3.13/3.14 compatibility from the github release page.

Checklist:

  • Make sure all tests pass on the rc branch. Also make sure that the milestone related to this release is fully done. Move issues that wont make it into the release to the next milestone, then close the milestone.
  • Head to cebra.__init__ and make sure that the __version__ is set correctly.
  • Create a PR between rc and main
  • Tag the PR with the release label.
  • A github action will be run -- if it doesnt start, try removing and re-adding the release label (step 4).
  • Carefully check that the release looks fine --- the version from the PR will be pushed to release-staging and staging in the cebra-internal repo. Note: If you update the PR, these version will not be automatically updated. Repeat step 4 or trigger a manual workflow run if you need to update the staging version
  • If all looks good, tests pass and the PR is reviewed, merge the PR using rebase merging.
  • Delete the branch
  • Checkout the updated main branch, git tag v1.2.3 with the correct format (if alpha/beta tags are used in version, use v1.2.3a4 or v1.2.3b4), and git push v1.2.3 the tag.
  • Pushing the tag will update the release in cebra-internal. The source tree will land on main, the pre-build wheel and source distribution on release.

@cla-bot cla-bot bot added the CLA signed label Jan 17, 2026
@stes stes self-assigned this Jan 17, 2026
@stes stes marked this pull request as ready for review January 17, 2026 21:09
@stes stes requested a review from MMathisLab January 17, 2026 21:09
@stes
Copy link
Member Author

stes commented Jan 17, 2026

@MMathisLab seems to be fixed

If you approve I'll release

Copy link
Member

@MMathisLab MMathisLab left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💖🔥

@stes stes added release PR is intended for release to PyPI and removed release PR is intended for release to PyPI labels Jan 17, 2026
@stes
Copy link
Member Author

stes commented Jan 17, 2026

we are still using the legacy testpypi, needs to be updated https://packaging.python.org/en/latest/guides/migrating-to-pypi-org/#using-testpypi

@stes stes removed the release PR is intended for release to PyPI label Jan 17, 2026
@stes
Copy link
Member Author

stes commented Jan 17, 2026

ok, this is the issue

* Building sdist...
/tmp/build-env-6y7hihxf/lib/python3.12/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        ********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX license expression:

        License :: OSI Approved :: Apache Software License

        See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
        ********************************************************************************

!!
  self._finalize_license_expression()

Solution described here https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license

@stes
Copy link
Member Author

stes commented Jan 17, 2026

image

https://spdx.org/licenses/

--> Apache-2.0

@stes
Copy link
Member Author

stes commented Jan 17, 2026

Updated; old license classifier in setup.cfg removed (see here pypa/trove-classifiers#17 (comment))

@stes stes added release PR is intended for release to PyPI and removed release PR is intended for release to PyPI labels Jan 17, 2026
@stes stes added the release PR is intended for release to PyPI label Jan 17, 2026
@stes stes added release PR is intended for release to PyPI and removed release PR is intended for release to PyPI labels Jan 17, 2026
@stes
Copy link
Member Author

stes commented Jan 17, 2026

Finally, all tests pass

https://test.pypi.org/project/cebra/0.6.0/

image

@stes stes merged commit 493ed25 into main Jan 17, 2026
15 checks passed
@stes stes deleted the stes/release-0.6.0 branch January 17, 2026 22:38
@stes
Copy link
Member Author

stes commented Jan 17, 2026

main tests pass as well

image

@stes
Copy link
Member Author

stes commented Jan 17, 2026

published https://pypi.org/project/cebra/0.6.0/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA signed release PR is intended for release to PyPI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants