Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 853679 - dev-python/setuptools_scm-7.0.1 fails to compile: ModuleNotFoundError: No module named typing_extensions
Summary: dev-python/setuptools_scm-7.0.1 fails to compile: ModuleNotFoundError: No mod...
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:
: 853682 853691 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-06-22 06:39 UTC by Agostino Sarubbo
Modified: 2022-06-22 07:50 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,44.16 KB, text/plain)
2022-06-22 06:39 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-06-22 06:39:17 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/setuptools_scm-7.0.1 fails to compile.
Discovered on: amd64 (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2022-06-22 06:39:19 UTC
Created attachment 786635 [details]
build.log

build log and emerge --info
Comment 2 HougeLangley 2022-06-22 07:24:22 UTC
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-python/setuptools_scm-7.0.1/work/setuptools_scm-7.0.1 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-python/setuptools_scm-7.0.1/work/setuptools_scm-7.0.1 ...
 * python3_10: running distutils-r1_run_phase distutils-r1_python_compile
 *   Building the wheel for setuptools_scm-7.0.1 via setuptools.build_meta
Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.10/gpep517", line 4, in <module>
    sys.exit(main())
  File "/usr/lib/python3.10/site-packages/gpep517/__main__.py", line 191, in main
    return func(args)
  File "/usr/lib/python3.10/site-packages/gpep517/__main__.py", line 87, in build_wheel
    wheel_name = backend.build_wheel(args.wheel_dir, args.config_json)
  File "/usr/lib/python3.10/site-packages/setuptools/build_meta.py", line 244, in build_wheel
    return self._build_with_temp_dir(['bdist_wheel'], '.whl',
  File "/usr/lib/python3.10/site-packages/setuptools/build_meta.py", line 229, in _build_with_temp_dir
    self.run_setup()
  File "/usr/lib/python3.10/site-packages/setuptools/build_meta.py", line 174, in run_setup
    exec(compile(code, __file__, 'exec'), locals())
  File "setup.py", line 51, in <module>
    version=scm_version(),
  File "setup.py", line 26, in scm_version
    from setuptools_scm import get_version
  File "/var/tmp/portage/dev-python/setuptools_scm-7.0.1/work/setuptools_scm-7.0.1/src/setuptools_scm/__init__.py", line 13, in <module>
    from . import _types as _t
  File "/var/tmp/portage/dev-python/setuptools_scm-7.0.1/work/setuptools_scm-7.0.1/src/setuptools_scm/_types.py", line 16, in <module>
    from typing_extensions import ParamSpec, TypeAlias, Protocol
ModuleNotFoundError: No module named 'typing_extensions'
 * ERROR: dev-python/setuptools_scm-7.0.1::gentoo failed (compile phase):
 *   Wheel build failed
Comment 3 Larry the Git Cow gentoo-dev 2022-06-22 07:50:06 UTC
The bug has been closed via the following commit(s):

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

commit f530a0c1a7aadbb06139fda938964c79808de7b7
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2022-06-22 07:45:06 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2022-06-22 07:49:42 +0000

    dev-python/setuptools_scm: Add missing typing-extensions dep
    
    Closes: https://bugs.gentoo.org/853679
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 .../{setuptools_scm-7.0.1.ebuild => setuptools_scm-7.0.1-r1.ebuild}      | 1 +
 1 file changed, 1 insertion(+)
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2022-06-22 07:50:42 UTC
*** Bug 853691 has been marked as a duplicate of this bug. ***
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2022-06-22 07:50:56 UTC
*** Bug 853682 has been marked as a duplicate of this bug. ***