diff --git a/ci/fedora-packages.sh b/ci/fedora-packages.sh
index ce977693aaf57e4fb9739ba0f2663ea220367df5..13a327da7f1521f1c3a2a578f0bdc4d3e5fef0bf 100755
--- a/ci/fedora-packages.sh
+++ b/ci/fedora-packages.sh
@@ -2,7 +2,7 @@
 set -e
 
 if [[ -f /usr/bin/dnf ]]; then
-  dnf install -y dnf-plugins-core git rpm-build which tree python2 \
+  dnf install -y dnf-plugins-core git rpm-build which tree \
                  cmake make gcc gcc-c++
 else
   yum install -y epel-rpm-macros