- Use a recent Python (>=3.8 recommended).
- Install development dependencies:
pip install -e .[dev]
- Run code quality checks:
ruff check . black --check . pytest
- Update
CHANGELOG.mdand bump the version inpyproject.tomlandsrc/gitlab_users/__init__.py. - Commit and tag the release:
git add . git commit -m "Release vX.Y.Z" git tag vX.Y.Z git push && git push --tags
- The GitHub Actions workflow will automatically build and publish the package to PyPI when a tag
v*is pushed tomain/master.
Manual build/publish (optional):
python -m build
twine upload dist/*