Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 810808 - dev-python/setuptools_scm_git_archive-1.1 is broken with >=dev-python/setuptools_scm-6.1.0 - AttributeError: NoneType object has no attribute version_cls
Summary: dev-python/setuptools_scm_git_archive-1.1 is broken with >=dev-python/setupto...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Pacho Ramos
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-28 16:00 UTC by Toralf Förster
Modified: 2021-09-03 15:43 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.90 KB, text/plain)
2021-08-28 16:00 UTC, Toralf Förster
Details
dev-python:pikepdf-2.16.1:20210828-153310.log (dev-python:pikepdf-2.16.1:20210828-153310.log,4.40 KB, text/plain)
2021-08-28 16:00 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,194.25 KB, text/plain)
2021-08-28 16:00 UTC, Toralf Förster
Details
environment (environment,113.12 KB, text/plain)
2021-08-28 16:00 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,21.35 KB, application/x-bzip)
2021-08-28 16:00 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,25.70 KB, application/x-bzip)
2021-08-28 16:00 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-08-28 16:00:12 UTC
  File "/usr/lib/python3.9/site-packages/setuptools_scm/version.py", line 166, in _parse_tag
    if not isinstance(tag, config.version_cls):
AttributeError: 'NoneType' object has no attribute 'version_cls'
ERROR: [Errno 2] No such file or directory: 'container-exception-logger'
 * ERROR: dev-python/pikepdf-2.16.1::gentoo failed (compile phase):
 *   (no error message)
 * 

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_systemd-j4-20210826-190021

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.0 *
clang version 12.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/12/bin
/usr/lib/llvm/12
12.0.1
Python 3.9.6
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.54.0 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.292_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4

  HEAD of ::gentoo
commit 0bf2449dd404669a3f2472bd3eb5389eeebaa505
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Aug 28 14:06:33 2021 +0000

    2021-08-28 14:06:30 UTC

emerge -qpvO dev-python/pikepdf
[ebuild  N    ] dev-python/pikepdf-2.16.1  USE="-test" PYTHON_TARGETS="python3_9 -python3_8 -python3_10"
Comment 1 Toralf Förster gentoo-dev 2021-08-28 16:00:13 UTC
Created attachment 736456 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-08-28 16:00:14 UTC
Created attachment 736459 [details]
dev-python:pikepdf-2.16.1:20210828-153310.log
Comment 3 Toralf Förster gentoo-dev 2021-08-28 16:00:16 UTC
Created attachment 736462 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-08-28 16:00:17 UTC
Created attachment 736465 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-08-28 16:00:19 UTC
Created attachment 736468 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-08-28 16:00:20 UTC
Created attachment 736471 [details]
temp.tar.bz2
Comment 7 Larry the Git Cow gentoo-dev 2021-08-28 21:04:51 UTC
The bug has been referenced in the following commit(s):

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

commit e313b122eafeef2984f716c90baa99235eae78a6
Author:     Louis Sautier <sbraz@gentoo.org>
AuthorDate: 2021-08-28 20:55:14 +0000
Commit:     Louis Sautier <sbraz@gentoo.org>
CommitDate: 2021-08-28 21:04:29 +0000

    dev-python/setuptools_scm_git_archive: force setuptools_scm < 6.0.1
    
    Bug: https://bugs.gentoo.org/810808
    Signed-off-by: Louis Sautier <sbraz@gentoo.org>

 ...it_archive-1.1.ebuild => setuptools_scm_git_archive-1.1-r1.ebuild} | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
Comment 8 Larry the Git Cow gentoo-dev 2021-08-29 01:04:16 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49c4e2a0ee5c6441abc443d376280abc0c320c75

commit 49c4e2a0ee5c6441abc443d376280abc0c320c75
Author:     Louis Sautier <sbraz@gentoo.org>
AuthorDate: 2021-08-29 00:47:15 +0000
Commit:     Louis Sautier <sbraz@gentoo.org>
CommitDate: 2021-08-29 01:02:53 +0000

    profiles: mask dev-python/setuptools_scm-6.1.0 in addition to 6.2.0
    
    Upstream confirms that both versions have several bugs and have been
    pulled off PyPI:
    https://github.com/pypa/setuptools_scm/issues/615#issuecomment-907690841
    
    This also lifts the version restriction added to
    dev-python/setuptools_scm_git_archive in
    e313b122eafeef2984f716c90baa99235eae78a6
    since the problematic version is now masked.
    
    Bug: https://bugs.gentoo.org/810808
    Signed-off-by: Louis Sautier <sbraz@gentoo.org>

 ...chive-1.1-r1.ebuild => setuptools_scm_git_archive-1.1-r2.ebuild} | 4 +---
 profiles/package.mask                                               | 6 +++---
 2 files changed, 4 insertions(+), 6 deletions(-)
Comment 9 Larry the Git Cow gentoo-dev 2021-09-03 15:43:22 UTC
The bug has been closed via the following commit(s):

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

commit a6159ff9ad9e34e16f171c8754802b82163682ed
Author:     Arthur Zamarin <arthurzam@gentoo.org>
AuthorDate: 2021-09-03 15:12:04 +0000
Commit:     Arthur Zamarin <arthurzam@gentoo.org>
CommitDate: 2021-09-03 15:42:50 +0000

    dev-python/setuptools_scm: drop 6.1.0, 6.2.0
    
    Closes: https://bugs.gentoo.org/810790
    Closes: https://bugs.gentoo.org/810808
    Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>

 dev-python/setuptools_scm/Manifest                 |  2 --
 .../setuptools_scm/setuptools_scm-6.1.0.ebuild     | 35 ----------------------
 .../setuptools_scm/setuptools_scm-6.2.0.ebuild     | 35 ----------------------
 profiles/package.mask                              |  6 ----
 4 files changed, 78 deletions(-)