Bug 2279995 - linkchecker fails to build with Python 3.13: AssertionError: tests/checker/data/file.markdown: warning The URL with content type 'text/markdown' is not parseable.
Summary: linkchecker fails to build with Python 3.13: AssertionError: tests/checker/da...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: linkchecker
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miro Hrončok
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON3.13
TreeView+ depends on / blocked
 
Reported: 2024-05-10 12:14 UTC by Karolina Surma
Modified: 2024-06-06 13:53 UTC (History)
7 users (show)

Fixed In Version: linkchecker-10.4.0-2.fc41
Clone Of:
Environment:
Last Closed: 2024-06-06 13:53:22 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Fedora Package Sources linkchecker pull-request 15 0 None None None 2024-06-06 09:19:34 UTC

Description Karolina Surma 2024-05-10 12:14:06 UTC
linkchecker fails to build with Python 3.13.0b1.

=================================== FAILURES ===================================
____________________________ TestFile.test_markdown ____________________________
[gw1] linux -- Python 3.13.0 /usr/bin/python3
tests/checker/test_file.py:90: in test_markdown
    self.file_test("file.markdown", confargs=confargs)
tests/checker/__init__.py:252: in file_test
    self.fail(msg)
E   AssertionError: tests/checker/data/file.markdown
E   --- expected
E   +++ result
E   @@ -2,7 +2,7 @@
E    cache key file:///builddir/build/BUILD/LinkChecker-10.3.0/tests/checker/data/file.markdown
E    real url file:///builddir/build/BUILD/LinkChecker-10.3.0/tests/checker/data/file.markdown
E    name tests/checker/data/file.markdown
E   -warning The URL with content type 'application/octet-stream' is not parseable.
E   +warning The URL with content type 'text/markdown' is not parseable.
E    valid
E    url http://url.example.com
E    cache key http://url.example.com

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/07433928-linkchecker/

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

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.


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