Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The zipp 3.11.0 doesn't work in Python 3.4.3. #87

Closed
junaruga opened this issue Dec 1, 2022 · 1 comment
Closed

The zipp 3.11.0 doesn't work in Python 3.4.3. #87

junaruga opened this issue Dec 1, 2022 · 1 comment
Labels
invalid This doesn't seem right

Comments

@junaruga
Copy link

junaruga commented Dec 1, 2022

As I see the zipp's minimal supported version is 3.2, I would report this issue in Python 3.4.3 in Ubuntu trusty (old environment!). The zipp is a dependency of the tox.

zipp/tox.ini

Line 3 in 2c66630

minversion = 3.2

root@6cb2d1cf9081:/work# python3 --version
Python 3.4.3

root@6cb2d1cf9081:/work# which tox
/usr/local/bin/tox

root@6cb2d1cf9081:/work# head -1 /usr/local/bin/tox
#!/usr/bin/python3

root@6cb2d1cf9081:/work# pip3 list
DEPRECATION: Python 3.4 support has been deprecated. pip 19.1 will be the last one supporting it. Please upgrade your Python as Python 3.4 won't be maintained after March 2019 (cf PEP 429).
Package                Version    
---------------------- -----------
chardet                2.2.1      
colorama               0.2.5      
html5lib               0.999      
importlib-metadata     1.1.3      
packaging              20.9       
pathlib2               2.3.7.post1
pip                    19.1.1     
pluggy                 0.13.1     
py                     1.11.0     
pyparsing              2.4.7      
PyYAML                 3.10       
requests               2.2.1      
scandir                1.10.0     
setuptools             43.0.0     
six                    1.16.0     
tox                    3.1.3      
typing                 3.10.0.0   
ubuntu-advantage-tools 19.6       
urllib3                1.7.1      
virtualenv             15.2.0     
wheel                  0.24.0     
zipp                   3.11.0  

root@6cb2d1cf9081:/work# tox -l
Traceback (most recent call last):
  File "/usr/local/bin/tox", line 7, in <module>
    from tox import cmdline
  File "/usr/local/lib/python3.4/dist-packages/tox/__init__.py", line 9, in <module>
    import pluggy
  File "/usr/local/lib/python3.4/dist-packages/pluggy/__init__.py", line 16, in <module>
    from .manager import PluginManager, PluginValidationError
  File "/usr/local/lib/python3.4/dist-packages/pluggy/manager.py", line 11, in <module>
    import importlib_metadata
  File "/usr/local/lib/python3.4/dist-packages/importlib_metadata/__init__.py", line 9, in <module>
    import zipp
  File "/usr/local/lib/python3.4/dist-packages/zipp/__init__.py", line 357
    return self.glob(f'**/{pattern}')
                                   ^
SyntaxError: invalid syntax

It seems that the commit below causes.
e587f31

@jaraco
Copy link
Owner

jaraco commented Dec 2, 2022

zipp 2.0 requires Python 3.6 or later.
zipp 3.7 requires Python 3.7 or later (coincidental version numbers).

The number you see in tox.ini is the minimum version of tox required to orchestrate the tests (e.g. tox >= 3.2) although in practice you may need a later version.

If you're on Python 3.4 (a very old, unsupported version of Python), you'll need zipp<2, but you'll get that naturally if you're using a fairly recent version of pip; as long as pip supports environment markers, it will download a version of zipp that's compatible with your python version.

Unfortunately, the version of pip that comes with trusty is inadequate. Here's my investigation:

 ~ $ docker run -it ubuntu:trusty
Unable to find image 'ubuntu:trusty' locally
trusty: Pulling from library/ubuntu
d1a5a1e51f25: Pull complete 
75f8eea31a63: Pull complete 
a72d031efbfb: Pull complete 
Digest: sha256:64483f3496c1373bfd55348e88694d1c4d0c9b660dee6bfef5e12f43b9933b30
Status: Downloaded newer image for ubuntu:trusty
root@75b8658db800:/# apt update
Ign http://ports.ubuntu.com trusty InRelease
Get:1 http://ports.ubuntu.com trusty-updates InRelease [65.9 kB]
Get:2 https://esm.ubuntu.com trusty-infra-security InRelease
Get:3 https://esm.ubuntu.com trusty-infra-updates InRelease    
Get:4 https://esm.ubuntu.com trusty-infra-security/main arm64 Packages
Get:5 https://esm.ubuntu.com trusty-infra-updates/main arm64 Packages
Get:6 http://ports.ubuntu.com trusty-backports InRelease [65.9 kB]    
Get:7 http://ports.ubuntu.com trusty-security InRelease [65.9 kB]
Hit http://ports.ubuntu.com trusty Release.gpg       
Get:8 http://ports.ubuntu.com trusty-updates/main arm64 Packages [1076 kB]
Get:9 http://ports.ubuntu.com trusty-updates/restricted arm64 Packages [40 B]
Get:10 http://ports.ubuntu.com trusty-updates/universe arm64 Packages [611 kB]
Get:11 http://ports.ubuntu.com trusty-updates/multiverse arm64 Packages [11.3 kB]
Get:12 http://ports.ubuntu.com trusty-backports/main arm64 Packages [13.7 kB]
Get:13 http://ports.ubuntu.com trusty-backports/restricted arm64 Packages [40 B]
Get:14 http://ports.ubuntu.com trusty-backports/universe arm64 Packages [51.0 kB]
Get:15 http://ports.ubuntu.com trusty-backports/multiverse arm64 Packages [572 B]
Get:16 http://ports.ubuntu.com trusty-security/main arm64 Packages [720 kB]
Get:17 http://ports.ubuntu.com trusty-security/restricted arm64 Packages [40 B]
Get:18 http://ports.ubuntu.com trusty-security/universe arm64 Packages [339 kB]
Get:19 http://ports.ubuntu.com trusty-security/multiverse arm64 Packages [1941 B]
Hit http://ports.ubuntu.com trusty Release  
Get:20 http://ports.ubuntu.com trusty/main arm64 Packages [1611 kB]
Get:21 http://ports.ubuntu.com trusty/restricted arm64 Packages [40 B]
Get:22 http://ports.ubuntu.com trusty/universe arm64 Packages [7093 kB]
Get:23 http://ports.ubuntu.com trusty/multiverse arm64 Packages [139 kB]
Fetched 11.9 MB in 3s (3313 kB/s)                         
Reading package lists... Done
root@75b8658db800:/# apt install python-pip
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  binutils build-essential cpp cpp-4.8 dpkg-dev fakeroot g++ g++-4.8 gcc
  gcc-4.8 libalgorithm-diff-perl libalgorithm-diff-xs-perl
  libalgorithm-merge-perl libatomic1 libc-dev-bin libc6-dev libcloog-isl4
  libdpkg-perl libfakeroot libfile-fcntllock-perl libgcc-4.8-dev libgmp10
  libgomp1 libisl10 libitm1 libmpc3 libmpfr4 libpython-stdlib
  libpython2.7-minimal libpython2.7-stdlib libstdc++-4.8-dev libtimedate-perl
  linux-libc-dev make manpages manpages-dev patch python python-chardet
  python-chardet-whl python-colorama python-colorama-whl python-distlib
  python-distlib-whl python-html5lib python-html5lib-whl python-minimal
  python-pip-whl python-pkg-resources python-requests python-requests-whl
  python-setuptools python-setuptools-whl python-six python-six-whl
  python-urllib3 python-urllib3-whl python-wheel python2.7 python2.7-minimal
  xz-utils
Suggested packages:
  binutils-doc cpp-doc gcc-4.8-locales debian-keyring gcc-4.8-doc
  libstdc++6-4.8-dbg gcc-multilib autoconf automake1.9 libtool flex bison gdb
  gcc-doc libgcc1-dbg libgomp1-dbg libitm1-dbg libatomic1-dbg libasan0-dbg
  libtsan0-dbg libquadmath-dbg glibc-doc libstdc++-4.8-doc make-doc
  man-browser ed diffutils-doc python-doc python-tk python-genshi python-lxml
  python-distribute python-distribute-doc python2.7-doc binfmt-support
Recommended packages:
  python-dev-all
The following NEW packages will be installed:
  binutils build-essential cpp cpp-4.8 dpkg-dev fakeroot g++ g++-4.8 gcc
  gcc-4.8 libalgorithm-diff-perl libalgorithm-diff-xs-perl
  libalgorithm-merge-perl libatomic1 libc-dev-bin libc6-dev libcloog-isl4
  libdpkg-perl libfakeroot libfile-fcntllock-perl libgcc-4.8-dev libgmp10
  libgomp1 libisl10 libitm1 libmpc3 libmpfr4 libpython-stdlib
  libpython2.7-minimal libpython2.7-stdlib libstdc++-4.8-dev libtimedate-perl
  linux-libc-dev make manpages manpages-dev patch python python-chardet
  python-chardet-whl python-colorama python-colorama-whl python-distlib
  python-distlib-whl python-html5lib python-html5lib-whl python-minimal
  python-pip python-pip-whl python-pkg-resources python-requests
  python-requests-whl python-setuptools python-setuptools-whl python-six
  python-six-whl python-urllib3 python-urllib3-whl python-wheel python2.7
  python2.7-minimal xz-utils
