Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 836600 - dev-python/cppy-1.2.0 - ValueError: invalid pyproject.toml config: project
Summary: dev-python/cppy-1.2.0 - ValueError: invalid pyproject.toml config: project
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: 836676
  Show dependency tree
 
Reported: 2022-04-01 14:31 UTC by Toralf Förster
Modified: 2022-05-04 04:28 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.04 KB, text/plain)
2022-04-01 14:31 UTC, Toralf Förster
Details
dev-python:cppy-1.2.0:20220401-122238.log (dev-python:cppy-1.2.0:20220401-122238.log,5.38 KB, text/plain)
2022-04-01 14:31 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,80.44 KB, application/x-bzip)
2022-04-01 14:31 UTC, Toralf Förster
Details
environment (environment,122.97 KB, text/plain)
2022-04-01 14:31 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,66.25 KB, application/x-bzip)
2022-04-01 14:31 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,28.05 KB, application/x-bzip)
2022-04-01 14:31 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-01 14:31:41 UTC
  File "/usr/lib/python3.9/site-packages/setuptools/config/pyprojecttoml.py", line 120, in read_configuration
    validate(subset, filepath)
  File "/usr/lib/python3.9/site-packages/setuptools/config/pyprojecttoml.py", line 43, in validate
    raise error from None
ValueError: invalid pyproject.toml config: `project`
 * ERROR: dev-python/cppy-1.2.0::gentoo failed (compile phase):
 *   (no error message)

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib-j4-20220326-101155

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

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

The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:

  HEAD of ::gentoo
commit 0c0e3603ab8f258dede73f6a65d2102ddadc7a4f
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Apr 1 10:19:43 2022 +0000

    2022-04-01 10:19:41 UTC

emerge -qpvO dev-python/cppy
[ebuild  N    ] dev-python/cppy-1.2.0  USE="-test" PYTHON_TARGETS="python3_9 -python3_8 -python3_10"
Comment 1 Toralf Förster gentoo-dev 2022-04-01 14:31:42 UTC
Created attachment 768392 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-04-01 14:31:43 UTC
Created attachment 768393 [details]
dev-python:cppy-1.2.0:20220401-122238.log
Comment 3 Toralf Förster gentoo-dev 2022-04-01 14:31:44 UTC
Created attachment 768394 [details]
emerge-history.txt.bz2
Comment 4 Toralf Förster gentoo-dev 2022-04-01 14:31:45 UTC
Created attachment 768395 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-04-01 14:31:46 UTC
Created attachment 768396 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-04-01 14:31:47 UTC
Created attachment 768397 [details]
temp.tar.bz2
Comment 7 Larry the Git Cow gentoo-dev 2022-04-03 04:55:36 UTC
The bug has been closed via the following commit(s):

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

commit 1b477b43c8000d5746953cb53c8010c94e2ee791
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-04-03 04:55:20 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-04-03 04:55:20 +0000

    dev-python/cppy: add 1.2.1
    
    Closes: https://bugs.gentoo.org/836600
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-python/cppy/Manifest          |  1 +
 dev-python/cppy/cppy-1.2.1.ebuild | 19 +++++++++++++++++++
 2 files changed, 20 insertions(+)
Comment 8 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2022-04-03 07:32:45 UTC
(In reply to Larry the Git Cow from comment #7)
> The bug has been closed via the following commit(s):
> 
> https://gitweb.gentoo.org/repo/gentoo.git/commit/
> ?id=1b477b43c8000d5746953cb53c8010c94e2ee791
> 
> commit 1b477b43c8000d5746953cb53c8010c94e2ee791
> Author:     Sam James <sam@gentoo.org>
> AuthorDate: 2022-04-03 04:55:20 +0000
> Commit:     Sam James <sam@gentoo.org>
> CommitDate: 2022-04-03 04:55:20 +0000
> 
>     dev-python/cppy: add 1.2.1
>     
>     Closes: https://bugs.gentoo.org/836600
>     Signed-off-by: Sam James <sam@gentoo.org>
> 
>  dev-python/cppy/Manifest          |  1 +
>  dev-python/cppy/cppy-1.2.1.ebuild | 19 +++++++++++++++++++
>  2 files changed, 20 insertions(+)

You need a >= dep on setuptools, the install in new version is now broken with old versions.
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-04-03 07:41:48 UTC
Not sure I get what to do here, but maybe too tired (off to bed now). Builds & installs fine w/ 60.50.0?
Comment 10 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2022-04-03 07:59:33 UTC
Yeah, sorry, I was thinking of some other package that I didn't bump because of setuptools incompatibility.
Comment 11 Larry the Git Cow gentoo-dev 2022-05-04 04:27:29 UTC
The bug has been referenced in the following commit(s):

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

commit 1ef904c40c8a9235bcd1332561498237d91fcc38
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-05-04 04:27:14 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-05-04 04:27:14 +0000

    dev-python/cppy: BDEPEND on older setuptools for 1.2.0
    
    Closes: https://bugs.gentoo.org/842408
    Bug: https://bugs.gentoo.org/836600
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-python/cppy/{cppy-1.2.0.ebuild => cppy-1.2.0-r1.ebuild} | 3 +++
 1 file changed, 3 insertions(+)