Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 836597 - dev-util/maturin-0.12.11 - ValueError: invalid pyproject.toml config: project
Summary: dev-util/maturin-0.12.11 - 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 (vote)
Assignee: Stefan Strogin
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 836676
  Show dependency tree
 
Reported: 2022-04-01 14:29 UTC by Toralf Förster
Modified: 2022-05-16 18:40 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.59 KB, text/plain)
2022-04-01 14:29 UTC, Toralf Förster
Details
dev-util:maturin-0.12.11:20220401-025124.log (dev-util:maturin-0.12.11:20220401-025124.log,21.39 KB, text/plain)
2022-04-01 14:29 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,167.71 KB, text/plain)
2022-04-01 14:29 UTC, Toralf Förster
Details
environment (environment,169.60 KB, text/plain)
2022-04-01 14:29 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,9.63 KB, application/x-bzip)
2022-04-01 14:29 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,38.11 KB, application/x-bzip)
2022-04-01 14:29 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:29:21 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-util/maturin-0.12.11::gentoo failed (compile phase):
 *   (no error message)

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-j4-20220329-200013

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.1 *
clang/llvm (if any):
clang version 14.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/14/bin
/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-1.59.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.14_p9 [openjdk-bin-11]
*)	Eclipse Temurin JDK 8.322_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-11 

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

  HEAD of ::gentoo
commit cdde2b084fcb6389afd6874a164b4447f0925b23
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Apr 1 01:49:39 2022 +0000

    2022-04-01 01:49:37 UTC

emerge -qpvO dev-util/maturin
[ebuild  N    ] dev-util/maturin-0.12.11  USE="-debug -doc -test" PYTHON_TARGETS="python3_9 -python3_8 -python3_10"
Comment 1 Toralf Förster gentoo-dev 2022-04-01 14:29:22 UTC
Created attachment 768375 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-04-01 14:29:23 UTC
Created attachment 768376 [details]
dev-util:maturin-0.12.11:20220401-025124.log
Comment 3 Toralf Förster gentoo-dev 2022-04-01 14:29:25 UTC
Created attachment 768377 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-04-01 14:29:26 UTC
Created attachment 768378 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-04-01 14:29:28 UTC
Created attachment 768379 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-04-01 14:29:29 UTC
Created attachment 768380 [details]
temp.tar.bz2
Comment 7 Larry the Git Cow gentoo-dev 2022-04-01 16:17:45 UTC
The bug has been closed via the following commit(s):

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

commit 609fb59499c4ac815db4f409e3af3ae8f6531034
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2022-04-01 16:07:05 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2022-04-01 16:16:11 +0000

    dev-util/maturin: remove problematic pyproject.toml for now
    
    Will likely look at using PEP517 in a new version soon'ish, but the
    file is unused at the moment and cause issues with >=setuptools-61.3.0
    
    Closes: https://bugs.gentoo.org/836597
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 dev-util/maturin/maturin-0.12.11.ebuild | 3 +++
 1 file changed, 3 insertions(+)
Comment 8 Larry the Git Cow gentoo-dev 2022-05-16 18:40:24 UTC
The bug has been referenced in the following commit(s):

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

commit 3e196d49b65194df1541e39f40d4e26f271c66c3
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2022-05-16 17:01:56 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2022-05-16 18:18:38 +0000

    dev-util/maturin: add 0.12.16, use pep517 + enable py3.11
    
    This version fixed the pyproject.toml wrt bug #836597 and furthermore
    switched to using setuptools-rust for building which makes it more
    sane to not handle cargo directly outside tests.
    
    Bug: https://bugs.gentoo.org/836597
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 dev-util/maturin/Manifest               |  62 +++++
 dev-util/maturin/maturin-0.12.16.ebuild | 393 ++++++++++++++++++++++++++++++++
 2 files changed, 455 insertions(+)