Bug 2256760 - python-lunr fails to build with Python 3.13: LookupError(resource_not_found), FileNotFoundError: [Errno 2] No such file or directory: 'node'
Summary: python-lunr fails to build with Python 3.13: LookupError(resource_not_found),...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-lunr
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Sandro Mani
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON3.13
TreeView+ depends on / blocked
 
Reported: 2024-01-04 11:45 UTC by Karolina Surma
Modified: 2024-01-30 08:29 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-01-30 08:29:54 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Karolina Surma 2024-01-04 11:45:43 UTC
python-lunr fails to build with Python 3.13.0a2 - test suite fails

=========================== short test summary info ============================
FAILED tests/acceptance_tests/test_language_support.py::test_languages_query_results_match_javascript_results
FAILED tests/acceptance_tests/test_language_support.py::test_js_serialized_lang_index_can_be_loaded_and_produces_same_results
FAILED tests/acceptance_tests/test_language_support.py::test_serialized_lang_index_can_be_loaded_in_js_and_produces_same_results
FAILED tests/acceptance_tests/test_language_support.py::test_serialized_multilang_index_can_be_loaded_in_js_and_results_equal
FAILED tests/acceptance_tests/test_mkdocs.py::test_mkdocs_produces_same_results
FAILED tests/acceptance_tests/test_mkdocs.py::test_js_serialized_index_can_be_loaded_and_produces_same_results
FAILED tests/acceptance_tests/test_mkdocs.py::test_serialized_index_can_be_loaded_in_js_and_produces_same_results
============ 7 failed, 296 passed, 5 deselected, 1 warning in 1.57s ============

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/06784087-python-lunr/

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

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 Sandro Mani 2024-01-30 08:29:54 UTC
Fixed in python-lunr-0.7.0.post1-3.fc40.


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