0 upgraded, 62 newly installed, 0 to remove and 1 not upgraded.
Need to get 32.5 MB of archives.
After this operation, 110 MB of additional disk space will be used.
Do you want to continue? [Y/n] n
Abort.
root@75b8658db800:/# apt install -y python3-pip
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  binutils build-essential cpp cpp-4.8 dpkg-dev fakeroot g++ g++-4.8 gcc
  gcc-4.8 libalgorithm-diff-perl libalgorithm-diff-xs-perl
  libalgorithm-merge-perl libatomic1 libc-dev-bin libc6-dev libcloog-isl4
  libdpkg-perl libexpat1-dev libfakeroot libfile-fcntllock-perl libgcc-4.8-dev
  libgmp10 libgomp1 libisl10 libitm1 libmpc3 libmpfr4 libpython3-dev
  libpython3.4 libpython3.4-dev libstdc++-4.8-dev libtimedate-perl
  linux-libc-dev make manpages manpages-dev patch python-chardet-whl
  python-colorama-whl python-distlib-whl python-html5lib-whl python-pip-whl
  python-requests-whl python-setuptools-whl python-six-whl python-urllib3-whl
  python3-chardet python3-colorama python3-dev python3-distlib
  python3-html5lib python3-requests python3-setuptools python3-six
  python3-urllib3 python3-wheel python3.4-dev xz-utils
Suggested packages:
  binutils-doc cpp-doc gcc-4.8-locales debian-keyring gcc-4.8-doc
  libstdc++6-4.8-dbg gcc-multilib autoconf automake1.9 libtool flex bison gdb
  gcc-doc libgcc1-dbg libgomp1-dbg libitm1-dbg libatomic1-dbg libasan0-dbg
  libtsan0-dbg libquadmath-dbg glibc-doc libstdc++-4.8-doc make-doc
  man-browser ed diffutils-doc python3-genshi python3-lxml
The following NEW packages will be installed:
  binutils build-essential cpp cpp-4.8 dpkg-dev fakeroot g++ g++-4.8 gcc
  gcc-4.8 libalgorithm-diff-perl libalgorithm-diff-xs-perl
  libalgorithm-merge-perl libatomic1 libc-dev-bin libc6-dev libcloog-isl4
  libdpkg-perl libexpat1-dev libfakeroot libfile-fcntllock-perl libgcc-4.8-dev
  libgmp10 libgomp1 libisl10 libitm1 libmpc3 libmpfr4 libpython3-dev
  libpython3.4 libpython3.4-dev libstdc++-4.8-dev libtimedate-perl
  linux-libc-dev make manpages manpages-dev patch python-chardet-whl
  python-colorama-whl python-distlib-whl python-html5lib-whl python-pip-whl
  python-requests-whl python-setuptools-whl python-six-whl python-urllib3-whl
  python3-chardet python3-colorama python3-dev python3-distlib
  python3-html5lib python3-pip python3-requests python3-setuptools python3-six
  python3-urllib3 python3-wheel python3.4-dev xz-utils
