remove python-future dependency

This commit removes the dependency on the __future__ module, which was
used to enable Python 3 features in Python 2 code. With support for
Python 2 being dropped, it is no longer necessary to maintain backward
compatibility.

Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
This commit is contained in:
Radostin Stoyanov 2023-06-21 23:48:32 +01:00 committed by Andrei Vagin
parent 376f3d1800
commit 642fd99bfd
16 changed files with 9 additions and 29 deletions

View file

@ -55,7 +55,6 @@ RUN apt-get clean -qqy && apt-get update -qqy && apt-get install -qqy --no-insta
protobuf-compiler \
python-protobuf \
python3-minimal \
python3-future \
python-ipaddress \
curl \
wget \

View file

@ -28,7 +28,6 @@ RUN yum install -y --allowerasing \
python3-devel \
python3-flake8 \
python3-PyYAML \
python3-future \
python3-protobuf \
python3-pip \
sudo \

View file

@ -6,7 +6,6 @@ COPY scripts/ci/apt-install /bin/apt-install
RUN apt-install protobuf-c-compiler \
libprotobuf-c-dev \
libaio-dev \
python3-future \
libprotobuf-dev \
protobuf-compiler \
libcap-dev \
@ -31,4 +30,3 @@ WORKDIR /criu
RUN make mrproper && make -j $(nproc) CC="$CC"
ENTRYPOINT mvn -q -f test/javaTests/pom.xml test

View file

@ -21,8 +21,7 @@ RUN apt-install \
pkg-config \
protobuf-c-compiler \
protobuf-compiler \
python3-minimal \
python3-future
python3-minimal
COPY . /criu
WORKDIR /criu

View file

@ -6,7 +6,6 @@ COPY scripts/ci/apt-install /bin/apt-install
RUN apt-install protobuf-c-compiler \
libprotobuf-c-dev \
libaio-dev \
python3-future \
libprotobuf-dev \
protobuf-compiler \
libcap-dev \

View file

@ -30,8 +30,7 @@ RUN apt-install \
python-is-python3 \
python3-minimal \
python3-protobuf \
python3-yaml \
python3-future
python3-yaml
COPY . /criu
WORKDIR /criu