mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
Python 3.12 includes a few breaking changes, such as the removal of the distutils module [1] and the deprecation of `setup.py install` in favour of pip install [2]. This patch updates the installation script for crit to reflect these changes by replacing the use of `setup.py install` with `pip install` and `distutils` with `setuptools`. In addition, a minimal pyproject.toml file has been added as it is required by the new version of pip [3]. It is worth noting that with this change we are switching from the egg packaging format to wheel [4] and add pip as a build dependency. [1] https://www.python.org/downloads/release/python-3120a2/ [2] https://github.com/pypa/setuptools/pull/2824 [3] https://pip.pypa.io/en/stable/reference/build-system/pyproject-toml/ [4] https://packaging.python.org/en/latest/discussions/wheel-vs-egg/ Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org> |
||
|---|---|---|
| .. | ||
| Dockerfile.aarch64-stable-cross.hdr | ||
| Dockerfile.aarch64-stable-cross.tmpl | ||
| Dockerfile.aarch64-unstable-cross.hdr | ||
| Dockerfile.aarch64-unstable-cross.tmpl | ||
| Dockerfile.alpine | ||
| Dockerfile.amd-rocm | ||
| Dockerfile.archlinux | ||
| Dockerfile.armv7-stable-cross.hdr | ||
| Dockerfile.armv7-stable-cross.tmpl | ||
| Dockerfile.armv7-unstable-cross.hdr | ||
| Dockerfile.armv7-unstable-cross.tmpl | ||
| Dockerfile.armv7hf.hdr | ||
| Dockerfile.armv7hf.tmpl | ||
| Dockerfile.centos7 | ||
| Dockerfile.centos8 | ||
| Dockerfile.fedora-asan.hdr | ||
| Dockerfile.fedora-asan.tmpl | ||
| Dockerfile.fedora-rawhide.hdr | ||
| Dockerfile.fedora-rawhide.tmpl | ||
| Dockerfile.fedora.tmpl | ||
| Dockerfile.hotspot-alpine | ||
| Dockerfile.hotspot-ubuntu | ||
| Dockerfile.linux32.tmpl | ||
| Dockerfile.mips64el-stable-cross.hdr | ||
| Dockerfile.mips64el-stable-cross.tmpl | ||
| Dockerfile.mips64el-unstable-cross.hdr | ||
| Dockerfile.mips64el-unstable-cross.tmpl | ||
| Dockerfile.openj9-ubuntu | ||
| Dockerfile.ppc64-stable-cross.hdr | ||
| Dockerfile.ppc64-stable-cross.tmpl | ||
| Dockerfile.ppc64-unstable-cross.hdr | ||
| Dockerfile.ppc64-unstable-cross.tmpl | ||
| Dockerfile.stable-cross.tmpl | ||
| Dockerfile.tmpl | ||
| Dockerfile.unstable-cross.tmpl | ||
| Dockerfile.x86_64.hdr | ||
| Dockerfile.x86_64.tmpl | ||
| Makefile | ||