Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 914500 - dev-python/scikit-build-core-0.5.1 - ModuleNotFoundError: Error getting the version from source vcs: No module named setuptools_scm.utils
Summary: dev-python/scikit-build-core-0.5.1 - ModuleNotFoundError: Error getting the v...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-21 17:16 UTC by Toralf Förster
Modified: 2023-09-22 02:21 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.88 KB, text/plain)
2023-09-21 17:16 UTC, Toralf Förster
Details
dev-python:scikit-build-core-0.5.1:20230921-121729.log (dev-python:scikit-build-core-0.5.1:20230921-121729.log,5.26 KB, text/plain)
2023-09-21 17:16 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,72.96 KB, application/x-xz)
2023-09-21 17:16 UTC, Toralf Förster
Details
environment (environment,156.61 KB, text/plain)
2023-09-21 17:16 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.27 KB, application/x-xz)
2023-09-21 17:16 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,41.84 KB, application/x-xz)
2023-09-21 17:16 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,34.52 KB, application/x-xz)
2023-09-21 17:16 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 2023-09-21 17:16:18 UTC
                    ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/hatchling/metadata/core.py", line 226, in _get_version
    version = self.hatch.version.cached
              ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/hatchling/metadata/core.py", line 1415, in cached
    raise type(e)(message) from None
ModuleNotFoundError: Error getting the version from source `vcs`: No module named 'setuptools_scm.utils'
 * ERROR: dev-python/scikit-build-core-0.5.1::gentoo failed (compile phase):
 *   Wheel build failed

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-20230916-053003

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 17.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.1
Python 3.11.5
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.72.0
  [2]   rust-1.72.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.19_p7 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.7_p7 [openjdk-bin-17]
3)	Eclipse Temurin JDK 8.372_p07 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17  system-vm

php cli (if any):
go version go1.21.1 linux/amd64

  HEAD of ::gentoo
commit 9dab34db7c8bf138dd6b227020d36505c43f50e2
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Sep 21 12:01:40 2023 +0000

    2023-09-21 12:01:40 UTC

emerge -qpvO dev-python/scikit-build-core
[ebuild  N    ] dev-python/scikit-build-core-0.5.1  USE="-test" PYTHON_TARGETS="python3_11 -python3_10"
Comment 1 Toralf Förster gentoo-dev 2023-09-21 17:16:19 UTC
Created attachment 871066 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-09-21 17:16:20 UTC
Created attachment 871067 [details]
dev-python:scikit-build-core-0.5.1:20230921-121729.log
Comment 3 Toralf Förster gentoo-dev 2023-09-21 17:16:21 UTC
Created attachment 871068 [details]
emerge-history.txt.xz
Comment 4 Toralf Förster gentoo-dev 2023-09-21 17:16:23 UTC
Created attachment 871069 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-09-21 17:16:24 UTC
Created attachment 871070 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-09-21 17:16:25 UTC
Created attachment 871071 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-09-21 17:16:26 UTC
Created attachment 871072 [details]
temp.tar.xz
Comment 8 Larry the Git Cow gentoo-dev 2023-09-22 02:21:08 UTC
The bug has been closed via the following commit(s):

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

commit de3a695eecd3420d7c92524631f370c164455c30
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2023-09-22 02:20:21 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2023-09-22 02:20:21 +0000

    dev-python/setuptools_scm_git_archive: Force setuptools-scm<8
    
    Closes: https://bugs.gentoo.org/914498
    Closes: https://bugs.gentoo.org/914500
    Closes: https://bugs.gentoo.org/914501
    Closes: https://bugs.gentoo.org/914502
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 ...t_archive-1.4.ebuild => setuptools_scm_git_archive-1.4-r1.ebuild} | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)