Bug 2278640 - jrnl fails to build with Python 3.13: ERROR: Package 'jrnl' requires a different Python: 3.13.0 not in '<3.13,>=3.10.0'
Summary: jrnl fails to build with Python 3.13: ERROR: Package 'jrnl' requires a differ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: jrnl
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ben Beasley
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON3.13
TreeView+ depends on / blocked
 
Reported: 2024-05-02 14:14 UTC by Karolina Surma
Modified: 2024-05-02 20:48 UTC (History)
3 users (show)

Fixed In Version: jrnl-4.1-5.fc41
Clone Of:
Environment:
Last Closed: 2024-05-02 20:48:20 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Karolina Surma 2024-05-02 14:14:14 UTC
jrnl fails to build with Python 3.13.0a6.

+ /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /builddir/build/BUILD/jrnl-4.1/pyproject-wheeldir
Processing /builddir/build/BUILD/jrnl-4.1
  Preparing metadata (pyproject.toml): started
  Running command Preparing metadata (pyproject.toml)
  Preparing metadata (pyproject.toml): finished with status 'done'
INFO: pip is looking at multiple versions of jrnl to determine which version is compatible with other requirements. This could take a while.
ERROR: Package 'jrnl' requires a different Python: 3.13.0 not in '<3.13,>=3.10.0'

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

For the build logs, see:
https://copr-be.cloud.fedoraproject.org/results/@python/python3.13/fedora-rawhide-x86_64/07393490-jrnl/

For all our attempts to build jrnl with Python 3.13, see:
https://copr.fedorainfracloud.org/coprs/g/python/python3.13/package/jrnl/

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.13:
https://copr.fedorainfracloud.org/coprs/g/python/python3.13/

Let us know here if you have any questions.

Python 3.13 is planned to be included in Fedora 41.
To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.13.
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 Ben Beasley 2024-05-02 14:27:25 UTC
This is from

[tool.poetry.dependencies]
python = ">=3.10.0, <3.13"

in pyproject.toml.

Hopefully the practice of upper-bounding the Python version instead of using something like "^3.10.0" is not widespread, or a lot of patching is going to be needed.

Comment 2 Fedora Update System 2024-05-02 14:39:43 UTC
FEDORA-2024-f219ccab54 (jrnl-4.1-5.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-f219ccab54

Comment 3 Fedora Update System 2024-05-02 20:48:20 UTC
FEDORA-2024-f219ccab54 (jrnl-4.1-5.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.


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