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 us...@1000.service
No containers need to be restarted.
No user sessions are running outdated binaries.
15:57 ♒ ॐ ♅ ♄ ⛢ ☺ 😄
********************************
-- System Information:
Debian Release: 11.0
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'stable-updates'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.10.0-6-amd64 (SMP w/8 CPU threads)
Locale: LANG=en_IN.UTF-8, LC_CTYPE=en_IN.UTF-8 (charmap=UTF-8), LANGUAGE=en_US
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages pristine-lfs depends on:
ii git 1:2.31.0-1
ii git-lfs 2.13.2-1+b2
ii python3 3.9.2-3
ii python3-debian 0.1.39
ii python3-sh 1.14.1-1
pristine-lfs recommends no packages.
pristine-lfs suggests no packages.
-- no debconf information