Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 910485 - dev-python/setuptools-scm-7.1.0 fails tests (PYTHON-3.12-SYSTEM)
Summary: dev-python/setuptools-scm-7.1.0 fails tests (PYTHON-3.12-SYSTEM)
Status: RESOLVED DUPLICATE of bug 912155
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks: 921826
  Show dependency tree
 
Reported: 2023-07-18 11:22 UTC by Agostino Sarubbo
Modified: 2024-01-11 17:12 UTC (History)
0 users

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


Attachments
build.log (build.log,245.09 KB, text/plain)
2023-07-18 11:22 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 2023-07-18 11:22:45 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/setuptools-scm-7.1.0 fails tests (PYTHON-3.12-SYSTEM).
Discovered on: amd64 (internal ref: hardened_tinderbox)

NOTE:
(PYTHON-3.12-SYSTEM) in the summary means that the bug was found on a machine that runs python-3.12 but this bug MAY or MAY NOT BE related to the new python version
Comment 1 Agostino Sarubbo gentoo-dev 2023-07-18 11:22:48 UTC
Created attachment 865714 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-07-18 11:22:49 UTC
Error(s) that match a know pattern:


    ModuleNotFoundError: No module named 'imp'
    ValueError: invalid pyproject.toml config: `project`.
E       AssertionError: assert False
E       AssertionError: assert set() == {'CamelFile', 'file2', 'file1', 'adir/filea', 'bdir/fileb'}
E       AssertionError: assert set() == {'adir/filea', 'adir/bdirlink/fileb'}
E       AssertionError: assert set() == {'adir/filea', 'adir/emptysubdir/subdir/xfile'}
E       AssertionError: assert set() == {'adir/filea', 'adir/file1link'}
E       AssertionError: assert set() == {'adir/filea', 'adir/loop'}
E       AssertionError: assert set() == {'adir/filea'}
E       AssertionError: assert set() == {'adir/space file', 'adir/filea'}
E       AssertionError: assert set() == {'cdir/subdir/filec'}
E       AssertionError: assert set() == {'file1', 'adir/datalink', 'adir/filealink', 'adir/filea', 'bdir/fileb', 'data/datafile'}
E       AssertionError: assert set() == {'file1', 'adir/filea', 'bdir/fileb', 'data/datafile'}
E       AssertionError: assert set() == {'file1', 'adir/filea', 'bdir/fileb'}
FAILED testing/test_file_finder.py::test_basic[hg] - AssertionError: assert s...
FAILED testing/test_file_finder.py::test_case[hg] - AssertionError: assert se...
FAILED testing/test_file_finder.py::test_double_include_through_symlink[hg]
FAILED testing/test_file_finder.py::test_empty_root[hg] - AssertionError: ass...
FAILED testing/test_file_finder.py::test_empty_subdir[hg] - AssertionError: a...
FAILED testing/test_file_finder.py::test_symlink_dir[hg] - AssertionError: as...
FAILED testing/test_file_finder.py::test_symlink_dir_out_of_git[hg] - Asserti...
FAILED testing/test_file_finder.py::test_symlink_dir_source_not_in_scm[hg] - ...
FAILED testing/test_file_finder.py::test_symlink_file[hg] - AssertionError: a...
FAILED testing/test_file_finder.py::test_symlink_file_out_of_git[hg] - Assert...
FAILED testing/test_file_finder.py::test_symlink_file_source_not_in_scm[hg]
FAILED testing/test_file_finder.py::test_symlink_loop[hg] - AssertionError: a...
FAILED testing/test_file_finder.py::test_symlink_loop_outside_path[hg] - Asse...
FAILED testing/test_file_finder.py::test_symlink_not_in_scm_while_target_is[hg]
FAILED testing/test_file_finder.py::test_whitespace[hg] - AssertionError: ass...
FAILED testing/test_integration.py::test_pretend_version_named_pyproject_integration[pyproject.project]
FAILED testing/test_integration.py::test_pyproject_support_with_git[pyproject.project]
packaging version 23.1 from '/usr/lib/pypy3.10/site-packages/packaging/__init__.py'
    configuration error: `project` must contain ['version'] properties
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-01-11 17:12:49 UTC
the failure is pypy3, but...

cmd:
     hg init
 in: /var/tmp/portage/dev-python/setuptools-scm-7.1.0/temp/pytest-of-portage/pytest-0/test_basic_hg_0/wd
err:
     Traceback (most recent call last):
      File "/usr/lib/python-exec/python3.12/hg", line 59, in <module>
        dispatch.run()
        ^^^^^^^^^^^^
      File "<frozen importlib.util>", line 193, in __getattribute__
      File "<frozen importlib._bootstrap_external>", line 994, in exec_module
      File "<frozen importlib._bootstrap>", line 400, in _call_with_frames_removed
      File "/usr/lib/python3.12/site-packages/mercurial/dispatch.py", line 20, in <module>
        from .i18n import _
      File "<frozen importlib.util>", line 193, in __getattribute__
      File "/usr/lib/python3.12/site-packages/mercurial/i18n.py", line 59, in <module>
        datapath = pycompat.fsdecode(resourceutil.datapath)
                                     ^^^^^^^^^^^^^^^^^^^^^
      File "<frozen importlib.util>", line 193, in __getattribute__
      File "/usr/lib/python3.12/site-packages/mercurial/utils/resourceutil.py", line 11, in <module>
        import imp
    ModuleNotFoundError: No module named 'imp'

*** This bug has been marked as a duplicate of bug 912155 ***