Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 919782 - dev-python/tzdata-9999 - ValueError: At least one file selection option must be defined, see: https://hatch.pypa.io/latest/config/build/
Summary: dev-python/tzdata-9999 - ValueError: At least one file selection option must ...
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:
Depends on:
Blocks:
 
Reported: 2023-12-12 16:57 UTC by Toralf Förster
Modified: 2023-12-12 18:18 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.11 KB, text/plain)
2023-12-12 16:57 UTC, Toralf Förster
Details
dev-python:tzdata-9999:20231212-125629.log (dev-python:tzdata-9999:20231212-125629.log,5.50 KB, text/plain)
2023-12-12 16:57 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,48.22 KB, text/plain)
2023-12-12 16:57 UTC, Toralf Förster
Details
environment (environment,152.44 KB, text/plain)
2023-12-12 16:57 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,30.25 KB, application/x-xz)
2023-12-12 16:57 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,92.94 KB, text/plain)
2023-12-12 16:57 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,33.70 KB, application/x-xz)
2023-12-12 16:57 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-12-12 16:57:34 UTC
    only_include = only_include_config.get('only-include', self.default_only_include()) or self.packages
                                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/hatchling/builders/wheel.py", line 231, in default_only_include
    self.set_default_file_selection()
  File "/usr/lib/python3.11/site-packages/hatchling/builders/wheel.py", line 209, in set_default_file_selection
    raise ValueError(message)
ValueError: At least one file selection option must be defined, see: https://hatch.pypa.io/latest/config/build/
 * ERROR: dev-python/tzdata-9999::gentoo failed (compile phase):
 *   Wheel build failed

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_systemd_merged_usr-20231211-214016

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
/usr/lib/llvm/17
17.0.6
Python 3.11.7
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.74.1 *
The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):

  HEAD of ::gentoo
commit 5c694d04ae589ca222f3b66757bab69250ab1131
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Dec 12 10:33:53 2023 +0000

    2023-12-12 10:33:53 UTC

emerge -qpvO dev-python/tzdata
[ebuild  N    ] dev-python/tzdata-9999  PYTHON_TARGETS="python3_11 -pypy3 -python3_10 -python3_12"
Comment 1 Toralf Förster gentoo-dev 2023-12-12 16:57:35 UTC
Created attachment 878911 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-12 16:57:36 UTC
Created attachment 878912 [details]
dev-python:tzdata-9999:20231212-125629.log
Comment 3 Toralf Förster gentoo-dev 2023-12-12 16:57:37 UTC
Created attachment 878913 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2023-12-12 16:57:38 UTC
Created attachment 878914 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-12-12 16:57:39 UTC
Created attachment 878915 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-12 16:57:40 UTC
Created attachment 878916 [details]
qlist-info.txt
Comment 7 Toralf Förster gentoo-dev 2023-12-12 16:57:41 UTC
Created attachment 878917 [details]
temp.tar.xz
Comment 8 Larry the Git Cow gentoo-dev 2023-12-12 18:18:01 UTC
The bug has been closed via the following commit(s):

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

commit f8f0478a22c4e2491a278607d859d6583077fde5
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2023-12-12 18:17:36 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2023-12-12 18:17:58 +0000

    dev-python/tzdata: Workaround dev-python/hatchling-1.19
    
    This is a temporary hack, pending upstream suggestions on how to do it
    better.
    
    Closes: https://bugs.gentoo.org/919782
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/tzdata/tzdata-9999.ebuild | 4 ++++
 1 file changed, 4 insertions(+)