Your message dated Fri, 07 Jan 2022 02:42:29 +0000
with message-id <e1n5fd3-000h6u...@fasolo.debian.org>
and subject line Bug#1000826: fixed in python-pip 21.3.1+dfsg-1
has caused the Debian Bug report #1000826,
regarding python3-pip: incorrect version comparisons in requirements with 
Python 3.10
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 ow...@bugs.debian.org
immediately.)


-- 
1000826: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1000826
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: python3-pip
Version: 20.3.4-4
Severity: important

Dear Maintainer,

python3-pip in unstable currently performs version comparisons 
incorrectly involving Python 3.10 (is it performing a string 
comparison?).  Consider the following examples (Debian package 
python3-pytest is installed.)

Python 3.9 shows the correct behavior:
talbert@debian-unstable:~$ python3.9 -m virtualenv --system-site-packages 
env_3.9
created virtual environment CPython3.9.9.final.0-64 in 109ms
  creator CPython3Posix(dest=/home/talbert/env_3.9, clear=False, 
no_vcs_ignore=False, global=True)
  seeder FromAppData(download=False, pip=bundle, setuptools=bundle, 
wheel=bundle, via=copy, app_data_dir=/home/talbert/.local/share/virtualenv)
    added seed packages: pip==20.3.4, pkg_resources==0.0.0, setuptools==44.1.1, 
wheel==0.34.2
  activators 
BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator
talbert@debian-unstable:~$ source env_3.9/bin/activate
(env_3.9) talbert@debian-unstable:~$ pip install pytest
Requirement already satisfied: pytest in /usr/lib/python3/dist-packages (6.2.5)

Python 3.10 shows the incorrect behavior (typing-extensions is installed 
when it should NOT be):
talbert@debian-unstable:~$ python3.10 -m virtualenv --system-site-packages 
env_3.10
created virtual environment CPython3.10.0.final.0-64 in 101ms
  creator CPython3Posix(dest=/home/talbert/env_3.10, clear=False, 
no_vcs_ignore=False, global=True)
  seeder FromAppData(download=False, pip=bundle, setuptools=bundle, 
wheel=bundle, via=copy, app_data_dir=/home/talbert/.local/share/virtualenv)
    added seed packages: pip==20.3.4, pkg_resources==0.0.0, setuptools==44.1.1, 
wheel==0.34.2
  activators 
BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator
talbert@debian-unstable:~$ source env_3.10/bin/activate
(env_3.10) talbert@debian-unstable:~$ pip install pytest
Requirement already satisfied: pytest in /usr/lib/python3/dist-packages (6.2.5)
Requirement already satisfied: importlib-metadata>=0.12 in 
/usr/lib/python3/dist-packages (from pytest) (4.6.4)
Collecting typing-extensions>=3.6.4
  Using cached typing_extensions-4.0.0-py3-none-any.whl (22 kB)
Installing collected packages: typing-extensions
Successfully installed typing-extensions-4.0.0

See the metadata for importlib-metadata which shows that 
typing-extensions should only be installed for Python < 3.8:
talbert@debian-unstable:~$ cat 
/usr/lib/python3/dist-packages/importlib_metadata-4.6.4.egg-info/requires.txt 

[:python_version < "3.8"]
typing-extensions>=3.6.4

These problems seem to be downstream problems, as if I install the upstream 
version of pip 20.3.4, it behaves correctly.

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

