Your message dated Wed, 30 Nov 2022 18:10:05 +0000
with message-id <[email protected]>
and subject line Bug#938168: Removed package(s) from unstable
has caused the Debian Bug report #807681,
regarding python3-pkg-resources: UnicodeDecodeError when parsing egg-info files 
with non-ASCII content
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
807681: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=807681
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python3-pkg-resources
Version: 18.7-1
Severity: important

An example of such a file can be found in python3-dialog (the Description
contains UTF-8 encoded non-breaking spaces), but I am sure there are others.

The failure traceback looks as follows (from trying to run an unrelated
package's setup.py):

Traceback (most recent call last):
  File "setup.py", line 17, in <module>
    from setuptools.command.test import test as TestCommand
  File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 12, in 
<module>
    from setuptools.extension import Extension
  File "/usr/lib/python3/dist-packages/setuptools/extension.py", line 8, in 
<module>
    from .dist import _get_unpatched
  File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 19, in <module>
    import pkg_resources
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3144, 
in <module>
    @_call_aside
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3130, 
in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3157, 
in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 649, in 
_build_master
    ws = cls()
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 642, in 
__init__
    self.add_entry(entry)
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 698, in 
add_entry
    for dist in find_distributions(entry, True):
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2136, 
in find_on_path
    path_item, entry, metadata, precedence=DEVELOP_DIST
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2519, 
in from_location
    version = cls._version_from_metadata(dist_path) or version
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2842, 
in _version_from_metadata
    return _version_from_file(strm)
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2483, 
in _version_from_file
    line = next(iter(version_lines), '')
  File "/usr/lib/python3.5/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 3559: 
ordinal not in range(128)

I thought this might be some locale issue, but LANG is set to a UTF-8 locale,
so it's not that.


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.2.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_ZA.utf8, LC_CTYPE=en_ZA.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages python3-pkg-resources depends on:
pn  python3:any  <none>

python3-pkg-resources recommends no packages.

Versions of packages python3-pkg-resources suggests:
ii  python3-setuptools  18.7-1

-- no debconf information

--- End Message ---
--- Begin Message ---
Version: 44.1.1-1.2+rm

Dear submitter,

as the package python-setuptools has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/938168

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].

Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)

--- End Message ---

Reply via email to