#1013295 python3-stsci.distutils: post-installation script returned error when installing the package #1013295
- Package:
- python3-stsci.distutils
- Source:
- stsci.distutils
- Submitter:
- "Roy Clark (kralcyor)"
- Date:
- 2022-06-28 19:09:03 UTC
- Severity:
- serious
Dear Maintainer,
The following errors happend when installing the python3-stsci.distutils package:
$ sudo aptitude install python3-stsci.distutils
The following NEW packages will be installed:
python3-stsci.distutils
0 packages upgraded, 1 newly installed, 0 to remove and 3 not upgraded.
Need to get 26.7 kB of archives. After unpacking 112 kB will be used.
Get: 1 http://mirrors.ustc.edu.cn/debian sid/main amd64 python3-stsci.distutils all 0.3.7-6 [26.7 kB]
Fetched 26.7 kB in 1s (30.3 kB/s)
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
Selecting previously unselected package python3-stsci.distutils.
(Reading database ... 589559 files and directories currently installed.)
Preparing to unpack .../python3-stsci.distutils_0.3.7-6_all.deb ...
Unpacking python3-stsci.distutils (0.3.7-6) ...
Setting up python3-stsci.distutils (0.3.7-6) ...
File "/usr/lib/python3/dist-packages/stsci/distutils/command/build_optional_ext.py", line 36
except Exception, e:
^
SyntaxError: invalid syntax
File "/usr/lib/python3/dist-packages/stsci/distutils/release.py", line 186
print 'Finished adding package to %s.' % PACKAGE_INDEX_URL
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print('Finished adding package to %s.' % PACKAGE_INDEX_URL)?
File "/usr/lib/python3/dist-packages/stsci/distutils/tests/__init__.py", line 27
except OSError, e:
^
SyntaxError: invalid syntax
File "/usr/lib/python3/dist-packages/stsci/distutils/command/build_optional_ext.py", line 36
except Exception, e:
^^^^^^^^^^^^
SyntaxError: multiple exception types must be parenthesized
dpkg: error processing package python3-stsci.distutils (--configure):
installed python3-stsci.distutils package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
python3-stsci.distutils
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)
Setting up python3-stsci.distutils (0.3.7-6) ...
File "/usr/lib/python3/dist-packages/stsci/distutils/command/build_optional_ext.py", line 36
except Exception, e:
^
SyntaxError: invalid syntax
File "/usr/lib/python3/dist-packages/stsci/distutils/release.py", line 186
print 'Finished adding package to %s.' % PACKAGE_INDEX_URL
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print('Finished adding package to %s.' % PACKAGE_INDEX_URL)?
File "/usr/lib/python3/dist-packages/stsci/distutils/tests/__init__.py", line 27
except OSError, e:
^
SyntaxError: invalid syntax
File "/usr/lib/python3/dist-packages/stsci/distutils/command/build_optional_ext.py", line 36
except Exception, e:
^^^^^^^^^^^^
SyntaxError: multiple exception types must be parenthesized
dpkg: error processing package python3-stsci.distutils (--configure):
installed python3-stsci.distutils package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
python3-stsci.distutils
We believe that the bug you reported is fixed in the latest version of
stsci.distutils, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1013295@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Aurelien Jarno <aurel32@debian.org> (supplier of updated stsci.distutils package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Tue, 28 Jun 2022 20:55:52 +0200
Source: stsci.distutils
Architecture: source
Version: 0.3.7-7
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Aurelien Jarno <aurel32@debian.org>
Closes: 1013295
Changes:
stsci.distutils (0.3.7-7) unstable; urgency=medium
.
* debian/patches/02-setuptools-2to3.diff: workaround removed support for
2to3 in python3-setuptools v58.0.0. Closes: #1013295.
* debian/control: set Rules-Requires-Root: no.
Checksums-Sha1:
28dcb2513f7b93e1fb3630cbae9fc49e2f68c5c7 2135 stsci.distutils_0.3.7-7.dsc
ec4f8400a3483ba9beac172658931d40fa0a24f8 5928 stsci.distutils_0.3.7-7.debian.tar.xz
a1ccc1c58be7b11eac71f6d6379295362d4fd89d 6512 stsci.distutils_0.3.7-7_source.buildinfo
Checksums-Sha256:
224d608741ff82b53a67d8581a2b135910db5172ccd2108be6d914ef5f201c87 2135 stsci.distutils_0.3.7-7.dsc
b312580fa0d2b24b2614473dc1fac55e15f3c9f6d101aba9ccc2607e26f702f2 5928 stsci.distutils_0.3.7-7.debian.tar.xz
2bfb93afcecc44ab1123967a3f62a8c16b4a46e15b79a44a67ae78d1a9cd73c7 6512 stsci.distutils_0.3.7-7_source.buildinfo
Files:
232c3e605cae76e1f78dc068f106de3e 2135 python optional stsci.distutils_0.3.7-7.dsc
156f284710e21ae4d3c9760f9aa20894 5928 python optional stsci.distutils_0.3.7-7.debian.tar.xz
f6f808efb9054a2bdd2788cb5a113d1f 6512 python optional stsci.distutils_0.3.7-7_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEUryGlb40+QrX1Ay4E4jA+JnoM2sFAmK7TywACgkQE4jA+Jno
M2uuFg//SckZvpcC2HhUfikoj7rEculduaLqkTbhR6skrf+Fv4e9ZYOyVABQJYmt
z4VhaksXdtKxh0vSIj+pKi8wYK6pGYXpGZfTT/NxfBrgwr5Ro2T2OM9FzGqsJgOQ
lCGrvVFFe7MdBTZbcSwoEzZwvE/kAD2eyHcC9kjnBKjkb/O2gO9gjLt/Sd7yBXLL
6gUi5+nxBTp48VWiR+w6NNyzWw3OlHjMQX+9zM7rcHM5KF6nmUVaTxa0GQpWyyuj
kIih5HDwp5WWwgDyr0qBQ78p7HCjIr1l/Sm/EPy9HxWQChCYAVk+9KScxXFEJWpv
CEEDiOQIP8IYh2glUWIVMhsxREpnYA0XIIRhp2qNnf65KIcHUQTD/sX0epruYBno
QzMhjogs0ijrqXpkxZYSje56NBjqIoXbQcOGDrS5V/7k4FH76VVL4sOvbdFl8zXL
2VZqQK2gaXr9yxpe3x7RkLzYpGEWvLKWKxKgUkYHtMKG6bz83E5UtqccOs6ge7K1
Yo0JwxHJkZXajAWz7R0Kg5viGcIqAsUe+MsqPd2NpFYiP9xD82DZLCSZpZqXQk8h
l+Yh4VrpdqMcouH98Hu9pcc4NI3YMaTkT9EBj71h0iLhEiw4lmehLnWIGVY+NnrP
4zHaoZ+YMLqTxeQMwB//PAh7PWJpbYlnes3X4rZgZj0tadMXQRk=
=kNBT
-----END PGP SIGNATURE-----