[Group.of.nepali.translators] [Bug 1626258] Re: [SRU] AttributeError: 'Requirement' object has no attribute 'project_name'
This bug was fixed in the package python-pip - 8.1.1-2ubuntu0.4 --- python-pip (8.1.1-2ubuntu0.4) xenial; urgency=medium * d/patches/lp1626258.patch: Fix AttibuteError when accessing Requirement.project_name instead of Requirement.name. (LP: #1626258) * d/tests: - control: Add needs-recommends restriction. - pip2-*.sh: Install world 3.1, it's the latest version compatible with python2. -- Felipe Reyes Wed, 21 Sep 2016 17:43:32 -0300 ** Changed in: python-pip (Ubuntu Xenial) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of नेपाली भाषा समायोजकहरुको समूह, which is subscribed to Xenial. Matching subscriptions: Ubuntu 16.04 Bugs https://bugs.launchpad.net/bugs/1626258 Title: [SRU] AttributeError: 'Requirement' object has no attribute 'project_name' Status in python-pip package in Ubuntu: Fix Released Status in python-pip source package in Xenial: Fix Released Status in python-pip source package in Yakkety: Fix Released Status in python-pip source package in Zesty: Fix Released Status in python-pip package in Debian: Fix Released Bug 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 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. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1626258/+subscriptions ___ Mailing list: https://launchpad.net/~group.of.nepali.translators Post to : group.of.nepali.translators@lists.launchpad.net Unsubscribe : https://launchpad.net/~group.of.nepali.translators More help : https://help.launchpad.net/ListHelp
[Group.of.nepali.translators] [Bug 1626258] Re: [SRU] AttributeError: 'Requirement' object has no attribute 'project_name'
This bug was fixed in the package python-pip - 8.1.2-2ubuntu0.1 --- python-pip (8.1.2-2ubuntu0.1) yakkety; urgency=medium * d/tests: - control: Add needs-recommends restriction. (LP: #1626258) - pip2-*.sh: Install world 3.1, it's the latest version compatible with python2. -- Felipe Reyes Wed, 09 Nov 2016 15:02:34 +0100 ** Changed in: python-pip (Ubuntu Yakkety) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of नेपाली भाषा समायोजकहरुको समूह, which is subscribed to Xenial. Matching subscriptions: Ubuntu 16.04 Bugs https://bugs.launchpad.net/bugs/1626258 Title: [SRU] AttributeError: 'Requirement' object has no attribute 'project_name' Status in python-pip package in Ubuntu: Fix Released Status in python-pip source package in Xenial: Fix Committed Status in python-pip source package in Yakkety: Fix Released Status in python-pip source package in Zesty: Fix Released Status in python-pip package in Debian: Fix Released Bug 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 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. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1626258/+subscriptions ___ Mailing list: https://launchpad.net/~group.of.nepali.translators Post to : group.of.nepali.translators@lists.launchpad.net Unsubscribe : https://launchpad.net/~group.of.nepali.translators More help : https://help.launchpad.net/ListHelp
[Group.of.nepali.translators] [Bug 1626258] Re: [SRU] AttributeError: 'Requirement' object has no attribute 'project_name'
** Changed in: python-pip (Debian) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of नेपाली भाषा समायोजकहरुको समूह, which is subscribed to Xenial. Matching subscriptions: Ubuntu 16.04 Bugs https://bugs.launchpad.net/bugs/1626258 Title: [SRU] AttributeError: 'Requirement' object has no attribute 'project_name' Status in python-pip package in Ubuntu: Fix Released Status in python-pip source package in Xenial: Triaged Status in python-pip source package in Yakkety: Triaged Status in python-pip source package in Zesty: Fix Released Status in python-pip package in Debian: Fix Released Bug 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 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. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1626258/+subscriptions ___ Mailing list: https://launchpad.net/~group.of.nepali.translators Post to : group.of.nepali.translators@lists.launchpad.net Unsubscribe : https://launchpad.net/~group.of.nepali.translators More help : https://help.launchpad.net/ListHelp
[Group.of.nepali.translators] [Bug 1626258] Re: [SRU] AttributeError: 'Requirement' object has no attribute 'project_name'
I will fix this in Debian and syncpackage it back to Zesty. Thanks for the fix. ** Bug watch added: Debian Bug tracker #842732 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=842732 ** Also affects: python-pip (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=842732 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of नेपाली भाषा समायोजकहरुको समूह, which is subscribed to Xenial. Matching subscriptions: Ubuntu 16.04 Bugs https://bugs.launchpad.net/bugs/1626258 Title: [SRU] AttributeError: 'Requirement' object has no attribute 'project_name' Status in python-pip package in Ubuntu: Fix Released Status in python-pip source package in Xenial: Triaged Status in python-pip source package in Yakkety: Triaged Status in python-pip source package in Zesty: Fix Released Status in python-pip package in Debian: Unknown Bug 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 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. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1626258/+subscriptions ___ Mailing list: https://launchpad.net/~group.of.nepali.translators Post to : group.of.nepali.translators@lists.launchpad.net Unsubscribe : https://launchpad.net/~group.of.nepali.translators More help : https://help.launchpad.net/ListHelp
[Group.of.nepali.translators] [Bug 1626258] Re: [SRU] AttributeError: 'Requirement' object has no attribute 'project_name'
This bug was fixed in the package python-pip - 8.1.2-2ubuntu1 --- python-pip (8.1.2-2ubuntu1) zesty; urgency=medium * d/tests: - control: Add needs-recommends restriction. (LP: #1626258) - pip2-*.sh: Install world 3.1, it's the latest version compatible with python2. -- Felipe Reyes Tue, 25 Oct 2016 13:00:27 +0200 ** Changed in: python-pip (Ubuntu Zesty) Status: In Progress => Fix Released -- You received this bug notification because you are a member of नेपाली भाषा समायोजकहरुको समूह, which is subscribed to Xenial. Matching subscriptions: Ubuntu 16.04 Bugs https://bugs.launchpad.net/bugs/1626258 Title: [SRU] AttributeError: 'Requirement' object has no attribute 'project_name' Status in python-pip package in Ubuntu: Fix Released Status in python-pip source package in Xenial: Triaged Status in python-pip source package in Yakkety: Triaged Status in python-pip source package in Zesty: Fix Released Bug 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 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. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1626258/+subscriptions ___ Mailing list: https://launchpad.net/~group.of.nepali.translators Post to : group.of.nepali.translators@lists.launchpad.net Unsubscribe : https://launchpad.net/~group.of.nepali.translators More help : https://help.launchpad.net/ListHelp
[Group.of.nepali.translators] [Bug 1626258] Re: [SRU] AttributeError: 'Requirement' object has no attribute 'project_name'
** Changed in: python-pip (Ubuntu Yakkety) Status: Fix Released => In Progress ** Changed in: python-pip (Ubuntu Yakkety) Status: In Progress => Triaged ** Changed in: python-pip (Ubuntu Zesty) Status: New => Triaged ** Changed in: python-pip (Ubuntu Zesty) Assignee: (unassigned) => Felipe Reyes (freyes) ** Patch removed: "lp1626258_xenial(old).debdiff" https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1626258/+attachment/4746252/+files/lp1626258_xenial.debdiff ** Patch removed: "lp1626258_xenial.debdiff" https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1626258/+attachment/4756270/+files/lp1626258_xenial.debdiff ** Patch removed: "lp1626258_yakkety.debdiff" https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1626258/+attachment/4756747/+files/lp1626258_yakkety.debdiff ** Patch added: "lp1626258_zesty.debdiff" https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1626258/+attachment/4764566/+files/lp1626258_zesty.debdiff -- You received this bug notification because you are a member of नेपाली भाषा समायोजकहरुको समूह, which is subscribed to Xenial. Matching subscriptions: Ubuntu 16.04 Bugs https://bugs.launchpad.net/bugs/1626258 Title: [SRU] AttributeError: 'Requirement' object has no attribute 'project_name' Status in python-pip package in Ubuntu: Triaged Status in python-pip source package in Xenial: Triaged Status in python-pip source package in Yakkety: Triaged Status in python-pip source package in Zesty: Triaged Bug 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 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. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1626258/+subscriptions ___ Mailing list: https://launchpad.net/~group.of.nepali.translators Post to : group.of.nepali.translators@lists.launchpad.net Unsubscribe : https://launchpad.net/~group.of.nepali.translators More help : https://help.launchpad.net/ListHelp
[Group.of.nepali.translators] [Bug 1626258] Re: [SRU] AttributeError: 'Requirement' object has no attribute 'project_name'
** Also affects: python-pip (Ubuntu Z-series) Importance: Undecided Status: New ** Also affects: python-pip (Ubuntu Yakkety) Importance: High Assignee: Felipe Reyes (freyes) Status: Fix Released -- You received this bug notification because you are a member of नेपाली भाषा समायोजकहरुको समूह, which is subscribed to Xenial. Matching subscriptions: Ubuntu 16.04 Bugs https://bugs.launchpad.net/bugs/1626258 Title: [SRU] AttributeError: 'Requirement' object has no attribute 'project_name' Status in python-pip package in Ubuntu: Fix Released Status in python-pip source package in Xenial: Fix Committed Status in python-pip source package in Yakkety: Fix Released Status in python-pip source package in z-series: New Bug 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 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 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1626258/+subscriptions ___ Mailing list: https://launchpad.net/~group.of.nepali.translators Post to : group.of.nepali.translators@lists.launchpad.net Unsubscribe : https://launchpad.net/~group.of.nepali.translators More help : https://help.launchpad.net/ListHelp
[Group.of.nepali.translators] [Bug 1626258] Re: [SRU] AttributeError: 'Requirement' object has no attribute 'project_name'
** Also affects: python-pip (Ubuntu Xenial) Importance: Undecided Status: New ** Changed in: python-pip (Ubuntu Xenial) Assignee: (unassigned) => Felipe Reyes (freyes) ** Changed in: python-pip (Ubuntu) Status: New => Invalid ** Changed in: python-pip (Ubuntu Xenial) Status: New => In Progress ** Changed in: python-pip (Ubuntu Xenial) Importance: Undecided => High -- You received this bug notification because you are a member of नेपाली भाषा समायोजकहरुको समूह, which is subscribed to Xenial. Matching subscriptions: Ubuntu 16.04 Bugs https://bugs.launchpad.net/bugs/1626258 Title: [SRU] AttributeError: 'Requirement' object has no attribute 'project_name' Status in python-pip package in Ubuntu: Invalid Status in python-pip source package in Xenial: In Progress Bug 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 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 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1626258/+subscriptions ___ Mailing list: https://launchpad.net/~group.of.nepali.translators Post to : group.of.nepali.translators@lists.launchpad.net Unsubscribe : https://launchpad.net/~group.of.nepali.translators More help : https://help.launchpad.net/ListHelp