Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 811504 - dev-python/requests-2.26.0 (all Python packages using setuptools?): pkg_resources.DistributionNotFound: The packaging>=20.0 distribution was not found and is required by
Summary: dev-python/requests-2.26.0 (all Python packages using setuptools?): pkg_resou...
Status: IN_PROGRESS
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL: https://www.gentoo.org/support/news-i...
Whiteboard: News item published, please follow in...
Keywords:
: 811507 811510 811513 811516 811825 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-09-03 18:56 UTC by Toralf Förster
Modified: 2021-09-06 16:03 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,15.02 KB, text/plain)
2021-09-03 18:56 UTC, Toralf Förster
Details
dev-python:requests-2.26.0:20210903-174755.log (dev-python:requests-2.26.0:20210903-174755.log,4.14 KB, text/plain)
2021-09-03 18:56 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,6.76 KB, text/plain)
2021-09-03 18:56 UTC, Toralf Förster
Details
environment (environment,115.17 KB, text/plain)
2021-09-03 18:56 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,23.88 KB, application/x-bzip)
2021-09-03 18:56 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,25.90 KB, application/x-bzip)
2021-09-03 18:56 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-09-03 18:56:24 UTC
  File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 772, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'packaging>=20.0' distribution was not found and is required by the application
 * ERROR: dev-python/requests-2.26.0::gentoo failed (compile phase):
 *   (no error message)
 * 
 * Call stack:

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib_hardened-j4-20210903-173607

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.0 *
Python 3.9.7

  HEAD of ::gentoo
commit 4b33da749520b4366897c88cc09777e2930213b2
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Sep 3 16:21:54 2021 +0000

    2021-09-03 16:21:53 UTC

emerge -qpvO dev-python/requests
[ebuild     U ] dev-python/requests-2.26.0 [2.25.1-r2] USE="socks5* -test" PYTHON_TARGETS="python3_9 -pypy3 -python3_8 -python3_10"
Comment 1 Toralf Förster gentoo-dev 2021-09-03 18:56:25 UTC
Created attachment 737299 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-09-03 18:56:26 UTC
Created attachment 737302 [details]
dev-python:requests-2.26.0:20210903-174755.log
Comment 3 Toralf Förster gentoo-dev 2021-09-03 18:56:27 UTC
Created attachment 737305 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-09-03 18:56:29 UTC
Created attachment 737308 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-09-03 18:56:30 UTC
Created attachment 737311 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-09-03 18:56:31 UTC
Created attachment 737314 [details]
temp.tar.bz2
Comment 7 Larry the Git Cow gentoo-dev 2021-09-03 19:23:48 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ae927f9e0684cf24119db345cc919ddc8f408e1

commit 1ae927f9e0684cf24119db345cc919ddc8f408e1
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-09-03 19:22:52 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-09-03 19:22:52 +0000

    profiles: mask possibly-broken dev-python/{tomli, setuptools_scm} for now
    
    Bug: https://bugs.gentoo.org/811504
    Signed-off-by: Sam James <sam@gentoo.org>

 profiles/package.mask | 8 ++++++++
 1 file changed, 8 insertions(+)
Comment 8 Sam James archtester gentoo-dev Security 2021-09-03 19:48:18 UTC
*** Bug 811507 has been marked as a duplicate of this bug. ***
Comment 9 Sam James archtester gentoo-dev Security 2021-09-03 19:48:29 UTC
*** Bug 811510 has been marked as a duplicate of this bug. ***
Comment 10 Sam James archtester gentoo-dev Security 2021-09-03 19:48:44 UTC
*** Bug 811513 has been marked as a duplicate of this bug. ***
Comment 11 Sam James archtester gentoo-dev Security 2021-09-03 19:48:56 UTC
*** Bug 811516 has been marked as a duplicate of this bug. ***
Comment 12 Larry the Git Cow gentoo-dev 2021-09-03 20:59:52 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3621e3f317c35e92050abac78050f280dc6e6118

commit 3621e3f317c35e92050abac78050f280dc6e6118
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-09-03 20:58:48 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-09-03 20:58:48 +0000

    profiles: update dev-python/{tomli, setuptools_scm} mask
    
    - Unmask irrelevant dev-python/tomli
    - Keeping the setuptools_scm mask because
      even though the broken version is gone from ::gentoo,
      it raises awareness for users with it already installed.
    
    Bug: https://bugs.gentoo.org/811504
    Signed-off-by: Sam James <sam@gentoo.org>

 profiles/package.mask | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
Comment 13 Larry the Git Cow gentoo-dev 2021-09-05 17:03:57 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/data/gentoo-news.git/commit/?id=1cb5d7bab0f5f9da37a0b68d234c66484ec592d2

commit 1cb5d7bab0f5f9da37a0b68d234c66484ec592d2
Author:     Arthur Zamarin <arthurzam@gentoo.org>
AuthorDate: 2021-09-03 21:07:42 +0000
Commit:     Arthur Zamarin <arthurzam@gentoo.org>
CommitDate: 2021-09-05 17:00:50 +0000

    2021-09-05-setuptools_scm-6_3_0-temporary-breakage: add item
    
    Bug: https://bugs.gentoo.org/811504
    Signed-off-by: Sam James <sam@gentoo.org>
    Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>

 ...-setuptools_scm-6_3_0-temporary-breakage.en.txt | 49 ++++++++++++++++++++++
 1 file changed, 49 insertions(+)
Comment 14 Sam James archtester gentoo-dev Security 2021-09-06 16:01:41 UTC
*** Bug 811825 has been marked as a duplicate of this bug. ***
Comment 15 Sam James archtester gentoo-dev Security 2021-09-06 16:03:52 UTC
The news item has now been published (https://www.gentoo.org/support/news-items/2021-09-05-setuptools_scm-6_3_0-temporary-breakage.html).

There's no more action to be taken here -- the actual *fix* for this was https://gitweb.gentoo.org/repo/gentoo.git/commit/dev-python/setuptools_scm?id=0c76b447cd1be9cf611f649970851750304d9ca6 which added a dependency on packaging for setuptools_scm.

Keeping this open for now for visibility. Please read the news item if you're hitting issues.