python-fs fails to build with Python 3.14.0a3. 9 test failures with a similar traceback: May be related to https://github.com/python/cpython/issues/125974 _________________________ TestOSFS.test_complex_geturl _________________________ self = <tests.test_osfs.TestOSFS testMethod=test_complex_geturl> def test_complex_geturl(self): self.fs.makedirs("foo/bar ha") test_fixtures = [ # test file, expected url path ["foo", "foo"], ["foo-bar", "foo-bar"], ["foo_bar", "foo_bar"], ["foo/bar ha/barz", "foo/bar%20ha/barz"], ["example b.txt", "example%20b.txt"], ["exampleã„“.txt", "example%E3%84%93.txt"], ] file_uri_prefix = "osfs://" for test_file, relative_url_path in test_fixtures: self.fs.create(test_file) expected = file_uri_prefix + self.fs.getsyspath(relative_url_path).replace( "\\", "/" ) actual = self.fs.geturl(test_file, purpose="fs") > self.assertEqual(actual, expected) E AssertionError: 'osfs://///tmp/tmppauy69swfstestosfs/foo' != 'osfs:///tmp/tmppauy69swfstestosfs/foo' E - osfs://///tmp/tmppauy69swfstestosfs/foo E ? -- E + osfs:///tmp/tmppauy69swfstestosfs/foo tests/test_osfs.py:227: AssertionError 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/08480210-python-fs/ For all our attempts to build python-fs with Python 3.14, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.14/package/python-fs/ 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.
This bug appears to have been reported against 'rawhide' during the Fedora Linux 42 development cycle. Changing version to 42.
*** Bug 2371911 has been marked as a duplicate of this bug. ***
Parag, could you please take a look at https://src.fedoraproject.org/rpms/python-fs/pull-request/7 ? It seems like it is the starting point for getting fonttools and related packages rebuilt for Python 3.14.