Dear Andrej,
While installing another python package, I came across this error
reported about pristine-lfs package, which is why this bug report.
********************************
rrs@priyasi:~$ sudo apt install pypy3
[sudo] password for rrs:
Sorry, try again.
[sudo] password for rrs:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
pypy3-lib
Suggested packages:
pypy3-doc pypy3-tk
The following NEW packages will be installed:
pypy3 pypy3-lib
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 12.1 MB of archives.
After this operation, 78.2 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://deb.debian.org/debian testing/main amd64 pypy3-lib amd64 7.3.3+dfsg-3 [2,508 kB]
Get:2 http://deb.debian.org/debian testing/main amd64 pypy3 amd64 7.3.3+dfsg-3 [9,596 kB]
Fetched 12.1 MB in 9s (1,380 kB/s)
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
QCommandLineParser: already having an option named "h"
QCommandLineParser: already having an option named "help-all"
QCommandLineParser: already having an option named "v"
Selecting previously unselected package pypy3-lib:amd64.
(Reading database ... 409013 files and directories currently installed.)
Preparing to unpack .../pypy3-lib_7.3.3+dfsg-3_amd64.deb ...
Unpacking pypy3-lib:amd64 (7.3.3+dfsg-3) ...
Selecting previously unselected package pypy3.
Preparing to unpack .../pypy3_7.3.3+dfsg-3_amd64.deb ...
Unpacking pypy3 (7.3.3+dfsg-3) ...
Setting up pypy3-lib:amd64 (7.3.3+dfsg-3) ...
Setting up pypy3 (7.3.3+dfsg-3) ...
running pypy3 rtupdate hooks for 7.3
Failed to byte-compile /usr/lib/python3/dist-packages/pristine_lfs/errors.py: File "/usr/lib/python3/dist-packages/pristine_lfs/errors.py", line 10
from __future__ import annotations
^
SyntaxError: future feature annotations is not defined
Failed to byte-compile /usr/lib/python3/dist-packages/pristine_lfs/util.py: File "/usr/lib/python3/dist-packages/pristine_lfs/util.py", line 11
from __future__ import annotations
^
SyntaxError: future feature annotations is not defined
running pypy3 post-rtupdate hooks for 7.3
Processing triggers for man-db (2.9.4-2) ...
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
QCommandLineParser: already having an option named "h"
QCommandLineParser: already having an option named "help-all"
QCommandLineParser: already having an option named "v"
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
QCommandLineParser: already having an option named "h"
QCommandLineParser: already having an option named "help-all"
QCommandLineParser: already having an option named "v"
Scanning processes...
Scanning candidates...
Scanning processor microcode...
Scanning linux images...
Running kernel seems to be up-to-date.
The processor microcode seems to be up-to-date.
Restarting services...
Service restarts being deferred:
systemctl restart user@1000.service
No containers need to be restarted.
No user sessions are running outdated binaries.
15:57 ♒ ॐ ♅ ♄ ⛢ ☺ 😄
********************************