Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 919785 - dev-python/django-js-asset-2.1.0 - ValueError: At least one file selection option must be defined, see: https://hatch.pypa.io/latest/config/build/
Summary: dev-python/django-js-asset-2.1.0 - ValueError: At least one file selection op...
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:58 UTC by Toralf Förster
Modified: 2023-12-12 17:21 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.42 KB, text/plain)
2023-12-12 16:58 UTC, Toralf Förster
Details
dev-python:django-js-asset-2.1.0:20231212-162821.log (dev-python:django-js-asset-2.1.0:20231212-162821.log,5.82 KB, text/plain)
2023-12-12 16:58 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,65.23 KB, text/plain)
2023-12-12 16:58 UTC, Toralf Förster
Details
environment (environment,155.76 KB, text/plain)
2023-12-12 16:58 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,30.26 KB, application/x-xz)
2023-12-12 16:58 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,119.69 KB, text/plain)
2023-12-12 16:58 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,34.41 KB, application/x-xz)
2023-12-12 16:58 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:58:10 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/django-js-asset-2.1.0::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 following VMs are available for generation-2:
*)	Eclipse Temurin JRE 17.0.8.1_p1 [openjdk-jre-bin-17]
Available Java Virtual Machines:
  [1]   openjdk-jre-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.21.5 linux/amd64

  HEAD of ::gentoo
commit 43f54d6e3ed00059da79eaa11745436ee4c21ad9
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Dec 12 16:03:57 2023 +0000

    2023-12-12 16:03:57 UTC

emerge -qpvO dev-python/django-js-asset
[ebuild  N    ] dev-python/django-js-asset-2.1.0  USE="-test" PYTHON_TARGETS="python3_11 -python3_10 -python3_12"
Comment 1 Toralf Förster gentoo-dev 2023-12-12 16:58:11 UTC
Created attachment 878936 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-12 16:58:12 UTC
Created attachment 878937 [details]
dev-python:django-js-asset-2.1.0:20231212-162821.log
Comment 3 Toralf Förster gentoo-dev 2023-12-12 16:58:13 UTC
Created attachment 878938 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2023-12-12 16:58:15 UTC
Created attachment 878939 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-12-12 16:58:16 UTC
Created attachment 878940 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-12 16:58:17 UTC
Created attachment 878941 [details]
qlist-info.txt
Comment 7 Toralf Förster gentoo-dev 2023-12-12 16:58:18 UTC
Created attachment 878942 [details]
temp.tar.xz
Comment 8 Larry the Git Cow gentoo-dev 2023-12-12 17:21:23 UTC
The bug has been closed via the following commit(s):

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

commit 1bf46292200463ff64e6004e5bdfa5271b10822a
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2023-12-12 17:20:55 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2023-12-12 17:21:20 +0000

    dev-python/django-js-asset: Fix building with hatchling-1.19
    
    Closes: https://bugs.gentoo.org/919785
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 .../django-js-asset/django-js-asset-2.1.0.ebuild   |  5 ++++
 .../files/django-js-asset-2.1.0-hatchling.patch    | 29 ++++++++++++++++++++++
 2 files changed, 34 insertions(+)