Bug 2325200

Summary: python-dataclassy fails to build with Python 3.14: TypeError: Beta() takes no arguments
Product: [Fedora] Fedora Reporter: Karolina Surma <ksurma>
Component: python-dataclassyAssignee: Peter Lemenkov <lemenkov>
Status: ASSIGNED --- QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: 43CC: fti-bugs, ksurma, lemenkov, mhroncok
Target Milestone: ---Flags: mhroncok: needinfo? (lemenkov)
mhroncok: needinfo? (lemenkov)
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2322407, 2339432, 2339435, 2384425    

Description Karolina Surma 2024-11-11 14:28:04 UTC
python-dataclassy fails to build with Python 3.14.0a1.

+ /usr/bin/python3 tests.py
EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
======================================================================
ERROR: test_abc (__main__.Tests.test_abc)
Test subclassing a class with metaclass=ABCMeta. This once caused a weird Attribute Error
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/python-dataclassy-1.0.1-build/dataclassy-1.0.1/tests.py", line 76, in setUp
    self.b = self.Beta(1, 2, 3)
             ~~~~~~~~~^^^^^^^^^
TypeError: Beta() takes no arguments

https://docs.python.org/3.14/whatsnew/3.14.html

For the build logs, see:
https://copr-be.cloud.fedoraproject.org/results/@python/python3.14/fedora-rawhide-x86_64/08193977-python-dataclassy/

For all our attempts to build python-dataclassy with Python 3.14, see:
https://copr.fedorainfracloud.org/coprs/g/python/python3.14/package/python-dataclassy/

Testing and mass rebuild of packages is happening in copr.
You can follow these instructions to test locally in mock if your package builds with Python 3.14:
https://copr.fedorainfracloud.org/coprs/g/python/python3.14/

Let us know here if you have any questions.

Python 3.14 is planned to be included in Fedora 43.
To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.14.
A build failure prevents us from testing all dependent packages (transitive [Build]Requires),
so if this package is required a lot, it's important for us to get it fixed soon.

We'd appreciate help from the people who know this package best,
but if you don't want to work on this now, let us know so we can try to work around it on our side.

Comment 1 Aoife Moloney 2025-02-26 13:15:47 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 42 development cycle.
Changing version to 42.

Comment 2 Karolina Surma 2025-06-11 15:58:16 UTC
*** Bug 2371853 has been marked as a duplicate of this bug. ***

Comment 3 Miro Hrončok 2025-08-25 11:08:54 UTC
Peter, you ASSIGNED this Bugzilla in November last year. What is the plan? The Beta Freeze of Fedora 43 starts tomorrow.

Comment 4 Miro Hrončok 2025-09-29 12:55:12 UTC
There is no reply in https://github.com/biqqles/dataclassy/issues/64 and the latest upstream commit is 3 years ago. Nothing in Fedora depends on this package.

I suggest we retire it from Fedora 43 and rawhide. It can be re-added later if fixed.