mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
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:
parent
376f3d1800
commit
642fd99bfd
16 changed files with 9 additions and 29 deletions
|
|
@ -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 \
|
||||
|
|
|
|||
|
|
@ -28,7 +28,6 @@ RUN yum install -y --allowerasing \
|
|||
python3-devel \
|
||||
python3-flake8 \
|
||||
python3-PyYAML \
|
||||
python3-future \
|
||||
python3-protobuf \
|
||||
python3-pip \
|
||||
sudo \
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -21,8 +21,7 @@ RUN apt-install \
|
|||
pkg-config \
|
||||
protobuf-c-compiler \
|
||||
protobuf-compiler \
|
||||
python3-minimal \
|
||||
python3-future
|
||||
python3-minimal
|
||||
|
||||
COPY . /criu
|
||||
WORKDIR /criu
|
||||
|
|
|
|||
|
|
@ -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 \
|
||||
|
|
|
|||
|
|
@ -30,8 +30,7 @@ RUN apt-install \
|
|||
python-is-python3 \
|
||||
python3-minimal \
|
||||
python3-protobuf \
|
||||
python3-yaml \
|
||||
python3-future
|
||||
python3-yaml
|
||||
|
||||
COPY . /criu
|
||||
WORKDIR /criu
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue