Some general notes and guidelines.
On NixOS, an attempt to create a venv locally and running pip install -r requirements.txt will fail, because
some of the pulled in pip wheels will attempt to compile the cffi package.
This requires the libcffi C library to be linked during the build, causing pip to fail on NixOS.
To fix this, use the provided shell.nix, which will pull in the required dependencies from nixpkgs rather
than installing them using pip and requirements.txt:
nix-shellWhat to do when creating a new release:
- adjust version in
setup.cfg - update readme if necessary
- edit
CHANGELOG.md:- add release notes for version (at the top)
- add link to version comparison (at the bottom)
- update docs if necessary
- rebuild python package:
python -m build - commit
- tag commit:
git tag -a 'vX.X.X' -m "Version X.X.X <summary>" - push to Github:
git push origin --tags - add Github release and upload build files
- push package to pypi:
twine upload dist/hyprpy-<new-version>*- if using API: username
__token__and password<API-TOKEN>
- if using API: username
- rebuild and redeploy docs if necessary
- update AUR package:
- bump
pkgverinPKGBUILD - run
updpkgsumsin same dir asPKGBUILD - run
makepkg --printsrcinfo > .SRCINFO - commit and push
PKGBUILDand.SRCINFOto AUR
- bump