Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 701526 - dev-python/lazy-object-proxy-1.4.3 : distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse( setuptools_scm>=3.3.1 )
Summary: dev-python/lazy-object-proxy-1.4.3 : distutils.errors.DistutilsError: Could n...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Michał Górny
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-30 10:09 UTC by Toralf Förster
Modified: 2019-12-04 15:42 UTC (History)
4 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,14.88 KB, text/plain)
2019-11-30 10:09 UTC, Toralf Förster
Details
dev-python:lazy-object-proxy-1.4.3:20191130-095729.log (dev-python:lazy-object-proxy-1.4.3:20191130-095729.log,5.13 KB, text/plain)
2019-11-30 10:09 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,13.47 KB, text/plain)
2019-11-30 10:09 UTC, Toralf Förster
Details
environment (environment,113.08 KB, text/plain)
2019-11-30 10:09 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.53 KB, application/x-bzip)
2019-11-30 10:09 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,25.32 KB, application/x-bzip)
2019-11-30 10:09 UTC, Toralf Förster
Details
strip setuptools_scm.patch (0001-dev-python-lazy-object-proxy-fix-strip-setuptools_sc.patch,2.19 KB, patch)
2019-11-30 11:28 UTC, Arthur Zamarin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2019-11-30 10:09:27 UTC
  File "/usr/lib64/python2.7/site-packages/setuptools/command/easy_install.py", line 679, in easy_install
    raise DistutilsError(msg)
distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('setuptools_scm>=3.3.1')
 * ERROR: dev-python/lazy-object-proxy-1.4.3::gentoo failed (compile phase):
 *   (no error message)
 * 

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-libressl_test-20191129-201951

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *



Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)





repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Sat, 30 Nov 2019 08:46:15 +0000

emerge -qpvO dev-python/lazy-object-proxy
[ebuild  N    ] dev-python/lazy-object-proxy-1.4.3  USE="-test" PYTHON_TARGETS="python2_7 python3_6 -pypy -pypy3 -python3_5 -python3_7 -python3_8"
Comment 1 Toralf Förster gentoo-dev 2019-11-30 10:09:30 UTC
Created attachment 597954 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-11-30 10:09:33 UTC
Created attachment 597956 [details]
dev-python:lazy-object-proxy-1.4.3:20191130-095729.log
Comment 3 Toralf Förster gentoo-dev 2019-11-30 10:09:36 UTC
Created attachment 597958 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2019-11-30 10:09:39 UTC
Created attachment 597960 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2019-11-30 10:09:42 UTC
Created attachment 597962 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-11-30 10:09:45 UTC
Created attachment 597964 [details]
temp.tbz2
Comment 7 Arthur Zamarin archtester Gentoo Infrastructure gentoo-dev Security 2019-11-30 11:28:33 UTC
Created attachment 597968 [details, diff]
strip setuptools_scm.patch

Could be fixed by adding dependency on dev-python/setuptools_scm, but I preferred to just strip in code.
Tested on my system (manually removed setuptools_scm), but Can you please check it to be sure?
Comment 8 Manuel Rüger (RETIRED) gentoo-dev 2019-12-04 10:25:35 UTC
This was missed in

commit fc1412f91b2d7823c5d378b158a6bdbd71f7be4c
Author: Zamarin Arthur <arthurzam@gmail.com>
Date:   Sun Nov 10 09:16:07 2019 +0200

    dev-python/lazy-object-proxy: bump v1.4.3
    
    QA fix: missing RESTRICT
    add PyPy3, python3_8
    move dependencies to BDEPEND
    
    Package-Manager: Portage-2.3.79, Repoman-2.3.18
    Signed-off-by: Zamarin Arthur <arthurzam@gmail.com>
    Signed-off-by: Michał Górny <mgorny@gentoo.org>


Michał, I'm sure this was a small oversight. For the future, please ensure that dependencies are correctly registered in [BR]DEPEND and build has been tested, when importing a non-maintainer contribution.
Comment 9 Larry the Git Cow gentoo-dev 2019-12-04 10:29:36 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5644571d7a9ddc8d08f0137ed4c92a729df6651d

commit 5644571d7a9ddc8d08f0137ed4c92a729df6651d
Author:     Manuel Rüger <mrueg@gentoo.org>
AuthorDate: 2019-12-04 10:29:04 +0000
Commit:     Manuel Rüger <mrueg@gentoo.org>
CommitDate: 2019-12-04 10:29:04 +0000

    dev-python/lazy-object-proxy: Drop stable keywords for 1.4.3
    
    Bug: https://bugs.gentoo.org/701526
    Package-Manager: Portage-2.3.79, Repoman-2.3.16
    Signed-off-by: Manuel Rüger <mrueg@gentoo.org>

 dev-python/lazy-object-proxy/lazy-object-proxy-1.4.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)