Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 916983 - [guru] sys-kernel/ugrd-0.9.0 fails to compile: ModuleNotFoundError: No module named tomllib
Summary: [guru] sys-kernel/ugrd-0.9.0 fails to compile: ModuleNotFoundError: No module...
Status: RESOLVED OBSOLETE
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: zen
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-07 07:52 UTC by Agostino Sarubbo
Modified: 2024-01-09 19:48 UTC (History)
2 users (show)

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


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

Issue: sys-kernel/ugrd-0.8.0 fails to compile.
Discovered on: amd64 (internal ref: guru_ci)
Comment 1 Agostino Sarubbo gentoo-dev 2023-11-07 07:52:24 UTC
Created attachment 874191 [details]
build.log

build log and emerge --info
Comment 2 zen 2023-11-08 02:07:34 UTC
(In reply to Agostino Sarubbo from comment #1)
> Created attachment 874191 [details]
> build.log
> 
> build log and emerge --info

Fixed, tomllib is python 3.11+
Comment 3 Agostino Sarubbo gentoo-dev 2023-11-09 11:07:14 UTC
guru_ci has reproduced this issue with version 0.8.1 - Updating summary.
Comment 4 zen 2023-11-09 17:12:10 UTC
(In reply to Agostino Sarubbo from comment #3)
> guru_ci has reproduced this issue with version 0.8.1 - Updating summary.

What python version is failing? Most of the testing has been done on 3.11, and I believe this tomllib issue is related to the python version.

I have not installed any packages which should affect this library in python, and can't reproduce this on any of my systems/containers.
Comment 5 Agostino Sarubbo gentoo-dev 2023-11-10 07:49:21 UTC
(In reply to zen from comment #4)
> What python version is failing?

The log tells pypy-3.10
Comment 6 zen 2023-11-10 17:00:28 UTC
(In reply to Agostino Sarubbo from comment #5)
> (In reply to zen from comment #4)
> > What python version is failing?
> 
> The log tells pypy-3.10

I have `PYTHON_COMPAT=( python3_{11..12} pypy3 )` set in the latest ebuild, is there some better way to tell it not to use anything lower than 3.11?
Comment 7 Agostino Sarubbo gentoo-dev 2023-11-21 12:14:26 UTC
guru_ci has reproduced this issue with version 0.8.2 - Updating summary.
Comment 8 Agostino Sarubbo gentoo-dev 2023-11-21 12:15:44 UTC
guru_ci has reproduced this issue with version 0.9.0 - Updating summary.
Comment 9 zen 2023-11-21 15:54:49 UTC
(In reply to Agostino Sarubbo from comment #8)
> guru_ci has reproduced this issue with version 0.9.0 - Updating summary.

I'm not able to reproduce this myself, is guru_ci running this against an older python version? I've tried to force 3.11+ which should have tomllib
Comment 10 Agostino Sarubbo gentoo-dev 2023-11-21 16:02:47 UTC
(In reply to zen from comment #9)
> (In reply to Agostino Sarubbo from comment #8)
> > guru_ci has reproduced this issue with version 0.9.0 - Updating summary.
> 
> I'm not able to reproduce this myself, is guru_ci running this against an
> older python version? I've tried to force 3.11+ which should have tomllib

Would you mind to post the output of emerge -pvO =sys-kernel/ugrd-0.9.0
?
Comment 11 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-11-21 17:12:34 UTC
pypy is effectively py3.10.
Comment 12 zen 2024-01-09 19:48:03 UTC
This version is no longer in repos, and I have fixed version requirements