You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by "ocket8888 (via GitHub)" <gi...@apache.org> on 2024/01/10 18:02:14 UTC

Re: [PR] Remove Perl postinstall script [trafficcontrol]

ocket8888 commented on code in PR #7841:
URL: https://github.com/apache/trafficcontrol/pull/7841#discussion_r1447742723


##########
traffic_ops/build/traffic_ops.spec:
##########
@@ -38,7 +38,7 @@ Requires:         openssl-devel, perl, perl-core, perl-DBD-Pg, perl-DBI, perl-Di
 Requires:         libidn-devel, libcurl-devel, libcap
 Requires:         postgresql13 >= 13.2
 Requires:         perl-JSON, perl-libwww-perl, perl-Test-CPAN-Meta, perl-WWW-Curl, perl-TermReadKey, perl-Crypt-ScryptKDF
-Requires:         python(abi)
+Requires:         python(abi), python3

Review Comment:
   Yeah I just checked and it looks like Rocky 8 doesn't come with Python 2 or 3:
   ```shellsession
   $ docker run -it rockylinux:8
   [root@75b60043fd4e /]# python3
   bash: python3: command not found
   [root@75b60043fd4e /]# python
   bash: python: command not found
   ```
   `dnf install python38` works on Rocky 8 but nothing similar works in CentOS7 - although `yum install python3` works fine on both. So it seems like the correct thing to do is require `python3`, but it does seem that the minimum version should still be 3.6 (despite how much I hate that).



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@trafficcontrol.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org