virtualenv was rewritten in 20.0.0. This bites FreeIPA Tox task with:
virtualenv
Tox
/usr/bin/python3.9 -m pip install --no-index --disable-pip-version-check --constraint /__w/1/s/.wheelconstraints --find-links /__w/1/s/dist/bundle 'ipaclient[csrgen,otptoken_yubikey,ldap]' pylint ... Installing collected packages: ipaplatform, ipapython, ipalib, ipaclient ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/usr/local/lib/python3.9' Consider using the `--user` option or check the permissions.
virtualenv < 20.0.0 :
$ ls -la virt_test/bin/python lrwxrwxrwx 1 test test 7 Aug 27 13:24 virt_test/bin/python -> python3 $ ls -la virt_test/bin/python3 -rwxrwxr-x 1 test test 15536 Aug 27 13:24 virt_test/bin/python3
virtualenv >= 20.0.0 :
$ ls -la virt_test/bin/python lrwxrwxrwx 1 test test 16 Aug 27 13:26 virt_test/bin/python -> /usr/bin/python3
https://github.com/freeipa/freeipa/pull/5047
master:
nss-tools
ipa-4-8:
Metadata Update from @abbra: - Issue close_status updated to: fixed - Issue status updated to: Closed (was: Open)
Login to comment on this ticket.