-
Notifications
You must be signed in to change notification settings - Fork 69
Closed
Description
Line 11 in b109b75
print("build/lib.{}-{}.{}".format(sysconfig.get_platform(), *sys.version_info[:2])) |
setuptools 61+ has chnaged the directory name (build/lib.linux-x86_64-cpython-311
instead of build/lib.linux-x86_64-3.11
). "cpython-311"
can be read from sys.implementation.cache_tag
This makes the package fail to build in Fedora 37+:
+ make PYTHON=/usr/bin/python3 check
/bin/sh: line 1: git: command not found
/usr/bin/python3 setup.py build_ext
running build_ext
/usr/bin/python3 setup.py build
running build
running build_py
package init file 'systemd/test/__init__.py' not found (or not a regular file)
running build_ext
(cd build/lib.linux-x86_64-3.11 && /usr/bin/python3 -m pytest . ../../docs -v)
/bin/sh: line 1: cd: build/lib.linux-x86_64-3.11: No such file or directory
make: *** [Makefile:60: check] Error 1
Metadata
Metadata
Assignees
Labels
No labels