Bug 2368527 - python-eth-stdlib fails to build in Copr: error: Bad file: /builddir/build/SOURCES/python-eth-stdlib-0004-Fix-for-modern-poetry.patch: No such file or directory
Summary: python-eth-stdlib fails to build in Copr: error: Bad file: /builddir/build/SO...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: python-eth-stdlib
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Peter Lemenkov
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: F43FTBFS
TreeView+ depends on / blocked
 
Reported: 2025-05-26 07:17 UTC by Karolina Surma
Modified: 2025-08-27 22:19 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Karolina Surma 2025-05-26 07:17:07 UTC
python-eth-stdlib fails to build with Python 3.14.0b1.

error: Bad file: /builddir/build/SOURCES/python-eth-stdlib-0004-Fix-for-modern-poetry.patch: No such file or directory

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-b1/fedora-rawhide-x86_64/09078548-python-eth-stdlib/

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

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-b1/

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 Miro Hrončok 2025-05-26 08:38:01 UTC
This is relevant for all Copr builds due to a conditional patch:

%if 0%{?fedora} > 42
Patch:         python-eth-stdlib-0004-Fix-for-modern-poetry.patch
%endif

This is forbidden in Fedora: https://docs.fedoraproject.org/en-US/packaging-guidelines/SourceURL/#_do_not_conditionalize_sources
And breaks Copr builds: https://github.com/fedora-copr/copr/issues/1315

Comment 2 Miro Hrončok 2025-08-27 22:19:04 UTC
No longer blocks the Python 3.14 rebuild but still valid.


Note You need to log in before you can comment on or make changes to this bug.