Your message dated Mon, 03 Dec 2018 21:09:59 +0000 with message-id <[email protected]> and subject line Bug#876145: fixed in python-pip 18.1-2 has caused the Debian Bug report #876145, regarding python-pip: pip install --system as non-root shouldn't default --ignore-installed 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.) -- 876145: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=876145 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Source: python-pip Version: 9.0.1-2 Severity: normal Dear Maintainer, When running "pip install --system" as a non-root user, the change in set_user_default.patch forces the --ignore-installed flag to be enabled. This has the effect of breaking pip for use cases that install packages as non- root but don't use --user or virtualenv. When dependencies are shared among multiple packages, the --ignore-installed option causes pip to blindly install the latest version of each dependency requested by each package, even if a compatible package version is already installed, and even if this breaks the requirement spec of some other package. This results in package version conflicts. For example: pip install pkg_A (requires pkg_B==1.0) pip install pkg_C (requires pkg_B>=1.0) Because of --ignore-installed, pkg_C ignores the existing pkg_B (which it is otherwise compatible with) and installs the latest pkg_B==2.0, as a result this breaks pkg_A. Here's the relevant logic in pip/commands/install.py: default_user = True if running_under_virtualenv(): default_user = False if os.geteuid() == 0: default_user = False cmd_opts.add_option( '-I', '--ignore-installed', dest='ignore_installed', action='store_true', default=default_user, help='Ignore the installed packages (reinstalling instead).') My preferred fix would be that when the --system flag is set, it should retain the default behavior of pip, and not interfere with the unrelated --ignore- installed flag. Thanks, Peter -- System Information: Debian Release: 9.1 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.9.0-3-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system)
--- End Message ---
--- Begin Message ---Source: python-pip Source-Version: 18.1-2 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 [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Andrej Shadura <[email protected]> (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 [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Mon, 03 Dec 2018 21:38:53 +0100 Source: python-pip Binary: python-pip python3-pip python-pip-whl Architecture: source Version: 18.1-2 Distribution: unstable Urgency: medium Maintainer: Debian Python Modules Team <[email protected]> Changed-By: Andrej Shadura <[email protected]> Description: python-pip - Python package installer python-pip-whl - Python package installer python3-pip - Python package installer Closes: 830892 854225 876145 895232 901393 Changes: python-pip (18.1-2) unstable; urgency=medium . * Team upload. * Upload to unstable. . python-pip (18.1-1) experimental; urgency=medium . [ Barry Warsaw ] * d/control: Remove MIA Jeff Licquia from Uploaders. (Closes: #854225) . [ Ondřej Nový ] * d/control: Set Vcs-* to salsa.debian.org. * d/copyright: Use https protocol in Format field. * d/watch: Use https protocol. * d/tests: Use AUTOPKGTEST_TMP instead of ADTTMP. * d/control: Remove ancient X-Python-Version field. * d/control: Remove ancient X-Python3-Version field. * Convert git repository from git-dpm to gbp layout. . [ Andrius Merkys ] * New upstream version 18.0. (Closes: #901393) * Remove patch html5lib-alternative-beta-name.patch which is no longer required as versions of html5lib match. * Update patches. * debian/rules: adjust paths. * debian/rules: changelog is stored in NEWS.rst now. . [ Manas Kashyap ] * New upstream release 18.1 * Update Standards-Version to 4.2.1, no changes. * Use debhelper 11. . [ Andrej Shadura ] * Refresh set_user_default.patch. * Refresh disable-pip-version-check.patch. * Drop use-unvendored-urllib3.diff. * Don’t remove vendored PEP517 code. * Only default to --user when --target/--prefix not set (Closes: #830892, #895232, #876145) Checksums-Sha1: 812492e3aeb4da0ebdf3cffede69d39f82854d9e 2457 python-pip_18.1-2.dsc 866a569be1c6ca5b3b87aa2af3790bf18e788a39 17684 python-pip_18.1-2.debian.tar.xz Checksums-Sha256: 5820267c65dd5edef2a4cb1f099a41bb15119c1f70e14a4d932ab1fd8174d32e 2457 python-pip_18.1-2.dsc 212254f09fba2a199a3673c54a3ce25fb99469594ce77f3b7baef09ddc26975e 17684 python-pip_18.1-2.debian.tar.xz Files: 78c2e2367d2912bfa34f33297f1ded02 2457 python optional python-pip_18.1-2.dsc c28ca9985c869851efd4dbb9bc224966 17684 python optional python-pip_18.1-2.debian.tar.xz -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEeuS9ZL8A0js0NGiOXkCM2RzYOdIFAlwFlN0ACgkQXkCM2RzY OdLI/wgAvpfT6YuCNYl8dc9mnjCYlzns74JZmqmsrWc/QZawmK/+g4vIXDMSSVtm O7Ul4nrwcCi5I//Rdbqra4YfRBXfIgr4c/vEPQMe693HgYDNthEoJqzloXOoJDGc r4yzE87Mk7bsWTT0abmTnKQg8dhJGVEzsTsQRx2DODCilPbWcwpT6Zz5ChdJYo0U 4ViEibmMj4l5/inHxAEc8WJAFF5rpa1gck2UPh2F5R+i9Vue4PIYiLJt7wnw+uzt VOEHaUvulOQMzcL/BCdN9GhL7z3SkfZ+eQLDfQNEC27RjK07torcgdezlfv+5mwQ cfFgAPnyh+ubthoRonNHHm20vFZHxA== =PF+l -----END PGP SIGNATURE-----
--- End Message ---
_______________________________________________ Python-modules-team mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team
