Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 841002 - dev-python/plotly-5.7.0 - AttributeError: module versioneer has no attribute get_cmdclass
Summary: dev-python/plotly-5.7.0 - AttributeError: module versioneer has no attribute ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-26 11:35 UTC by Toralf Förster
Modified: 2022-06-03 06:33 UTC (History)
4 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.00 KB, text/plain)
2022-04-26 11:35 UTC, Toralf Förster
Details
dev-python:plotly-5.7.0:20220426-011526.log (dev-python:plotly-5.7.0:20220426-011526.log,3.69 KB, text/plain)
2022-04-26 11:35 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,142.24 KB, text/plain)
2022-04-26 11:35 UTC, Toralf Förster
Details
environment (environment,127.39 KB, text/plain)
2022-04-26 11:35 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,44.87 KB, application/x-bzip)
2022-04-26 11:35 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,28.35 KB, application/x-bzip)
2022-04-26 11:35 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 2022-04-26 11:35:49 UTC
  File "/usr/lib/python3.9/site-packages/setuptools/build_meta.py", line 174, in run_setup
    exec(compile(code, __file__, 'exec'), locals())
  File "setup.py", line 494, in <module>
    versioneer_cmds = versioneer.get_cmdclass()
AttributeError: module 'versioneer' has no attribute 'get_cmdclass'
 * ERROR: dev-python/plotly-5.7.0::gentoo failed (compile phase):
 *   Wheel build failed

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

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

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.0.1 *
clang/llvm (if any):
/usr/lib/llvm/13
13.0.1
Python 3.9.12
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.60.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 11.0.14_p9 [openjdk-bin-11]
2)	Eclipse Temurin JDK 8.322_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:
  [1]   php7.4
  [2]   php8.0
  [3]   php8.1 *

  HEAD of ::gentoo
commit bbb7e027019774ef7932ef4a4dd74d1fec388023
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Apr 26 00:48:09 2022 +0000

    2022-04-26 00:48:09 UTC

emerge -qpvO dev-python/plotly
[ebuild  N    ] dev-python/plotly-5.7.0  USE="-test" PYTHON_TARGETS="python3_9 -python3_8 -python3_10"
Comment 1 Toralf Förster gentoo-dev 2022-04-26 11:35:50 UTC
Created attachment 774696 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-04-26 11:35:51 UTC
Created attachment 774699 [details]
dev-python:plotly-5.7.0:20220426-011526.log
Comment 3 Toralf Förster gentoo-dev 2022-04-26 11:35:52 UTC
Created attachment 774702 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-04-26 11:35:53 UTC
Created attachment 774705 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-04-26 11:35:55 UTC
Created attachment 774708 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-04-26 11:35:56 UTC
Created attachment 774711 [details]
temp.tar.bz2
Comment 7 Erik Quaeghebeur 2022-04-28 15:36:46 UTC
I'm encountering this. Is there a workaround?
Comment 8 poncho 2022-05-15 20:03:24 UTC
(In reply to Erik Quaeghebeur from comment #7)
> I'm encountering this. Is there a workaround?

not having dev-python/versioneer installed while building plotly was working here
Comment 9 Larry the Git Cow gentoo-dev 2022-06-03 06:28:49 UTC
The bug has been closed via the following commit(s):

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

commit c818c56789749aec547a0df6d82e522b4146a87b
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-06-03 06:27:57 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-06-03 06:28:33 +0000

    dev-python/plotly: add 5.8.0
    
    Closes: https://bugs.gentoo.org/841002
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-python/plotly/Manifest                         |  1 +
 .../files/plotly-5.8.0-fix-versioneer-import.patch | 14 +++++
 dev-python/plotly/plotly-5.8.0.ebuild              | 63 ++++++++++++++++++++++
 3 files changed, 78 insertions(+)
Comment 10 Larry the Git Cow gentoo-dev 2022-06-03 06:33:20 UTC
The bug has been referenced in the following commit(s):

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

commit 74b87a43ec987a99804852b6a1996aa5d2a045e1
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-06-03 06:33:09 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-06-03 06:33:09 +0000

    dev-python/plotly: add link to upstream PR
    
    Bug: https://bugs.gentoo.org/841002
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-python/plotly/files/plotly-5.8.0-fix-versioneer-import.patch | 1 +
 1 file changed, 1 insertion(+)