Repository navigation
Conversation
otherwise the generated PKG-INFO would contain a version of "0.0.0" Signed-off-by: Kefu Chai <[email protected]>
|
This is only true if you don't satisfy the build dependencies, but then you're violating Python packaging requirements. |
|
thank you Bernát for the quick review. yeah, i think i just failed to install setuptools_scm beforehands. |
|
@tchaikov How did you install |
|
@ofek hello Ofek! sorry for the text wall. tl;dr: it's a story of a lazy RPM packager. i am trying to package
instead of diving into this rabbit hole, i cowardly manually translated the build dependencies defined by and i built python3 setup.py bdist_wheelthis was what i got using and installed it using python3 -m pip install -I dist/platformdirs-*-py3-none-any.whl \
--root /home/kchai/rpmbuild/BUILDROOT/platformdirs-2.2.0-1.x86_64 \
--strip-file-prefix /home/kchai/rpmbuild/BUILDROOT/platformdirs-2.2.0-1.x86_64 \
--no-depsthis was what i got using '%py3_install_wheel'. i guess it was [0] https://src.fedoraproject.org/rpms/pyproject-rpm-macros/branches?branchname=rawhide |
|
its unfortunate that setuptools_scm is packaged incorrectly |
|
ahh, it is not a hard dependency. see https://src.fedoraproject.org/rpms/python-setuptools_scm/blob/rawhide/f/python-setuptools_scm.spec#_18 i will try again with "tests" disabled. |
Moves every [`tox-dev/github-workflows`](https://github.com/tox-dev/github-workflows) pin to [6.2.0](https://github.com/tox-dev/github-workflows/releases/tag/6.2.0). 👋 The GitHub Release now credits first-time contributors: the publish step takes the New Contributors list from GitHub's generated notes for the range since the previous tag and places it above the package and comparison links ([#34](tox-dev/github-workflows#34)). The changelog file no longer carries that list. The pins also pick up the 6.0.2 to 6.1.0 changes: release asset names match the names GitHub stores ([#29](tox-dev/github-workflows#29)), and the rendered notes list several packages on one row with an ecosystem emoji ([#32](tox-dev/github-workflows#32)).
otherwise the generated PKG-INFO would contain a version of "0.0.0"
Signed-off-by: Kefu Chai [email protected]