0 upgraded, 60 newly installed, 0 to remove and 1 not upgraded.
Need to get 32.5 MB of archives.
After this operation, 113 MB of additional disk space will be used.
Get:1 http://ports.ubuntu.com/ubuntu-ports/ trusty-updates/main libatomic1 arm64 4.8.4-2ubuntu1~14.04.4 [6274 B]
Get:2 http://ports.ubuntu.com/ubuntu-ports/ trusty/main libgmp10 arm64 2:5.1.3+dfsg-1ubuntu1 [196 kB]
Get:3 http://ports.ubuntu.com/ubuntu-ports/ trusty/main libisl10 arm64 0.12.2-1 [319 kB]
Get:4 http://ports.ubuntu.com/ubuntu-ports/ trusty/main libcloog-isl4 arm64 0.18.2-1 [46.5 kB]
Get:5 http://ports.ubuntu.com/ubuntu-ports/ trusty-updates/main libgomp1 arm64 4.8.4-2ubuntu1~14.04.4 [19.3 kB]
Get:6 http://ports.ubuntu.com/ubuntu-ports/ trusty-updates/main libitm1 arm64 4.8.4-2ubuntu1~14.04.4 [24.7 kB]
Get:7 http://ports.ubuntu.com/ubuntu-ports/ trusty/main libmpfr4 arm64 3.1.2-1 [207 kB]
Get:8 http://ports.ubuntu.com/ubuntu-ports/ trusty-updates/main libpython3.4 arm64 3.4.3-1ubuntu1~14.04.7 [1068 kB]
Get:9 http://ports.ubuntu.com/ubuntu-ports/ trusty-updates/main libc-dev-bin arm64 2.19-0ubuntu6.15 [60.4 kB]
Get:10 http://ports.ubuntu.com/ubuntu-ports/ trusty-updates/main linux-libc-dev arm64 3.13.0-170.220 [747 kB]
Get:11 http://ports.ubuntu.com/ubuntu-ports/ trusty-updates/main libc6-dev arm64 2.19-0ubuntu6.15 [1690 kB]
Get:12 http://ports.ubuntu.com/ubuntu-ports/ trusty-updates/main libexpat1-dev arm64 2.1.0-4ubuntu1.4 [103 kB]
Get:13 http://ports.ubuntu.com/ubuntu-ports/ trusty-updates/main libpython3.4-dev arm64 3.4.3-1ubuntu1~14.04.7 [1916 kB]
Get:14 http://ports.ubuntu.com/ubuntu-ports/ trusty/main libmpc3 arm64 1.0.1-1ubuntu1 [32.9 kB]
Get:15 http://ports.ubuntu.com/ubuntu-ports/ trusty/main manpages all 3.54-1ubuntu1 [627 kB]
Get:16 http://ports.ubuntu.com/ubuntu-ports/ trusty-updates/main binutils arm64 2.24-5ubuntu14.2 [1050 kB]
Get:17 http://ports.ubuntu.com/ubuntu-ports/ trusty-updates/main cpp-4.8 arm64 4.8.4-2ubuntu1~14.04.4 [3607 kB]
Get:18 http://ports.ubuntu.com/ubuntu-ports/ trusty/main cpp arm64 4:4.8.2-1ubuntu6 [27.5 kB]
Get:19 http://ports.ubuntu.com/ubuntu-ports/ trusty-updates/main libgcc-4.8-dev arm64 4.8.4-2ubuntu1~14.04.4 [162 kB]
Get:20 http://ports.ubuntu.com/ubuntu-ports/ trusty-updates/main gcc-4.8 arm64 4.8.4-2ubuntu1~14.04.4 [4103 kB]
Get:21 http://ports.ubuntu.com/ubuntu-ports/ trusty/main gcc arm64 4:4.8.2-1ubuntu6 [5110 B]
Get:22 http://ports.ubuntu.com/ubuntu-ports/ trusty-updates/main libstdc++-4.8-dev arm64 4.8.4-2ubuntu1~14.04.4 [1056 kB]
Get:23 http://ports.ubuntu.com/ubuntu-ports/ trusty-updates/main g++-4.8 arm64 4.8.4-2ubuntu1~14.04.4 [10.1 MB]
Get:24 http://ports.ubuntu.com/ubuntu-ports/ trusty/main g++ arm64 4:4.8.2-1ubuntu6 [1490 B]
Get:25 http://ports.ubuntu.com/ubuntu-ports/ trusty/main make arm64 3.81-8.2ubuntu3 [110 kB]
Get:26 http://ports.ubuntu.com/ubuntu-ports/ trusty/main libtimedate-perl all 2.3000-1 [37.2 kB]
Get:27 http://ports.ubuntu.com/ubuntu-ports/ trusty-updates/main libdpkg-perl all 1.17.5ubuntu5.8 [179 kB]
Get:28 http://ports.ubuntu.com/ubuntu-ports/ trusty/main xz-utils arm64 5.1.1alpha+20120614-2ubuntu2 [75.1 kB]
Get:29 http://ports.ubuntu.com/ubuntu-ports/ trusty-updates/main patch arm64 2.7.1-4ubuntu2.4 [78.0 kB]
Get:30 http://ports.ubuntu.com/ubuntu-ports/ trusty-updates/main dpkg-dev all 1.17.5ubuntu5.8 [726 kB]
Get:31 http://ports.ubuntu.com/ubuntu-ports/ trusty/main build-essential arm64 11.6ubuntu6 [4828 B]
Get:32 http://ports.ubuntu.com/ubuntu-ports/ trusty/main libfakeroot arm64 1.20-3ubuntu2 [21.1 kB]
Get:33 http://ports.ubuntu.com/ubuntu-ports/ trusty/main fakeroot arm64 1.20-3ubuntu2 [53.1 kB]
Get:34 http://ports.ubuntu.com/ubuntu-ports/ trusty/main libalgorithm-diff-perl all 1.19.02-3 [50.0 kB]
Get:35 http://ports.ubuntu.com/ubuntu-ports/ trusty/main libalgorithm-diff-xs-perl arm64 0.04-2build4 [12.2 kB]
Get:36 http://ports.ubuntu.com/ubuntu-ports/ trusty/main libalgorithm-merge-perl all 0.08-2 [12.7 kB]
Get:37 http://ports.ubuntu.com/ubuntu-ports/ trusty/main libfile-fcntllock-perl arm64 0.14-2build1 [15.9 kB]
Get:38 http://ports.ubuntu.com/ubuntu-ports/ trusty/main libpython3-dev arm64 3.4.0-0ubuntu2 [7018 B]
Get:39 http://ports.ubuntu.com/ubuntu-ports/ trusty/main manpages-dev all 3.54-1ubuntu1 [1820 kB]
Get:40 http://ports.ubuntu.com/ubuntu-ports/ trusty-updates/universe python-chardet-whl all 2.2.1-2~ubuntu1 [170 kB]
Get:41 http://ports.ubuntu.com/ubuntu-ports/ trusty-updates/universe python-colorama-whl all 0.2.5-0.1ubuntu2 [18.2 kB]
Get:42 http://ports.ubuntu.com/ubuntu-ports/ trusty-updates/universe python-distlib-whl all 0.1.8-1ubuntu1 [140 kB]
Get:43 http://ports.ubuntu.com/ubuntu-ports/ trusty-updates/main python-html5lib-whl all 0.999-3~ubuntu1 [109 kB]
Get:44 http://ports.ubuntu.com/ubuntu-ports/ trusty-updates/main python-six-whl all 1.5.2-1ubuntu1.1 [10.6 kB]
Get:45 http://ports.ubuntu.com/ubuntu-ports/ trusty-updates/main python-urllib3-whl all 1.7.1-1ubuntu4.1 [63.9 kB]
Get:46 http://ports.ubuntu.com/ubuntu-ports/ trusty-updates/main python-requests-whl all 2.2.1-1ubuntu0.4 [228 kB]
Get:47 http://ports.ubuntu.com/ubuntu-ports/ trusty-updates/main python-setuptools-whl all 3.3-1ubuntu2 [244 kB]
Get:48 http://ports.ubuntu.com/ubuntu-ports/ trusty-updates/universe python-pip-whl all 1.5.4-1ubuntu4 [111 kB]
Get:49 http://ports.ubuntu.com/ubuntu-ports/ trusty-updates/main python3-chardet all 2.2.1-2~ubuntu1 [96.5 kB]
Get:50 http://ports.ubuntu.com/ubuntu-ports/ trusty-updates/universe python3-colorama all 0.2.5-0.1ubuntu2 [12.0 kB]
Get:51 http://ports.ubuntu.com/ubuntu-ports/ trusty-updates/main python3.4-dev arm64 3.4.3-1ubuntu1~14.04.7 [419 kB]
Get:52 http://ports.ubuntu.com/ubuntu-ports/ trusty/main python3-dev arm64 3.4.0-0ubuntu2 [1194 B]
Get:53 http://ports.ubuntu.com/ubuntu-ports/ trusty-updates/universe python3-distlib all 0.1.8-1ubuntu1 [113 kB]
Get:54 http://ports.ubuntu.com/ubuntu-ports/ trusty-updates/main python3-six all 1.5.2-1ubuntu1.1 [8438 B]
Get:55 http://ports.ubuntu.com/ubuntu-ports/ trusty-updates/universe python3-html5lib all 0.999-3~ubuntu1 [79.7 kB]
Get:56 http://ports.ubuntu.com/ubuntu-ports/ trusty-updates/main python3-urllib3 all 1.7.1-1ubuntu4.1 [39.5 kB]
Get:57 http://ports.ubuntu.com/ubuntu-ports/ trusty-updates/main python3-requests all 2.2.1-1ubuntu0.4 [43.3 kB]
Get:58 http://ports.ubuntu.com/ubuntu-ports/ trusty-updates/main python3-setuptools all 3.3-1ubuntu2 [144 kB]
Get:59 http://ports.ubuntu.com/ubuntu-ports/ trusty-updates/universe python3-pip all 1.5.4-1ubuntu4 [80.3 kB]
Get:60 http://ports.ubuntu.com/ubuntu-ports/ trusty-updates/main python3-wheel all 0.24.0-1~ubuntu1.1 [44.8 kB]
Fetched 32.5 MB in 8s (3974 kB/s)                                              
Extracting templates from packages: 100%
Selecting previously unselected package libatomic1:arm64.
(Reading database ... 12094 files and directories currently installed.)
Preparing to unpack .../libatomic1_4.8.4-2ubuntu1~14.04.4_arm64.deb ...
Unpacking libatomic1:arm64 (4.8.4-2ubuntu1~14.04.4) ...
Selecting previously unselected package libgmp10:arm64.
Preparing to unpack .../libgmp10_2%3a5.1.3+dfsg-1ubuntu1_arm64.deb ...
Unpacking libgmp10:arm64 (2:5.1.3+dfsg-1ubuntu1) ...
Selecting previously unselected package libisl10:arm64.
Preparing to unpack .../libisl10_0.12.2-1_arm64.deb ...
Unpacking libisl10:arm64 (0.12.2-1) ...
Selecting previously unselected package libcloog-isl4:arm64.
Preparing to unpack .../libcloog-isl4_0.18.2-1_arm64.deb ...
Unpacking libcloog-isl4:arm64 (0.18.2-1) ...
Selecting previously unselected package libgomp1:arm64.
Preparing to unpack .../libgomp1_4.8.4-2ubuntu1~14.04.4_arm64.deb ...
Unpacking libgomp1:arm64 (4.8.4-2ubuntu1~14.04.4) ...
Selecting previously unselected package libitm1:arm64.
Preparing to unpack .../libitm1_4.8.4-2ubuntu1~14.04.4_arm64.deb ...
Unpacking libitm1:arm64 (4.8.4-2ubuntu1~14.04.4) ...
Selecting previously unselected package libmpfr4:arm64.
Preparing to unpack .../libmpfr4_3.1.2-1_arm64.deb ...
Unpacking libmpfr4:arm64 (3.1.2-1) ...
Selecting previously unselected package libpython3.4:arm64.
Preparing to unpack .../libpython3.4_3.4.3-1ubuntu1~14.04.7_arm64.deb ...
Unpacking libpython3.4:arm64 (3.4.3-1ubuntu1~14.04.7) ...
Selecting previously unselected package libc-dev-bin.
Preparing to unpack .../libc-dev-bin_2.19-0ubuntu6.15_arm64.deb ...
Unpacking libc-dev-bin (2.19-0ubuntu6.15) ...
Selecting previously unselected package linux-libc-dev:arm64.
Preparing to unpack .../linux-libc-dev_3.13.0-170.220_arm64.deb ...
Unpacking linux-libc-dev:arm64 (3.13.0-170.220) ...
Selecting previously unselected package libc6-dev:arm64.
Preparing to unpack .../libc6-dev_2.19-0ubuntu6.15_arm64.deb ...
Unpacking libc6-dev:arm64 (2.19-0ubuntu6.15) ...
Selecting previously unselected package libexpat1-dev:arm64.
Preparing to unpack .../libexpat1-dev_2.1.0-4ubuntu1.4_arm64.deb ...
Unpacking libexpat1-dev:arm64 (2.1.0-4ubuntu1.4) ...
Selecting previously unselected package libpython3.4-dev:arm64.
Preparing to unpack .../libpython3.4-dev_3.4.3-1ubuntu1~14.04.7_arm64.deb ...
Unpacking libpython3.4-dev:arm64 (3.4.3-1ubuntu1~14.04.7) ...
Selecting previously unselected package libmpc3:arm64.
Preparing to unpack .../libmpc3_1.0.1-1ubuntu1_arm64.deb ...
Unpacking libmpc3:arm64 (1.0.1-1ubuntu1) ...
Selecting previously unselected package manpages.
Preparing to unpack .../manpages_3.54-1ubuntu1_all.deb ...
Unpacking manpages (3.54-1ubuntu1) ...
Selecting previously unselected package binutils.
Preparing to unpack .../binutils_2.24-5ubuntu14.2_arm64.deb ...
Unpacking binutils (2.24-5ubuntu14.2) ...
Selecting previously unselected package cpp-4.8.
Preparing to unpack .../cpp-4.8_4.8.4-2ubuntu1~14.04.4_arm64.deb ...
Unpacking cpp-4.8 (4.8.4-2ubuntu1~14.04.4) ...
Selecting previously unselected package cpp.
Preparing to unpack .../cpp_4%3a4.8.2-1ubuntu6_arm64.deb ...
Unpacking cpp (4:4.8.2-1ubuntu6) ...
Selecting previously unselected package libgcc-4.8-dev:arm64.
Preparing to unpack .../libgcc-4.8-dev_4.8.4-2ubuntu1~14.04.4_arm64.deb ...
Unpacking libgcc-4.8-dev:arm64 (4.8.4-2ubuntu1~14.04.4) ...
Selecting previously unselected package gcc-4.8.
Preparing to unpack .../gcc-4.8_4.8.4-2ubuntu1~14.04.4_arm64.deb ...
Unpacking gcc-4.8 (4.8.4-2ubuntu1~14.04.4) ...
Selecting previously unselected package gcc.
Preparing to unpack .../gcc_4%3a4.8.2-1ubuntu6_arm64.deb ...
Unpacking gcc (4:4.8.2-1ubuntu6) ...
Selecting previously unselected package libstdc++-4.8-dev:arm64.
Preparing to unpack .../libstdc++-4.8-dev_4.8.4-2ubuntu1~14.04.4_arm64.deb ...
Unpacking libstdc++-4.8-dev:arm64 (4.8.4-2ubuntu1~14.04.4) ...
Selecting previously unselected package g++-4.8.
Preparing to unpack .../g++-4.8_4.8.4-2ubuntu1~14.04.4_arm64.deb ...
Unpacking g++-4.8 (4.8.4-2ubuntu1~14.04.4) ...
Selecting previously unselected package g++.
Preparing to unpack .../g++_4%3a4.8.2-1ubuntu6_arm64.deb ...
Unpacking g++ (4:4.8.2-1ubuntu6) ...
Selecting previously unselected package make.
Preparing to unpack .../make_3.81-8.2ubuntu3_arm64.deb ...
Unpacking make (3.81-8.2ubuntu3) ...
Selecting previously unselected package libtimedate-perl.
Preparing to unpack .../libtimedate-perl_2.3000-1_all.deb ...
Unpacking libtimedate-perl (2.3000-1) ...
Selecting previously unselected package libdpkg-perl.
Preparing to unpack .../libdpkg-perl_1.17.5ubuntu5.8_all.deb ...
Unpacking libdpkg-perl (1.17.5ubuntu5.8) ...
Selecting previously unselected package xz-utils.
Preparing to unpack .../xz-utils_5.1.1alpha+20120614-2ubuntu2_arm64.deb ...
Unpacking xz-utils (5.1.1alpha+20120614-2ubuntu2) ...
Selecting previously unselected package patch.
Preparing to unpack .../patch_2.7.1-4ubuntu2.4_arm64.deb ...
Unpacking patch (2.7.1-4ubuntu2.4) ...
Selecting previously unselected package dpkg-dev.
Preparing to unpack .../dpkg-dev_1.17.5ubuntu5.8_all.deb ...
Unpacking dpkg-dev (1.17.5ubuntu5.8) ...
Selecting previously unselected package build-essential.
Preparing to unpack .../build-essential_11.6ubuntu6_arm64.deb ...
Unpacking build-essential (11.6ubuntu6) ...
Selecting previously unselected package libfakeroot:arm64.
Preparing to unpack .../libfakeroot_1.20-3ubuntu2_arm64.deb ...
Unpacking libfakeroot:arm64 (1.20-3ubuntu2) ...
Selecting previously unselected package fakeroot.
Preparing to unpack .../fakeroot_1.20-3ubuntu2_arm64.deb ...
Unpacking fakeroot (1.20-3ubuntu2) ...
Selecting previously unselected package libalgorithm-diff-perl.
Preparing to unpack .../libalgorithm-diff-perl_1.19.02-3_all.deb ...
Unpacking libalgorithm-diff-perl (1.19.02-3) ...
Selecting previously unselected package libalgorithm-diff-xs-perl.
Preparing to unpack .../libalgorithm-diff-xs-perl_0.04-2build4_arm64.deb ...
Unpacking libalgorithm-diff-xs-perl (0.04-2build4) ...
Selecting previously unselected package libalgorithm-merge-perl.
Preparing to unpack .../libalgorithm-merge-perl_0.08-2_all.deb ...
Unpacking libalgorithm-merge-perl (0.08-2) ...
Selecting previously unselected package libfile-fcntllock-perl.
Preparing to unpack .../libfile-fcntllock-perl_0.14-2build1_arm64.deb ...
Unpacking libfile-fcntllock-perl (0.14-2build1) ...
Selecting previously unselected package libpython3-dev:arm64.
Preparing to unpack .../libpython3-dev_3.4.0-0ubuntu2_arm64.deb ...
Unpacking libpython3-dev:arm64 (3.4.0-0ubuntu2) ...
Selecting previously unselected package manpages-dev.
Preparing to unpack .../manpages-dev_3.54-1ubuntu1_all.deb ...
Unpacking manpages-dev (3.54-1ubuntu1) ...
Selecting previously unselected package python-chardet-whl.
Preparing to unpack .../python-chardet-whl_2.2.1-2~ubuntu1_all.deb ...
Unpacking python-chardet-whl (2.2.1-2~ubuntu1) ...
Selecting previously unselected package python-colorama-whl.
Preparing to unpack .../python-colorama-whl_0.2.5-0.1ubuntu2_all.deb ...
Unpacking python-colorama-whl (0.2.5-0.1ubuntu2) ...
Selecting previously unselected package python-distlib-whl.
Preparing to unpack .../python-distlib-whl_0.1.8-1ubuntu1_all.deb ...
Unpacking python-distlib-whl (0.1.8-1ubuntu1) ...
Selecting previously unselected package python-html5lib-whl.
Preparing to unpack .../python-html5lib-whl_0.999-3~ubuntu1_all.deb ...
Unpacking python-html5lib-whl (0.999-3~ubuntu1) ...
Selecting previously unselected package python-six-whl.
Preparing to unpack .../python-six-whl_1.5.2-1ubuntu1.1_all.deb ...
Unpacking python-six-whl (1.5.2-1ubuntu1.1) ...
Selecting previously unselected package python-urllib3-whl.
Preparing to unpack .../python-urllib3-whl_1.7.1-1ubuntu4.1_all.deb ...
Unpacking python-urllib3-whl (1.7.1-1ubuntu4.1) ...
Selecting previously unselected package python-requests-whl.
Preparing to unpack .../python-requests-whl_2.2.1-1ubuntu0.4_all.deb ...
Unpacking python-requests-whl (2.2.1-1ubuntu0.4) ...
Selecting previously unselected package python-setuptools-whl.
Preparing to unpack .../python-setuptools-whl_3.3-1ubuntu2_all.deb ...
Unpacking python-setuptools-whl (3.3-1ubuntu2) ...
Selecting previously unselected package python-pip-whl.
Preparing to unpack .../python-pip-whl_1.5.4-1ubuntu4_all.deb ...
Unpacking python-pip-whl (1.5.4-1ubuntu4) ...
Selecting previously unselected package python3-chardet.
Preparing to unpack .../python3-chardet_2.2.1-2~ubuntu1_all.deb ...
Unpacking python3-chardet (2.2.1-2~ubuntu1) ...
Selecting previously unselected package python3-colorama.
Preparing to unpack .../python3-colorama_0.2.5-0.1ubuntu2_all.deb ...
Unpacking python3-colorama (0.2.5-0.1ubuntu2) ...
Selecting previously unselected package python3.4-dev.
Preparing to unpack .../python3.4-dev_3.4.3-1ubuntu1~14.04.7_arm64.deb ...
Unpacking python3.4-dev (3.4.3-1ubuntu1~14.04.7) ...
Selecting previously unselected package python3-dev.
Preparing to unpack .../python3-dev_3.4.0-0ubuntu2_arm64.deb ...
Unpacking python3-dev (3.4.0-0ubuntu2) ...
Selecting previously unselected package python3-distlib.
Preparing to unpack .../python3-distlib_0.1.8-1ubuntu1_all.deb ...
Unpacking python3-distlib (0.1.8-1ubuntu1) ...
Selecting previously unselected package python3-six.
Preparing to unpack .../python3-six_1.5.2-1ubuntu1.1_all.deb ...
Unpacking python3-six (1.5.2-1ubuntu1.1) ...
Selecting previously unselected package python3-html5lib.
Preparing to unpack .../python3-html5lib_0.999-3~ubuntu1_all.deb ...
Unpacking python3-html5lib (0.999-3~ubuntu1) ...
Selecting previously unselected package python3-urllib3.
Preparing to unpack .../python3-urllib3_1.7.1-1ubuntu4.1_all.deb ...
Unpacking python3-urllib3 (1.7.1-1ubuntu4.1) ...
Selecting previously unselected package python3-requests.
Preparing to unpack .../python3-requests_2.2.1-1ubuntu0.4_all.deb ...
Unpacking python3-requests (2.2.1-1ubuntu0.4) ...
Selecting previously unselected package python3-setuptools.
Preparing to unpack .../python3-setuptools_3.3-1ubuntu2_all.deb ...
Unpacking python3-setuptools (3.3-1ubuntu2) ...
Selecting previously unselected package python3-pip.
Preparing to unpack .../python3-pip_1.5.4-1ubuntu4_all.deb ...
Unpacking python3-pip (1.5.4-1ubuntu4) ...
Selecting previously unselected package python3-wheel.
Preparing to unpack .../python3-wheel_0.24.0-1~ubuntu1.1_all.deb ...
Unpacking python3-wheel (0.24.0-1~ubuntu1.1) ...
Setting up libatomic1:arm64 (4.8.4-2ubuntu1~14.04.4) ...
Setting up libgmp10:arm64 (2:5.1.3+dfsg-1ubuntu1) ...
Setting up libisl10:arm64 (0.12.2-1) ...
Setting up libcloog-isl4:arm64 (0.18.2-1) ...
Setting up libgomp1:arm64 (4.8.4-2ubuntu1~14.04.4) ...
Setting up libitm1:arm64 (4.8.4-2ubuntu1~14.04.4) ...
Setting up libmpfr4:arm64 (3.1.2-1) ...
Setting up libpython3.4:arm64 (3.4.3-1ubuntu1~14.04.7) ...
Setting up libc-dev-bin (2.19-0ubuntu6.15) ...
Setting up linux-libc-dev:arm64 (3.13.0-170.220) ...
Setting up libc6-dev:arm64 (2.19-0ubuntu6.15) ...
Setting up libexpat1-dev:arm64 (2.1.0-4ubuntu1.4) ...
Setting up libpython3.4-dev:arm64 (3.4.3-1ubuntu1~14.04.7) ...
Setting up libmpc3:arm64 (1.0.1-1ubuntu1) ...
Setting up manpages (3.54-1ubuntu1) ...
Setting up binutils (2.24-5ubuntu14.2) ...
Setting up cpp-4.8 (4.8.4-2ubuntu1~14.04.4) ...
Setting up cpp (4:4.8.2-1ubuntu6) ...
Setting up libgcc-4.8-dev:arm64 (4.8.4-2ubuntu1~14.04.4) ...
Setting up gcc-4.8 (4.8.4-2ubuntu1~14.04.4) ...
Setting up gcc (4:4.8.2-1ubuntu6) ...
Setting up libstdc++-4.8-dev:arm64 (4.8.4-2ubuntu1~14.04.4) ...
Setting up g++-4.8 (4.8.4-2ubuntu1~14.04.4) ...
Setting up g++ (4:4.8.2-1ubuntu6) ...
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
Setting up make (3.81-8.2ubuntu3) ...
Setting up libtimedate-perl (2.3000-1) ...
Setting up libdpkg-perl (1.17.5ubuntu5.8) ...
Setting up xz-utils (5.1.1alpha+20120614-2ubuntu2) ...
update-alternatives: using /usr/bin/xz to provide /usr/bin/lzma (lzma) in auto mode
Setting up patch (2.7.1-4ubuntu2.4) ...
Setting up dpkg-dev (1.17.5ubuntu5.8) ...
Setting up build-essential (11.6ubuntu6) ...
Setting up libfakeroot:arm64 (1.20-3ubuntu2) ...
Setting up fakeroot (1.20-3ubuntu2) ...
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode
Setting up libalgorithm-diff-perl (1.19.02-3) ...
Setting up libalgorithm-diff-xs-perl (0.04-2build4) ...
Setting up libalgorithm-merge-perl (0.08-2) ...
Setting up libfile-fcntllock-perl (0.14-2build1) ...
Setting up libpython3-dev:arm64 (3.4.0-0ubuntu2) ...
Setting up manpages-dev (3.54-1ubuntu1) ...
Setting up python-chardet-whl (2.2.1-2~ubuntu1) ...
Setting up python-colorama-whl (0.2.5-0.1ubuntu2) ...
Setting up python-distlib-whl (0.1.8-1ubuntu1) ...
Setting up python-html5lib-whl (0.999-3~ubuntu1) ...
Setting up python-six-whl (1.5.2-1ubuntu1.1) ...
Setting up python-urllib3-whl (1.7.1-1ubuntu4.1) ...
Setting up python-requests-whl (2.2.1-1ubuntu0.4) ...
Setting up python-setuptools-whl (3.3-1ubuntu2) ...
Setting up python-pip-whl (1.5.4-1ubuntu4) ...
Setting up python3-chardet (2.2.1-2~ubuntu1) ...
Setting up python3-colorama (0.2.5-0.1ubuntu2) ...
Setting up python3.4-dev (3.4.3-1ubuntu1~14.04.7) ...
Setting up python3-dev (3.4.0-0ubuntu2) ...
Setting up python3-distlib (0.1.8-1ubuntu1) ...
Setting up python3-six (1.5.2-1ubuntu1.1) ...
Setting up python3-html5lib (0.999-3~ubuntu1) ...
Setting up python3-urllib3 (1.7.1-1ubuntu4.1) ...
Setting up python3-requests (2.2.1-1ubuntu0.4) ...
Setting up python3-setuptools (3.3-1ubuntu2) ...
Setting up python3-pip (1.5.4-1ubuntu4) ...
Setting up python3-wheel (0.24.0-1~ubuntu1.1) ...
Processing triggers for libc-bin (2.19-0ubuntu6.15) ...
root@75b8658db800:/# python3 -m pip install --user zipp
Downloading/unpacking zipp
  Downloading zipp-3.11.0-py3-none-any.whl
