criu/scripts/build
Radostin Stoyanov 7f0f07599a crit: fix compatibility with Python 3.12
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>
2023-04-15 21:17:21 -07:00
..
Dockerfile.aarch64-stable-cross.hdr ci: Run cross compile on debian stable 2022-04-28 17:53:52 -07:00
Dockerfile.aarch64-stable-cross.tmpl ci: Run cross compile on debian stable 2022-04-28 17:53:52 -07:00
Dockerfile.aarch64-unstable-cross.hdr ci: use unstable release for cross-compile 2022-04-28 17:53:52 -07:00
Dockerfile.aarch64-unstable-cross.tmpl ci: use unstable release for cross-compile 2022-04-28 17:53:52 -07:00
Dockerfile.alpine crit: fix compatibility with Python 3.12 2023-04-15 21:17:21 -07:00
Dockerfile.amd-rocm criu/plugin: Dockerfile for amdgpu_plugin 2022-04-28 17:53:52 -07:00
Dockerfile.archlinux crit: fix compatibility with Python 3.12 2023-04-15 21:17:21 -07:00
Dockerfile.armv7-stable-cross.hdr ci: Run cross compile on debian stable 2022-04-28 17:53:52 -07:00
Dockerfile.armv7-stable-cross.tmpl ci: Run cross compile on debian stable 2022-04-28 17:53:52 -07:00
Dockerfile.armv7-unstable-cross.hdr ci: use unstable release for cross-compile 2022-04-28 17:53:52 -07:00
Dockerfile.armv7-unstable-cross.tmpl ci: use unstable release for cross-compile 2022-04-28 17:53:52 -07:00
Dockerfile.armv7hf.hdr travis: switch all arm related tests to real hardware 2020-02-04 12:39:04 -08:00
Dockerfile.armv7hf.tmpl travis: switch all arm related tests to real hardware 2020-02-04 12:39:04 -08:00
Dockerfile.centos7 scripts/build: drop obsolete ENV1 variable 2021-09-03 10:31:00 -07:00
Dockerfile.centos8 scripts/build: drop obsolete ENV1 variable 2021-09-03 10:31:00 -07:00
Dockerfile.fedora-asan.hdr ci: move asan and image streamer test to github 2021-09-03 10:31:00 -07:00
Dockerfile.fedora-asan.tmpl travis: add a job to test on the fedora rawhide 2017-10-17 08:40:44 +03:00
Dockerfile.fedora-rawhide.hdr travis: use Fedora rawhide images from Fedora 2020-10-20 00:18:24 -07:00
Dockerfile.fedora-rawhide.tmpl travis: add a job to test on the fedora rawhide 2017-10-17 08:40:44 +03:00
Dockerfile.fedora.tmpl Revert "ci: disable glibc rseq support" 2022-04-28 17:53:52 -07:00
Dockerfile.hotspot-alpine test/javaTests: update org.testng:testng (Maven) 2023-04-15 21:17:21 -07:00
Dockerfile.hotspot-ubuntu test/javaTests: update org.testng:testng (Maven) 2023-04-15 21:17:21 -07:00
Dockerfile.linux32.tmpl scripts/build: drop obsolete ENV1 variable 2021-09-03 10:31:00 -07:00
Dockerfile.mips64el-stable-cross.hdr ci: Run cross compile on debian stable 2022-04-28 17:53:52 -07:00
Dockerfile.mips64el-stable-cross.tmpl ci: Run cross compile on debian stable 2022-04-28 17:53:52 -07:00
Dockerfile.mips64el-unstable-cross.hdr ci: use unstable release for cross-compile 2022-04-28 17:53:52 -07:00
Dockerfile.mips64el-unstable-cross.tmpl ci: use unstable release for cross-compile 2022-04-28 17:53:52 -07:00
Dockerfile.openj9-ubuntu test/javaTests: update org.testng:testng (Maven) 2023-04-15 21:17:21 -07:00
Dockerfile.ppc64-stable-cross.hdr ci: Run cross compile on debian stable 2022-04-28 17:53:52 -07:00
Dockerfile.ppc64-stable-cross.tmpl ci: Run cross compile on debian stable 2022-04-28 17:53:52 -07:00
Dockerfile.ppc64-unstable-cross.hdr ci: use unstable release for cross-compile 2022-04-28 17:53:52 -07:00
Dockerfile.ppc64-unstable-cross.tmpl ci: use unstable release for cross-compile 2022-04-28 17:53:52 -07:00
Dockerfile.stable-cross.tmpl ci: Run cross compile on debian stable 2022-04-28 17:53:52 -07:00
Dockerfile.tmpl Dockerfile: add missing test dependencies 2021-09-03 10:31:00 -07:00
Dockerfile.unstable-cross.tmpl ci: use unstable release for cross-compile 2022-04-28 17:53:52 -07:00
Dockerfile.x86_64.hdr CI: distribute CI jobs between CI systems 2020-11-08 14:04:12 -08:00
Dockerfile.x86_64.tmpl travis: add a job to test on the fedora rawhide 2017-10-17 08:40:44 +03:00
Makefile ci: use unstable release for cross-compile 2022-04-28 17:53:52 -07:00