Kernel: Linux 5.15.0-2-amd64 (SMP w/2 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python3-pip depends on:
ii  ca-certificates     20211016
ii  python-pip-whl      20.3.4-4
ii  python3             3.9.8-1
ii  python3-distutils   3.9.9-2
ii  python3-setuptools  59.2.0-1
ii  python3-wheel       0.34.2-1

Versions of packages python3-pip recommends:
ii  build-essential  12.9
ii  python3-dev      3.9.8-1

python3-pip suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: python-pip
Source-Version: 21.3.1+dfsg-1
Done: Stefano Rivera <stefa...@debian.org>

We believe that the bug you reported is fixed in the latest version of
python-pip, 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 1000...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Stefano Rivera <stefa...@debian.org> (supplier of updated python-pip 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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 06 Jan 2022 22:06:12 -0400
Source: python-pip
Architecture: source
Version: 21.3.1+dfsg-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Stefano Rivera <stefa...@debian.org>
Closes: 938027 995959 999501 1000826
Changes:
 python-pip (21.3.1+dfsg-1) unstable; urgency=medium
 .
   [ Stefano Rivera ]
   * New upstream release.
     - Drops Python 2.7 support.
   * Refresh patches.
   * Drop patch debian-python2.7-sysconfig-workaround.patch, no longer needed.
   * Drop patches git-split-ascii, set_user_default, str-version, superseded
     upstream. (Closes: #995959)
   * Add myself to the copyright file.
   * Bump watch file version to 4.
   * Bump Standards-Version to 3.6.0, no changes needed.
   * Stop de-vendoring dependencies, on balance this has caused more trouble
     than it has saved.
     - Drop patches debundle, handle-unbundled-requests,
       wheel-and-pip-not-pip-wheels, debug-command-for-unbundled, no longer
       needed.
     - Patch: certifi-debian-ca-certificates, copied over from certifi source.
     - Document vendored modules copyright.
   * Re-enable "pip list --outdated" in autopkgtest.
   * Allow stderr in pip3-editable.sh autopkgtest, for pip's new warning about
     running as root.
   * Exclude distlib Windows .exe locators from the source package.
     - Drop lintian override for these.
   * Bump debhelper compat level to 13.
   * Build with pybuild's pyproject plugin.
   * Drop Python 2 wheels, these may be provided by a separate source package.
     (Closes: #938027, #999501, 1000826)
Checksums-Sha1:
 29a324d0c489a609974e04b3bbf3162d813186e8 1686 python-pip_21.3.1+dfsg-1.dsc
 831e581733eebb514f1f38f297681d361b0ffb79 1019536 
python-pip_21.3.1+dfsg.orig.tar.xz
 3d154eb75b5a50ea08f31fd8d5e913c12f0a8622 21616 
python-pip_21.3.1+dfsg-1.debian.tar.xz
 08ac0d38f9d41b0745bb060bac4ac134b4a4cc79 5790 
python-pip_21.3.1+dfsg-1_source.buildinfo
Checksums-Sha256:
 7767d3f00c8ee04a1b2d9207914fec1a0e20555a19bee27263e73eed7984bbdf 1686 
python-pip_21.3.1+dfsg-1.dsc
 e373ee56879e3822daefdf0385bcfe55806747e7fe5e92353c3c5e278a0985c8 1019536 
python-pip_21.3.1+dfsg.orig.tar.xz
 74506c05e47a22d283d02db110857bb96e6a53cc71ceca4b806ca9d648ad0b83 21616 
python-pip_21.3.1+dfsg-1.debian.tar.xz
 f6f3f4debbf5a5a682f1fc46973603e0abeb41be0b2fb7032ad5438e34a68d09 5790 
python-pip_21.3.1+dfsg-1_source.buildinfo
Files:
 66fe386943af06860c1c435c3e059211 1686 python optional 
python-pip_21.3.1+dfsg-1.dsc
 14a34db0b6c7eae58c02a592169c45fe 1019536 python optional 
python-pip_21.3.1+dfsg.orig.tar.xz
 f692498c2ee3747a338fa7f129774ff7 21616 python optional 
python-pip_21.3.1+dfsg-1.debian.tar.xz
 4d9e21ed4234ac0ed886800429649c81 5790 python optional 
python-pip_21.3.1+dfsg-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iIoEARYKADIWIQTumtb5BSD6EfafSCRHew2wJjpU2AUCYdegLxQcc3RlZmFub3JA
ZGViaWFuLm9yZwAKCRBHew2wJjpU2EZCAQCB6gZ2eZMpebDDFeKC6pxgH7d3xlZH
i+d20V7lZmSDfAD/YfG+vk8lJxAQK6emdgGd9kPabQnZOLS2hpCucfIk3gA=
=J0G/
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to