Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 917754 - dev-python/autocommand-2.2.2 - KeyError: text
Summary: dev-python/autocommand-2.2.2 - KeyError: text
Status: RESOLVED FIXED
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: PATCH
: 922971 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-11-22 18:46 UTC by Toralf Förster
Modified: 2024-02-06 03:39 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.40 KB, text/plain)
2023-11-22 18:46 UTC, Toralf Förster
Details
dev-python:autocommand-2.2.2:20231121-220845.log (dev-python:autocommand-2.2.2:20231121-220845.log,6.80 KB, text/plain)
2023-11-22 18:46 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,65.92 KB, application/x-xz)
2023-11-22 18:46 UTC, Toralf Förster
Details
environment (environment,153.93 KB, text/plain)
2023-11-22 18:46 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.05 KB, application/x-xz)
2023-11-22 18:46 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,33.22 KB, application/x-xz)
2023-11-22 18:46 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,73.69 KB, application/x-xz)
2023-11-22 18:46 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,34.37 KB, application/x-xz)
2023-11-22 18:46 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 2023-11-22 18:46:24 UTC
    _apply_project_table(dist, config, root_dir)
  File "/usr/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py", line 82, in _apply_project_table
    corresp(dist, value, root_dir)
  File "/usr/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py", line 183, in _license
    _set_config(dist, "license", val["text"])
                                 ~~~^^^^^^^^
KeyError: 'text'
 * ERROR: dev-python/autocommand-2.2.2::gentoo failed (compile phase):
 *   Wheel build failed

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd_merged_usr-20231118-050504

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 17.0.5
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.5
Python 3.11.6
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.73.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
  [1]   php8.1
  [2]   php8.2 *
go version go1.21.4 linux/amd64

  HEAD of ::gentoo
commit 0af81f9a7c528d5957a23d2874c3ba0f3dab9210
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Nov 21 21:17:47 2023 +0000

    2023-11-21 21:17:46 UTC

emerge -qpvO dev-python/autocommand
[ebuild  N    ] dev-python/autocommand-2.2.2  USE="-test" PYTHON_TARGETS="python3_11 -pypy3 -python3_10 -python3_12"
Comment 1 Toralf Förster gentoo-dev 2023-11-22 18:46:25 UTC
Created attachment 875336 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-11-22 18:46:26 UTC
Created attachment 875337 [details]
dev-python:autocommand-2.2.2:20231121-220845.log
Comment 3 Toralf Förster gentoo-dev 2023-11-22 18:46:27 UTC
Created attachment 875338 [details]
emerge-history.txt.xz
Comment 4 Toralf Förster gentoo-dev 2023-11-22 18:46:29 UTC
Created attachment 875339 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-11-22 18:46:29 UTC
Created attachment 875340 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-11-22 18:46:30 UTC
Created attachment 875341 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-11-22 18:46:32 UTC
Created attachment 875342 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2023-11-22 18:46:33 UTC
Created attachment 875343 [details]
temp.tar.xz
Comment 9 Rafał Mużyło 2024-02-06 00:12:06 UTC
So, first of all, bug 922971 looks like a duplicate.

Second, https://github.com/Lucretiel/autocommand/pull/31 claims to be a fix and seems somewhat similar to the one proposed in the other bug.
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-02-06 03:35:57 UTC
*** Bug 922971 has been marked as a duplicate of this bug. ***
Comment 11 Larry the Git Cow gentoo-dev 2024-02-06 03:39:17 UTC
The bug has been closed via the following commit(s):

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

commit 3604b6736fc276ca1fc3932810be50d4e6da488a
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-02-06 03:38:09 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-02-06 03:38:09 +0000

    dev-python/autocommand: fix compat w/ setuptools-69
    
    Closes: https://bugs.gentoo.org/917754
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-python/autocommand/autocommand-2.2.2.ebuild    |  6 ++++-
 .../autocommand-2.2.2-setuptools-license.patch     | 26 ++++++++++++++++++++++
 2 files changed, 31 insertions(+), 1 deletion(-)