Installing collected packages: zipp
*** Error compiling '/tmp/pip_build_root/zipp/zipp/__init__.py'...
  File "/tmp/pip_build_root/zipp/zipp/__init__.py", line 357
    return self.glob(f'**/{pattern}')
                                   ^
SyntaxError: invalid syntax

Successfully installed zipp
Cleaning up...
root@75b8658db800:/# python3 -m pip install -U pip     
Downloading/unpacking pip from https://files.pythonhosted.org/packages/09/bd/2410905c76ee14c62baf69e3f4aa780226c1bbfc9485731ad018e35b0cb5/pip-22.3.1-py3-none-any.whl#sha256=908c78e6bc29b676ede1c4d57981d490cb892eb45cd8c214ab6298125119e077
  Downloading pip-22.3.1-py3-none-any.whl (2.1MB): 2.1MB downloaded
Installing collected packages: pip
  Found existing installation: pip 1.5.4
    Not uninstalling pip at /usr/lib/python3/dist-packages, owned by OS
*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/build_env.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/build_env.py", line 90
    self._bin_dirs: List[str] = []
                  ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/cache.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/cache.py", line 211
    self.origin: Optional[DirectUrl] = None
               ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/cli/autocompletion.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/cli/autocompletion.py", line 32
    subcommand_name: Optional[str] = None
                   ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/cli/base_command.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/cli/base_command.py", line 46
    usage: str = ""
         ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/cli/cmdoptions.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/cli/cmdoptions.py", line 45
    msg = f"{option} error: {msg}"
                                 ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/cli/main.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/cli/main.py", line 57
    sys.stderr.write(f"ERROR: {exc}")
                                   ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/cli/main_parser.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/cli/main_parser.py", line 42
    f"{name:27} {command_info.summary}"
                                      ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/cli/parser.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/cli/parser.py", line 83
    description = f"{label}:\n{description}\n"
                                             ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/cli/progress_bars.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/cli/progress_bars.py", line 27
    ) -> Generator[bytes, None, None]:
    ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/cli/req_command.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/cli/req_command.py", line 79
    self._session: Optional[PipSession] = None
                 ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/cli/spinners.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/cli/spinners.py", line 97
    self._update(f"finished with status '{final_status}'")
                                                        ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/commands/__init__.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/commands/__init__.py", line 20
    commands_dict: Dict[str, CommandInfo] = {
                 ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/commands/cache.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/commands/cache.py", line 150
    results.append(f" - {wheel} ({size})")
                                        ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/commands/configuration.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/commands/configuration.py", line 222
    env_var = f"PIP_{key.upper()}"
                                 ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/commands/debug.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/commands/debug.py", line 56
    __import__(f"pip._vendor.{module_name}", globals(), locals(), level=0)
                                          ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/commands/download.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/commands/download.py", line 140
    downloaded: List[str] = []
              ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/commands/help.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/commands/help.py", line 32
    msg = [f'unknown command "{cmd_name}"']
                                         ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/commands/index.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/commands/index.py", line 117
    versions: Iterable[Union[LegacyVersion, Version]] = (
            ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/commands/inspect.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/commands/inspect.py", line 71
    res: Dict[str, Any] = {
       ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/commands/install.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/commands/install.py", line 304
    target_temp_dir: Optional[TempDirectory] = None
                   ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/commands/list.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/commands/list.py", line 30
    latest_version: DistributionVersion
                  ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/commands/search.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/commands/search.py", line 26
    name: str
        ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/commands/show.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/commands/show.py", line 53
    name: str
        ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/commands/uninstall.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/commands/uninstall.py", line 89
    f"You must give at least one requirement to {self.name} (see "
                                                                 ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/commands/wheel.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/commands/wheel.py", line 172
    reqs_to_build: List[InstallRequirement] = []
                 ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/configuration.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/configuration.py", line 114
    self._parsers: Dict[Kind, List[Tuple[str, RawConfigParser]]] = {
                 ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/distributions/sdist.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/distributions/sdist.py", line 137
    f"{installed} is incompatible with {wanted}"
                                               ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/exceptions.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/exceptions.py", line 39
    ) -> Text:
    ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/index/collector.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/index/collector.py", line 294
    self.url: str = url
            ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/index/package_finder.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/index/package_finder.py", line 170
    return (LinkType.yanked, f"yanked for reason: {reason}")
                                                          ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/index/sources.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/index/sources.py", line 173
    ) -> Tuple[Optional[str], Optional[LinkSource]]:
    ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/locations/__init__.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/locations/__init__.py", line 42
    _PLATLIBDIR: str = getattr(sys, "platlibdir", "lib")
               ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/locations/_distutils.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/locations/_distutils.py", line 44
    ) -> Dict[str, str]:
    ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/locations/_sysconfig.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/locations/_sysconfig.py", line 73
    implementation_suffixed = f"{sys.implementation.name}_{os.name}"
                                                                   ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/locations/base.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/locations/base.py", line 16
    site_packages: typing.Optional[str] = sysconfig.get_path("purelib")
                 ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/metadata/__init__.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/metadata/__init__.py", line 53
    Distribution: Type[BaseDistribution]
                ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/metadata/_json.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/metadata/_json.py", line 66
    value: Union[str, List[str]] = [
         ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/metadata/base.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/metadata/base.py", line 98
    return str(pathlib.Path(*info, *entry))
                                   ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/metadata/importlib/_compat.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/metadata/importlib/_compat.py", line 11
    return f"Bad metadata in {self.dist} ({self.reason})"
                                                        ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/metadata/importlib/_dists.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/metadata/importlib/_dists.py", line 67
    if name.startswith(f"{info_dir}/")
                                    ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/metadata/importlib/_envs.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/metadata/importlib/_envs.py", line 50
    self._found_names: Set[NormalizedName] = set()
                     ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/metadata/pkg_resources.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/metadata/pkg_resources.py", line 31
    name: str
        ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/models/direct_url.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/models/direct_url.py", line 46
    raise DirectUrlValidationError(f"{key} must have a value")
                                                            ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/models/installation_report.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/models/installation_report.py", line 15
    assert ireq.download_info, f"No download_info for {ireq}"
                                                            ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/models/link.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/models/link.py", line 54
    name: str
        ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/models/search_scope.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/models/search_scope.py", line 40
    built_find_links: List[str] = []
                    ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/models/target_python.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/models/target_python.py", line 65
    self._valid_tags: Optional[List[Tag]] = None
                    ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/models/wheel.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/models/wheel.py", line 28
    raise InvalidWheelFilename(f"{filename} is not a valid wheel filename.")
                                                                          ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/network/auth.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/network/auth.py", line 79
    self.passwords: Dict[str, AuthInfo] = {}
                  ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/network/download.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/network/download.py", line 103
    ext: Optional[str] = splitext(filename)[1]
       ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/network/lazy_wheel.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/network/lazy_wheel.py", line 59
    self._left: List[int] = []
              ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/network/session.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/network/session.py", line 67
    SECURE_ORIGINS: List[SecureOrigin] = [
                  ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/network/utils.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/network/utils.py", line 26
    HEADERS: Dict[str, str] = {"Accept-Encoding": "identity"}
           ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/operations/build/build_tracker.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/operations/build/build_tracker.py", line 21
    saved_values: Dict[str, Union[object, str]] = {}
                ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/operations/build/metadata_legacy.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/operations/build/metadata_legacy.py", line 26
    raise InstallationError(f"No .egg-info directory found in {directory}")
                                                                         ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/operations/build/wheel.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/operations/build/wheel.py", line 27
    f"Building wheel for {name} (pyproject.toml)"
                                                ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/operations/build/wheel_editable.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/operations/build/wheel_editable.py", line 27
    f"Building editable for {name} (pyproject.toml)"
                                                   ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/operations/build/wheel_legacy.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/operations/build/wheel_legacy.py", line 18
    text = f"Command arguments: {command_desc}\n"
                                                ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/operations/check.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/operations/check.py", line 19
    version: DistributionVersion
           ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/operations/freeze.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/operations/freeze.py", line 22
    requirement: str
               ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/operations/install/legacy.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/operations/install/legacy.py", line 94
    f"Running setup.py install for {req_name}"
                                             ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/operations/install/wheel.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/operations/install/wheel.py", line 66
    src_record_path: "RecordPath"
                   ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/operations/prepare.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/operations/prepare.py", line 259
    self._downloaded: Dict[str, str] = {}
                    ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/pyproject.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/pyproject.py", line 58
    f"{req_name} does not appear to be a Python project: "
                                                         ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/req/__init__.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/req/__init__.py", line 26
    return f"InstallationResult(name={self.name!r})"
                                                   ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/req/constructors.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/req/constructors.py", line 92
    if url.lower().startswith(f"{version_control}:"):
                                                  ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/req/req_file.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/req/req_file.py", line 53
    SUPPORTED_OPTIONS: List[Callable[..., optparse.Option]] = [
                     ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/req/req_install.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/req/req_install.py", line 101
    self.legacy_install_reason: Optional[LegacyInstallReason] = None
                              ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/req/req_set.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/req/req_set.py", line 16
    self.requirements: Dict[str, InstallRequirement] = OrderedDict()
                     ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/req/req_uninstall.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/req/req_uninstall.py", line 31
    yield f"{exe_name}.exe"
                          ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/resolution/legacy/resolver.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/resolution/legacy/resolver.py", line 156
    self._discovered_dependencies: DiscoveredDependencies = defaultdict(list)
                                 ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/resolution/resolvelib/candidates.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/resolution/resolvelib/candidates.py", line 107
    line = f"{dist.canonical_name} @ {template.link.url}"
                                                        ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/resolution/resolvelib/factory.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/resolution/resolvelib/factory.py", line 72
    requirement: RequiresPythonRequirement
               ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/resolution/resolvelib/found_candidates.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/resolution/resolvelib/found_candidates.py", line 43
    versions_found: Set[_BaseVersion] = set()
                  ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/resolution/resolvelib/provider.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/resolution/resolvelib/provider.py", line 102
    self._known_depths: Dict[str, float] = collections.defaultdict(lambda: math.inf)
                      ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/resolution/resolvelib/reporter.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/resolution/resolvelib/reporter.py", line 14
    self.backtracks_by_package: DefaultDict[str, int] = defaultdict(int)
                              ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/resolution/resolvelib/requirements.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/resolution/resolvelib/requirements.py", line 85
    f"Internal issue: Candidate is not for this requirement "
                                                            ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/resolution/resolvelib/resolver.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/resolution/resolvelib/resolver.py", line 68
    self._result: Optional[Result] = None
                ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/self_outdated_check.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/self_outdated_check.py", line 45
    self._state: Dict[str, Any] = {}
               ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/utils/compat.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/utils/compat.py", line 50
    raise OSError(f"{path} is a symlink; Will not return uid for symlinks")
                                                                         ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/utils/compatibility_tags.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/utils/compatibility_tags.py", line 109
    return f"{implementation}{version}"
                                      ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/utils/deprecation.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/utils/deprecation.py", line 20
    _original_showwarning: Any = None
                         ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/utils/direct_url_helpers.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/utils/direct_url_helpers.py", line 82
    hash = f"{hash_name}={link.hash}"
                                    ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/utils/encoding.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/utils/encoding.py", line 7
    BOMS: List[Tuple[bytes, str]] = [
        ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/utils/entrypoints.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/utils/entrypoints.py", line 12
    f"pip{sys.version_info.major}",
                                 ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/utils/filesystem.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/utils/filesystem.py", line 58
    **kwargs,
            ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/utils/filetypes.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/utils/filetypes.py", line 9
    BZ2_EXTENSIONS: Tuple[str, ...] = (".tar.bz2", ".tbz")
                  ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/utils/hashes.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/utils/hashes.py", line 82
    raise InstallationError(f"Unknown hash name: {hash_name}")
                                                            ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/utils/logging.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/utils/logging.py", line 80
    **kwargs: Any,
                 ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/utils/misc.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/utils/misc.py", line 116
    return f"{sys.executable} -m pip"
                                    ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/utils/subprocess.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/utils/subprocess.py", line 36
    command_args: CommandArgs = []
                ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/utils/temp_dir.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/utils/temp_dir.py", line 25
    _tempdir_manager: Optional[ExitStack] = None
                    ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/utils/unpacking.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/utils/unpacking.py", line 257
    raise InstallationError(f"Cannot determine archive format of {location}")
                                                                           ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/utils/urls.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/utils/urls.py", line 32
    ), f"You can only turn file: urls into filenames (not {url!r})"
                                                                  ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/utils/wheel.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/utils/wheel.py", line 77
    raise UnsupportedWheel(f"could not read {path!r} file: {e!r}")
                                                                ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/vcs/bazaar.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/vcs/bazaar.py", line 51
    flag = f"-{'v'*verbosity}"
                             ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/vcs/git.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/vcs/git.py", line 162
    raise ValueError(f"unexpected show-ref line: {line!r}")
                                                         ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/vcs/mercurial.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/vcs/mercurial.py", line 47
    flags: Tuple[str, ...] = ("--quiet",)
         ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/vcs/subversion.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/vcs/subversion.py", line 100
    extra_args: CommandArgs = []
              ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/vcs/versioncontrol.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/vcs/versioncontrol.py", line 78
    req = f"{repo_url}@{rev}#egg={egg_project_name}"
                                                   ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_internal/wheel_builder.py'...
  File "/tmp/pip_build_root/pip/pip/_internal/wheel_builder.py", line 186
    msg = f"Invalid Metadata-Version: {metadata_version_value}"
                                                              ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/chardet/__init__.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/chardet/__init__.py", line 35
    f"Expected object of type bytes or bytearray, got: {type(byte_str)}"
                                                                       ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/chardet/cli/chardetect.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/chardet/cli/chardetect.py", line 43
    return f'{name}: {result["encoding"]} with confidence {result["confidence"]}'
                                                                                ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/chardet/metadata/languages.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/chardet/metadata/languages.py", line 60
    f"{k}={v!r}" for k, v in self.__dict__.items() if not k.startswith("_")
               ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/distro/distro.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/distro/distro.py", line 62
    major: str
         ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/packaging/_manylinux.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/packaging/_manylinux.py", line 39
    result: Tuple[int, ...] = struct.unpack(fmt, data)
          ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/packaging/_musllinux.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/packaging/_musllinux.py", line 72
    major: int
         ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/packaging/markers.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/packaging/markers.py", line 63
    return f"<{self.__class__.__name__}('{self}')>"
                                                  ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/packaging/requirements.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/packaging/requirements.py", line 105
    f'Parse error at "{ requirement_string[e.loc : e.loc + 8]!r}": {e.msg}'
                                                                          ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/packaging/specifiers.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/packaging/specifiers.py", line 92
    _operators: Dict[str, str] = {}
              ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/packaging/tags.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/packaging/tags.py", line 30
    INTERPRETER_SHORT_NAMES: Dict[str, str] = {
                           ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/packaging/utils.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/packaging/utils.py", line 56
    parts.append(f"{parsed.epoch}!")
                                  ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/packaging/version.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/packaging/version.py", line 61
    _key: Union[CmpKey, LegacyCmpKey]
        ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/platformdirs/__init__.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/platformdirs/__init__.py", line 5
    from __future__ import annotations
SyntaxError: future feature annotations is not defined

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/platformdirs/__main__.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/platformdirs/__main__.py", line 22
    print(f"-- platformdirs {__version__} --")
                                            ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/platformdirs/android.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/platformdirs/android.py", line 89
    result: str | None = Context.getFilesDir().getParentFile().getAbsolutePath()
          ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/platformdirs/api.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/platformdirs/api.py", line 1
    from __future__ import annotations
SyntaxError: future feature annotations is not defined

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/platformdirs/macos.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/platformdirs/macos.py", line 1
    from __future__ import annotations
SyntaxError: future feature annotations is not defined

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/platformdirs/unix.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/platformdirs/unix.py", line 51
    path = f"/usr/local/share{os.pathsep}/usr/share"
                                                   ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/platformdirs/windows.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/platformdirs/windows.py", line 113
    raise ValueError(f"Unknown CSIDL name: {csidl_name}")
                                                       ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/pygments/formatters/html.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/pygments/formatters/html.py", line 717
    yield 0, (f'<table class="{self.cssclass}table">' + filename_tr +
                                                    ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/pyparsing/__init__.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/pyparsing/__init__.py", line 100
    major: int
         ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/pyparsing/core.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/pyparsing/core.py", line 50
    str_type: Tuple[type, ...] = (str, bytes)
            ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/pyparsing/diagram/__init__.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/pyparsing/diagram/__init__.py", line 251
    self.element: pyparsing.ParserElement = element
                ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/pyparsing/helpers.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/pyparsing/helpers.py", line 22
    ) -> ParserElement:
    ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/pyparsing/results.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/pyparsing/results.py", line 7
    str_type: Tuple[type, ...] = (str, bytes)
            ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/pyparsing/testing.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/pyparsing/testing.py", line 186
    for rpt, expected in zip(run_test_results, expected_parse_results)
                        ^
SyntaxError: can use starred expression only as assignment target

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/pyparsing/unicode.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/pyparsing/unicode.py", line 53
    _ranges: UnicodeRangeList = []
           ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/pyparsing/util.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/pyparsing/util.py", line 15
    _all_names: List[str] = []
              ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/requests/adapters.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/requests/adapters.py", line 198
    **pool_kwargs,
                 ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/requests/auth.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/requests/auth.py", line 176
    KD = lambda s, d: hash_utf8(f"{s}:{d}")  # noqa:E731
                                         ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/requests/cookies.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/requests/cookies.py", line 384
    raise KeyError(f"name={name!r}, domain={domain!r}, path={path!r}")
                                                                    ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/requests/help.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/requests/help.py", line 95
    "openssl_version": f"{OpenSSL.SSL.OPENSSL_VERSION_NUMBER:x}",
                                                               ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/requests/models.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/requests/models.py", line 211
    raise ValueError(f'Unsupported event specified, with event name "{event}"')
                                                                             ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/requests/sessions.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/requests/sessions.py", line 169
    **adapter_kwargs,
                    ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/requests/status_codes.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/requests/status_codes.py", line 117
    names = ", ".join(f"``{n}``" for n in _codes[code])
                               ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/requests/structures.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/requests/structures.py", line 91
    return f"<lookup '{self.name}'>"
                                   ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/requests/utils.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/requests/utils.py", line 201
    netrc_locations = (f"~/{f}" for f in NETRC_FILES)
                              ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/rich/__init__.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/rich/__init__.py", line 14
    _console: Optional["Console"] = None
            ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/rich/__main__.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/rich/__main__.py", line 235
    print(f"rendered in {pre_cache_taken}ms (cold cache)")
                                                        ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/rich/_inspect.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/rich/_inspect.py", line 52
    ) -> None:
    ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/rich/_log_render.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/rich/_log_render.py", line 30
    self._last_time: Optional[Text] = None
                   ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/rich/_ratio.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/rich/_ratio.py", line 15
    size: Optional[int] = None
        ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/rich/_timer.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/rich/_timer.py", line 19
    print(f"{subject} elapsed {elapsed_ms:.1f}ms")
                                                ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/rich/_win32_console.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/rich/_win32_console.py", line 9
    windll: Any = None
          ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/rich/_windows.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/rich/_windows.py", line 9
    vt: bool = False
      ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/rich/_windows_renderer.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/rich/_windows_renderer.py", line 21
    control_codes: Sequence[ControlCode] = control
                 ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/rich/_wrap.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/rich/_wrap.py", line 21
    divides: List[int] = []
           ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/rich/align.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/rich/align.py", line 49
    ) -> None:
    ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/rich/ansi.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/rich/ansi.py", line 22
    plain: str = ""
         ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/rich/bar.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/rich/bar.py", line 38
    ):
    ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/rich/box.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/rich/box.py", line 111
    parts: List[str] = []
         ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/rich/cells.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/rich/cells.py", line 132
    lines: List[List[str]] = [[]]
         ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/rich/color.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/rich/color.py", line 30
    return f"ColorSystem.{self.name}"
                                    ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/rich/color_triplet.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/rich/color_triplet.py", line 7
    red: int
       ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/rich/columns.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/rich/columns.py", line 43
    ) -> None:
    ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/rich/console.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/rich/console.py", line 113
    width: int
         ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/rich/containers.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/rich/containers.py", line 36
    self._renderables: List["RenderableType"] = (
                     ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/rich/control.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/rich/control.py", line 15
    STRIP_CONTROL_CODES: Final = [
                       ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/rich/default_styles.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/rich/default_styles.py", line 5
    DEFAULT_STYLES: Dict[str, Style] = {
                  ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/rich/diagnose.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/rich/diagnose.py", line 33
    console.print(f'platform="{platform.system()}"')
                                                  ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/rich/emoji.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/rich/emoji.py", line 53
    raise NoEmoji(f"No emoji called {name!r}")
                                            ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/rich/file_proxy.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/rich/file_proxy.py", line 17
    self.__buffer: List[str] = []
                 ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/rich/filesize.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/rich/filesize.py", line 26
    ) -> str:
    ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/rich/highlighter.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/rich/highlighter.py", line 37
    raise TypeError(f"str or Text instance required, not {text!r}")
                                                                 ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/rich/json.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/rich/json.py", line 83
    json_instance: "JSON" = cls.__new__(cls)
                 ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/rich/jupyter.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/rich/jupyter.py", line 45
    **kwargs: Any,
                 ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/rich/layout.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/rich/layout.py", line 35
    region: Region
          ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/rich/live.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/rich/live.py", line 64
    ) -> None:
    ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/rich/live_render.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/rich/live_render.py", line 37
    self._shape: Optional[Tuple[int, int]] = None
               ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/rich/logging.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/rich/logging.py", line 49
    KEYWORDS: ClassVar[Optional[List[str]]] = [
            ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/rich/markup.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/rich/markup.py", line 23
    name: str
        ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/rich/measure.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/rich/measure.py", line 14
    minimum: int
           ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/rich/padding.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/rich/padding.py", line 40
    ):
    ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/rich/palette.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/rich/palette.py", line 31
    caption=f"{len(self._colors)} colors",
                                        ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/rich/panel.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/rich/panel.py", line 54
    ) -> None:
    ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/rich/pretty.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/rich/pretty.py", line 250
    pprint: bool = True
          ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/rich/progress.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/rich/progress.py", line 142
    columns: List["ProgressColumn"] = (
           ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/rich/progress_bar.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/rich/progress_bar.py", line 55
    self._pulse_segments: Optional[List[Segment]] = None
                        ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/rich/prompt.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/rich/prompt.py", line 43
    response_type: type = str
                 ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/rich/protocol.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/rich/protocol.py", line 30
    rich_visited_set: Set[type] = set()  # Prevent potential infinite loop
                    ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/rich/region.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/rich/region.py", line 7
    x: int
     ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/rich/repr.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/rich/repr.py", line 48
    repr_str: List[str] = []
            ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/rich/rule.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/rich/rule.py", line 31
    ) -> None:
    ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/rich/scope.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/rich/scope.py", line 22
    ) -> "ConsoleRenderable":
    ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/rich/screen.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/rich/screen.py", line 26
    renderable: "RenderableType"
              ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/rich/segment.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/rich/segment.py", line 77
    text: str
        ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/rich/spinner.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/rich/spinner.py", line 21
    ) -> None:
    ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/rich/status.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/rich/status.py", line 32
    ):
    ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/rich/style.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/rich/style.py", line 58
    _color: Optional[Color]
          ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/rich/syntax.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/rich/syntax.py", line 59
    ANSI_LIGHT: Dict[TokenType, Style] = {
              ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/rich/table.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/rich/table.py", line 70
    header: "RenderableType" = ""
          ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/rich/text.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/rich/text.py", line 34
    DEFAULT_JUSTIFY: "JustifyMethod" = "default"
                   ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/rich/theme.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/rich/theme.py", line 16
    styles: Dict[str, Style]
          ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/rich/traceback.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/rich/traceback.py", line 47
    ) -> Callable[[Type[BaseException], BaseException, Optional[TracebackType]], Any]:
    ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/rich/tree.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/rich/tree.py", line 32
    ) -> None:
    ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/tenacity/__init__.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/tenacity/__init__.py", line 123
    f"Got retry_base instance ({f.__class__.__name__}) as callable argument, "
                                                                             ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/tenacity/_asyncio.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/tenacity/_asyncio.py", line 38
    async def __call__(  # type: ignore  # Change signature from supertype
            ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/tenacity/_utils.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/tenacity/_utils.py", line 43
    return f"{pos_num}{find_ordinal(pos_num)}"
                                             ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/tenacity/after.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/tenacity/after.py", line 41
    f"Finished call to '{_utils.get_callback_name(retry_state.fn)}' "
                                                                    ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/tenacity/before.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/tenacity/before.py", line 37
    f"Starting call to '{_utils.get_callback_name(retry_state.fn)}', "
                                                                     ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/tenacity/before_sleep.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/tenacity/before_sleep.py", line 41
    verb, value = "raised", f"{ex.__class__.__name__}: {ex}"
                                                           ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/tenacity/retry.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/tenacity/retry.py", line 182
    raise TypeError(f"{self.__class__.__name__}() takes either 'message' or 'match', not both")
                                                                                             ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/tenacity/tornadoweb.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/tenacity/tornadoweb.py", line 41
    **kwargs: typing.Any,
                        ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/tomli/_parser.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/tomli/_parser.py", line 77
    header: Key = ()
          ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/tomli/_re.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/tomli/_re.py", line 47
    rf"""
([0-9]{{4}})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])  # date, e.g. 1988-10-27
(?:
    [Tt ]
    {_TIME_RE_STR}
    (?:([Zz])|([+-])([01][0-9]|2[0-3]):([0-5][0-9]))?  # optional time offset
)?
""",
         
                                                                              
   
         
                  
                                                                             
  
  ^
SyntaxError: invalid syntax

*** Error compiling '/tmp/pip_build_root/pip/pip/_vendor/typing_extensions.py'...
  File "/tmp/pip_build_root/pip/pip/_vendor/typing_extensions.py", line 94
    raise TypeError(f"{cls} is not a generic class")
                                                  ^
SyntaxError: invalid syntax

Successfully installed pip
Cleaning up...
root@75b8658db800:/# apt install -y -q wget
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
  wget
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 255 kB of archives.
After this operation, 623 kB of additional disk space will be used.
Get:1 http://ports.ubuntu.com/ubuntu-ports/ trusty-updates/main wget arm64 1.15-1ubuntu1.14.04.5 [255 kB]
Fetched 255 kB in 0s (455 kB/s)
Selecting previously unselected package wget.
(Reading database ... 17820 files and directories currently installed.)
Preparing to unpack .../wget_1.15-1ubuntu1.14.04.5_arm64.deb ...
Unpacking wget (1.15-1ubuntu1.14.04.5) ...
Setting up wget (1.15-1ubuntu1.14.04.5) ...
root@75b8658db800:/# wget https://bootstrap.pypa.io/pip/3.4/get-pip.py -O - | sudo python3
--2022-12-02 18:10:13--  https://bootstrap.pypa.io/pip/3.4/get-pip.py
Resolving bootstrap.pypa.io (bootstrap.pypa.io)... 151.101.0.175, 151.101.64.175, 151.101.128.175, ...
Connecting to bootstrap.pypa.io (bootstrap.pypa.io)|151.101.0.175|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1708647 (1.6M) [text/x-python]
Saving to: 'STDOUT'

100%[==========================================================================================================================>] 1,708,647   --.-K/s   in 0.1s    

2022-12-02 18:10:13 (14.9 MB/s) - written to stdout [1708647/1708647]

DEPRECATION: Python 3.4 support has been deprecated. pip 19.1 will be the last one supporting it. Please upgrade your Python as Python 3.4 won't be maintained after March 2019 (cf PEP 429).
Collecting pip<19.2
  Downloading https://files.pythonhosted.org/packages/5c/e0/be401c003291b56efc55aeba6a80ab790d3d4cece2778288d65323009420/pip-19.1.1-py2.py3-none-any.whl (1.4MB)
     |################################| 1.4MB 3.4MB/s 
Installing collected packages: pip
  Found existing installation: pip 22.3.1
    Uninstalling pip-22.3.1:
      Successfully uninstalled pip-22.3.1
Successfully installed pip-19.1.1
root@75b8658db800:/# python3 -m pip install --user zipp
DEPRECATION: Python 3.4 support has been deprecated. pip 19.1 will be the last one supporting it. Please upgrade your Python as Python 3.4 won't be maintained after March 2019 (cf PEP 429).
Requirement already satisfied: zipp in /root/.local/lib/python3.4/site-packages (3.11.0)
ERROR: zipp requires Python '>=3.7' but the running Python is 3.4.3
root@75b8658db800:/# python3 -m pip uninstall -y zipp  
DEPRECATION: Python 3.4 support has been deprecated. pip 19.1 will be the last one supporting it. Please upgrade your Python as Python 3.4 won't be maintained after March 2019 (cf PEP 429).
Uninstalling zipp-3.11.0:
  Successfully uninstalled zipp-3.11.0
root@75b8658db800:/# python3 -m pip install --user zipp
DEPRECATION: Python 3.4 support has been deprecated. pip 19.1 will be the last one supporting it. Please upgrade your Python as Python 3.4 won't be maintained after March 2019 (cf PEP 429).
Collecting zipp
  Downloading https://files.pythonhosted.org/packages/96/0a/67556e9b7782df7118c1f49bdc494da5e5e429c93aa77965f33e81287c8c/zipp-1.2.0-py2.py3-none-any.whl
Installing collected packages: zipp
Successfully installed zipp-1.2.0
root@75b8658db800:/# 

So the thing you need to do is:

  • upgrade pip
  • install zipp

To upgrade pip, either:

sudo python3 -m pip install -U 'pip<19.2'

or:

wget https://bootstrap.pypa.io/pip/3.4/get-pip.py -O - | sudo python3

Hope that helps.

@jaraco jaraco closed this as completed Dec 2, 2022
@jaraco jaraco added the invalid This doesn't seem right label Dec 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants