#8475 Azure: tox task and virtualenv 20+
Closed: fixed 3 years ago by abbra. Opened 3 years ago by slev.

virtualenv was rewritten in 20.0.0.
This bites FreeIPA Tox task with:

/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

master:

  • 0d326a9 Azure: Add Rawhide definitions
  • 60ff284 Azure: Drop dependency on UsePythonVersion task
  • a5b2328 Azure: base: Collect both install and uninstall logs
  • a102cfe nss: Raise exception earlier on unsupported DB type
  • f3d1087 deps: Require nss-tools for make's fasttest target
  • 30cf59d Azure: Increase verbosity for Tox task
  • fdb227e tox: Don't expand symlinks
  • 49e6437 dnspython: Add compatibility shim

ipa-4-8:

  • 5d13ef9 Azure: Add Rawhide definitions
  • ae219df Azure: Drop dependency on UsePythonVersion task
  • 0ff6b6e Azure: base: Collect both install and uninstall logs
  • 0a8997f nss: Raise exception earlier on unsupported DB type
  • ee661dc deps: Require nss-tools for make's fasttest target
  • 428373f Azure: Increase verbosity for Tox task
  • 7650214 tox: Don't expand symlinks
  • ae8b723 dnspython: Add compatibility shim

Metadata Update from @abbra:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

3 years ago

Login to comment on this ticket.

Metadata