2016-09-21 20:04:49 |
Felipe Reyes |
bug |
|
|
added bug |
2016-09-21 20:10:46 |
Felipe Reyes |
nominated for series |
|
Ubuntu Xenial |
|
2016-09-21 21:02:21 |
Felipe Reyes |
attachment added |
|
lp1626258_xenial.debdiff https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1626258/+attachment/4745640/+files/lp1626258_xenial.debdiff |
|
2016-09-21 21:04:13 |
Felipe Reyes |
description |
[impact]
pip 8.1.1 (xenial) tries to access properties that were dropped from the Requirement class and when pip's code tries to access Requirement.project_name fails, this was fixed in 8.1.2.
Any user trying to install a package that triggers the pkg_resources.VersionConflict exception during will get the error "AttributeError: 'Requirement' object has no attribute 'project_name'"
[Test Case]
# wget https://pypi.python.org/packages/49/6f/183063f01aae1e025cf0130772b55848750a2f3a89bfa11b385b35d7329d/requests-2.10.0.tar.gz
# wget https://pypi.python.org/packages/2e/ad/e627446492cc374c284e82381215dcd9a0a87c4f6e90e9789afefe6da0ad/requests-2.11.1.tar.gz
# pip install requests-2.10.0.tar.gz
# pip install requests-2.11.1.tar.gz
Expected result:
pip installs requests 2.11.1
Actual result:
pip fails with the following exception
root@pip-x:/home/ubuntu# pip install requests-2.11.1.tar.gz
Processing ./requests-2.11.1.tar.gz
Exception:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 209, in main
status = self.run(options, args)
File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 328, in run
wb.build(autobuilding=True)
File "/usr/lib/python2.7/dist-packages/pip/wheel.py", line 748, in build
self.requirement_set.prepare_files(self.finder)
File "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", line 360, in prepare_files
ignore_dependencies=self.ignore_dependencies))
File "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", line 600, in _prepare_file
req_to_install.check_if_exists()
File "/usr/lib/python2.7/dist-packages/pip/req/req_install.py", line 1011, in check_if_exists
self.req.project_name
AttributeError: 'Requirement' object has no attribute 'project_name'
You are using pip version 8.1.1, however version 8.1.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
[Regression Potential]
* Low. Users consuming pip private API may see a difference in the behavior, but this is a private api and upstream already discourages its use. And this change is already part of 8.1.2
[Other info]
From 8e236dd6a09bd2f70f9d4fc886da8c354d4c58f2 Mon Sep 17 00:00:00 2001
From: Donald Stufft <donald@stufft.io>
Date: Wed, 11 Nov 2015 18:51:46 -0500
Subject: [PATCH] Update to use the Requirement class from packaging
https://github.com/pypa/pip/commit/8e236dd6a09bd2f70f9d4fc886da8c354d4c58f2 |
[impact]
pip 8.1.1 (xenial) tries to access properties that were dropped from the Requirement class and when pip's code tries to access Requirement.project_name fails, this was fixed in 8.1.2.
Any user trying to install a package that triggers the pkg_resources.VersionConflict exception during will get the error "AttributeError: 'Requirement' object has no attribute 'project_name'"
[Test Case]
# wget https://pypi.python.org/packages/49/6f/183063f01aae1e025cf0130772b55848750a2f3a89bfa11b385b35d7329d/requests-2.10.0.tar.gz
# wget https://pypi.python.org/packages/2e/ad/e627446492cc374c284e82381215dcd9a0a87c4f6e90e9789afefe6da0ad/requests-2.11.1.tar.gz
# pip install requests-2.10.0.tar.gz
# pip install requests-2.11.1.tar.gz
Expected result:
pip installs requests 2.11.1
Actual result:
pip fails with the following exception
root@pip-x:/home/ubuntu# pip install requests-2.11.1.tar.gz
Processing ./requests-2.11.1.tar.gz
Exception:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 209, in main
status = self.run(options, args)
File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 328, in run
wb.build(autobuilding=True)
File "/usr/lib/python2.7/dist-packages/pip/wheel.py", line 748, in build
self.requirement_set.prepare_files(self.finder)
File "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", line 360, in prepare_files
ignore_dependencies=self.ignore_dependencies))
File "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", line 600, in _prepare_file
req_to_install.check_if_exists()
File "/usr/lib/python2.7/dist-packages/pip/req/req_install.py", line 1011, in check_if_exists
self.req.project_name
AttributeError: 'Requirement' object has no attribute 'project_name'
You are using pip version 8.1.1, however version 8.1.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
[Regression Potential]
* None, this change is already part of 8.1.2, and most of the change is already part of the ubuntu package, there is just one last place where the code is accessing Requirement.project_name
[Other info]
From 8e236dd6a09bd2f70f9d4fc886da8c354d4c58f2 Mon Sep 17 00:00:00 2001
From: Donald Stufft <donald@stufft.io>
Date: Wed, 11 Nov 2015 18:51:46 -0500
Subject: [PATCH] Update to use the Requirement class from packaging
https://github.com/pypa/pip/commit/8e236dd6a09bd2f70f9d4fc886da8c354d4c58f2 |
|
2016-09-21 21:04:35 |
Felipe Reyes |
bug |
|
|
added subscriber Ubuntu Sponsors Team |
2016-09-21 21:05:07 |
Felipe Reyes |
summary |
AttributeError: 'Requirement' object has no attribute 'project_name' |
[SRU] AttributeError: 'Requirement' object has no attribute 'project_name' |
|
2016-09-22 12:47:51 |
Felipe Reyes |
tags |
sts |
sts sts-sru |
|
2016-09-22 12:54:11 |
Louis Bouchard |
bug task added |
|
python-pip (Ubuntu Xenial) |
|
2016-09-22 12:54:41 |
Louis Bouchard |
python-pip (Ubuntu Xenial): assignee |
|
Felipe Reyes (freyes) |
|
2016-09-22 12:54:48 |
Louis Bouchard |
python-pip (Ubuntu): status |
New |
Invalid |
|
2016-09-22 12:54:54 |
Louis Bouchard |
python-pip (Ubuntu Xenial): status |
New |
In Progress |
|
2016-09-22 12:54:59 |
Louis Bouchard |
python-pip (Ubuntu Xenial): importance |
Undecided |
High |
|
2016-09-22 13:38:32 |
Bryan Quigley |
bug |
|
|
added subscriber Bryan Quigley |
2016-09-22 13:43:45 |
Felipe Reyes |
attachment removed |
lp1626258_xenial.debdiff https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1626258/+attachment/4745640/+files/lp1626258_xenial.debdiff |
|
|
2016-09-22 13:44:54 |
Felipe Reyes |
attachment added |
|
lp1626258_xenial.debdiff https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1626258/+attachment/4746252/+files/lp1626258_xenial.debdiff |
|
2016-09-23 09:10:08 |
Mathew Hodson |
bug |
|
|
added subscriber Mathew Hodson |
2016-09-27 08:56:11 |
Martin Pitt |
python-pip (Ubuntu Xenial): status |
In Progress |
Fix Committed |
|
2016-09-27 08:56:13 |
Martin Pitt |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2016-09-27 08:56:15 |
Martin Pitt |
bug |
|
|
added subscriber SRU Verification |
2016-09-27 08:56:20 |
Martin Pitt |
tags |
sts sts-sru |
sts sts-sru verification-needed |
|
2016-09-27 08:56:34 |
Martin Pitt |
removed subscriber Ubuntu Sponsors Team |
|
|
|
2016-09-27 10:54:08 |
Mathew Hodson |
python-pip (Ubuntu): importance |
Undecided |
High |
|
2016-09-27 10:54:12 |
Mathew Hodson |
python-pip (Ubuntu): status |
Invalid |
Fix Released |
|
2016-09-27 10:54:18 |
Mathew Hodson |
removed subscriber Mathew Hodson |
|
|
|
2016-09-27 19:55:06 |
Bryan Quigley |
tags |
sts sts-sru verification-needed |
sts sts-sru verification-done |
|
2016-10-06 20:53:01 |
Felipe Reyes |
attachment added |
|
lp1626258_xenial.debdiff https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1626258/+attachment/4756270/+files/lp1626258_xenial.debdiff |
|
2016-10-07 14:02:59 |
Felipe Reyes |
attachment added |
|
lp1626258_yakkety.debdiff https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1626258/+attachment/4756746/+files/lp1626258_yakkety.debdiff |
|
2016-10-07 14:22:45 |
Felipe Reyes |
attachment removed |
lp1626258_yakkety.debdiff https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1626258/+attachment/4756746/+files/lp1626258_yakkety.debdiff |
|
|
2016-10-07 14:23:46 |
Felipe Reyes |
attachment added |
|
lp1626258_yakkety.debdiff https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1626258/+attachment/4756747/+files/lp1626258_yakkety.debdiff |
|
2016-10-13 15:07:33 |
Louis Bouchard |
nominated for series |
|
Ubuntu Z-series |
|
2016-10-13 15:07:33 |
Louis Bouchard |
bug task added |
|
python-pip (Ubuntu Z-series) |
|
2016-10-13 15:07:33 |
Louis Bouchard |
nominated for series |
|
Ubuntu Yakkety |
|
2016-10-13 15:07:33 |
Louis Bouchard |
bug task added |
|
python-pip (Ubuntu Yakkety) |
|
2016-10-19 12:43:11 |
Robie Basak |
tags |
sts sts-sru verification-done |
sts sts-sru verification-failed |
|
2016-10-19 12:43:19 |
Robie Basak |
bug |
|
|
added subscriber Ubuntu Sponsors Team |
2016-10-19 12:43:42 |
Robie Basak |
python-pip (Ubuntu Xenial): status |
Fix Committed |
Triaged |
|
2016-10-20 21:20:24 |
Felipe Reyes |
python-pip (Ubuntu Yakkety): status |
Fix Released |
In Progress |
|
2016-10-20 21:20:35 |
Felipe Reyes |
python-pip (Ubuntu Yakkety): status |
In Progress |
Triaged |
|
2016-10-20 21:20:43 |
Felipe Reyes |
python-pip (Ubuntu Zesty): status |
New |
Triaged |
|
2016-10-20 21:20:47 |
Felipe Reyes |
python-pip (Ubuntu Zesty): assignee |
|
Felipe Reyes (freyes) |
|
2016-10-20 21:20:57 |
Felipe Reyes |
attachment removed |
lp1626258_xenial(old).debdiff https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1626258/+attachment/4746252/+files/lp1626258_xenial.debdiff |
|
|
2016-10-20 21:21:11 |
Felipe Reyes |
attachment removed |
lp1626258_xenial.debdiff https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1626258/+attachment/4756270/+files/lp1626258_xenial.debdiff |
|
|
2016-10-20 21:21:25 |
Felipe Reyes |
attachment removed |
lp1626258_yakkety.debdiff https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1626258/+attachment/4756747/+files/lp1626258_yakkety.debdiff |
|
|
2016-10-20 21:24:48 |
Felipe Reyes |
attachment added |
|
lp1626258_zesty.debdiff https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1626258/+attachment/4764566/+files/lp1626258_zesty.debdiff |
|
2016-10-20 21:25:11 |
Felipe Reyes |
attachment added |
|
lp1626258_yakkety.debdiff https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1626258/+attachment/4764567/+files/lp1626258_yakkety.debdiff |
|
2016-10-20 21:25:33 |
Felipe Reyes |
attachment added |
|
lp1626258_xenial.debdiff https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1626258/+attachment/4764568/+files/lp1626258_xenial.debdiff |
|
2016-10-20 21:27:46 |
Felipe Reyes |
description |
[impact]
pip 8.1.1 (xenial) tries to access properties that were dropped from the Requirement class and when pip's code tries to access Requirement.project_name fails, this was fixed in 8.1.2.
Any user trying to install a package that triggers the pkg_resources.VersionConflict exception during will get the error "AttributeError: 'Requirement' object has no attribute 'project_name'"
[Test Case]
# wget https://pypi.python.org/packages/49/6f/183063f01aae1e025cf0130772b55848750a2f3a89bfa11b385b35d7329d/requests-2.10.0.tar.gz
# wget https://pypi.python.org/packages/2e/ad/e627446492cc374c284e82381215dcd9a0a87c4f6e90e9789afefe6da0ad/requests-2.11.1.tar.gz
# pip install requests-2.10.0.tar.gz
# pip install requests-2.11.1.tar.gz
Expected result:
pip installs requests 2.11.1
Actual result:
pip fails with the following exception
root@pip-x:/home/ubuntu# pip install requests-2.11.1.tar.gz
Processing ./requests-2.11.1.tar.gz
Exception:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 209, in main
status = self.run(options, args)
File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 328, in run
wb.build(autobuilding=True)
File "/usr/lib/python2.7/dist-packages/pip/wheel.py", line 748, in build
self.requirement_set.prepare_files(self.finder)
File "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", line 360, in prepare_files
ignore_dependencies=self.ignore_dependencies))
File "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", line 600, in _prepare_file
req_to_install.check_if_exists()
File "/usr/lib/python2.7/dist-packages/pip/req/req_install.py", line 1011, in check_if_exists
self.req.project_name
AttributeError: 'Requirement' object has no attribute 'project_name'
You are using pip version 8.1.1, however version 8.1.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
[Regression Potential]
* None, this change is already part of 8.1.2, and most of the change is already part of the ubuntu package, there is just one last place where the code is accessing Requirement.project_name
[Other info]
From 8e236dd6a09bd2f70f9d4fc886da8c354d4c58f2 Mon Sep 17 00:00:00 2001
From: Donald Stufft <donald@stufft.io>
Date: Wed, 11 Nov 2015 18:51:46 -0500
Subject: [PATCH] Update to use the Requirement class from packaging
https://github.com/pypa/pip/commit/8e236dd6a09bd2f70f9d4fc886da8c354d4c58f2 |
[impact]
pip 8.1.1 (xenial) tries to access properties that were dropped from the Requirement class and when pip's code tries to access Requirement.project_name fails, this was fixed in 8.1.2.
Any user trying to install a package that triggers the pkg_resources.VersionConflict exception during will get the error "AttributeError: 'Requirement' object has no attribute 'project_name'"
[Test Case]
# wget https://pypi.python.org/packages/49/6f/183063f01aae1e025cf0130772b55848750a2f3a89bfa11b385b35d7329d/requests-2.10.0.tar.gz
# wget https://pypi.python.org/packages/2e/ad/e627446492cc374c284e82381215dcd9a0a87c4f6e90e9789afefe6da0ad/requests-2.11.1.tar.gz
# pip install requests-2.10.0.tar.gz
# pip install requests-2.11.1.tar.gz
Expected result:
pip installs requests 2.11.1
Actual result:
pip fails with the following exception
root@pip-x:/home/ubuntu# pip install requests-2.11.1.tar.gz
Processing ./requests-2.11.1.tar.gz
Exception:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 209, in main
status = self.run(options, args)
File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 328, in run
wb.build(autobuilding=True)
File "/usr/lib/python2.7/dist-packages/pip/wheel.py", line 748, in build
self.requirement_set.prepare_files(self.finder)
File "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", line 360, in prepare_files
ignore_dependencies=self.ignore_dependencies))
File "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", line 600, in _prepare_file
req_to_install.check_if_exists()
File "/usr/lib/python2.7/dist-packages/pip/req/req_install.py", line 1011, in check_if_exists
self.req.project_name
AttributeError: 'Requirement' object has no attribute 'project_name'
You are using pip version 8.1.1, however version 8.1.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
[Regression Potential]
* None, this change is already part of 8.1.2, and most of the change is already part of the ubuntu package, there is just one last place where the code is accessing Requirement.project_name
[Other info]
From 8e236dd6a09bd2f70f9d4fc886da8c354d4c58f2 Mon Sep 17 00:00:00 2001
From: Donald Stufft <donald@stufft.io>
Date: Wed, 11 Nov 2015 18:51:46 -0500
Subject: [PATCH] Update to use the Requirement class from packaging
https://github.com/pypa/pip/commit/8e236dd6a09bd2f70f9d4fc886da8c354d4c58f2
This SRU fixes autopkgtest, so the building process to get into -proposed doesn't block it. |
|
2016-10-20 21:28:59 |
Felipe Reyes |
bug |
|
|
added subscriber Louis Bouchard |
2016-10-21 19:56:36 |
Mathew Hodson |
python-pip (Ubuntu Zesty): importance |
Undecided |
High |
|
2016-10-24 15:57:51 |
Louis Bouchard |
tags |
sts sts-sru verification-failed |
sts sts-sponsor sts-sru verification-failed |
|
2016-10-25 10:59:20 |
Louis Bouchard |
removed subscriber Ubuntu Sponsors Team |
|
|
|
2016-10-25 11:03:52 |
Louis Bouchard |
python-pip (Ubuntu Zesty): status |
Triaged |
In Progress |
|
2016-10-26 21:33:45 |
Launchpad Janitor |
python-pip (Ubuntu Zesty): status |
In Progress |
Fix Released |
|
2016-10-31 19:19:18 |
Barry Warsaw |
bug watch added |
|
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=842732 |
|
2016-10-31 19:19:18 |
Barry Warsaw |
bug task added |
|
python-pip (Debian) |
|
2016-10-31 21:41:06 |
Bug Watch Updater |
python-pip (Debian): status |
Unknown |
Fix Committed |
|
2016-11-01 21:58:51 |
Bug Watch Updater |
python-pip (Debian): status |
Fix Committed |
Fix Released |
|
2016-11-09 13:36:04 |
Louis Bouchard |
python-pip (Ubuntu Xenial): status |
Triaged |
In Progress |
|
2016-11-09 13:36:07 |
Louis Bouchard |
python-pip (Ubuntu Yakkety): status |
Triaged |
In Progress |
|
2016-11-09 22:20:17 |
Martin Pitt |
python-pip (Ubuntu Yakkety): status |
In Progress |
Fix Committed |
|
2016-11-09 22:20:25 |
Martin Pitt |
tags |
sts sts-sponsor sts-sru verification-failed |
sts sts-sponsor sts-sru |
|
2016-11-09 22:20:27 |
Martin Pitt |
tags |
sts sts-sponsor sts-sru |
sts sts-sponsor sts-sru verification-needed |
|
2016-11-10 10:51:21 |
Martin Pitt |
python-pip (Ubuntu Xenial): status |
In Progress |
Fix Committed |
|
2016-11-10 14:25:16 |
Louis Bouchard |
tags |
sts sts-sponsor sts-sru verification-needed |
sts sts-sru verification-needed |
|
2016-11-10 18:43:20 |
Felipe Reyes |
tags |
sts sts-sru verification-needed |
sts sts-sru verification-done verification-done-xenial verification-done-yakkety |
|
2016-11-17 18:25:21 |
Brian Murray |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2016-11-17 18:25:25 |
Launchpad Janitor |
python-pip (Ubuntu Yakkety): status |
Fix Committed |
Fix Released |
|
2016-11-21 09:38:58 |
Launchpad Janitor |
python-pip (Ubuntu Xenial): status |
Fix Committed |
Fix Released |
|
2017-03-22 15:39:57 |
Louis Bouchard |
tags |
sts sts-sru verification-done verification-done-xenial verification-done-yakkety |
sts sts-sru-done verification-done verification-done-xenial verification-done-yakkety |
|