Bug 2576590
| Summary: | python-py-walk fails to build with Python 3.16: test_git_cases: assert True == False | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Karolina Surma <ksurma> |
| Component: | python-py-walk | Assignee: | Gwyn Ciesla <gwync> |
| Status: | NEW --- | QA Contact: | |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | gwync, ksurma, mhroncok |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | --- | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | Bug | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 2567340 | ||
python-py-walk fails to build with Python 3.16.0a2. _________________________ test_git_cases[git_tests117] _________________________ repo_path = PosixPath('/tmp/pytest-of-mockbuild/pytest-0/repo4') git_tests = ('[---]\n', '-', True) test_runner = <function test_runner.<locals>.inner_function at 0x7ff4b9539900> def test_git_cases(repo_path, git_tests, test_runner): """Run test cases originally created in the git project.""" # get patterns and path patterns, path, expected = git_tests git_result, lib_result = test_runner(repo_path, patterns, path) log.debug(f"Git result: {git_result}") log.debug(f"Lib result: {lib_result}") log.debug(f"Expected: {expected}") > assert git_result == lib_result E assert True == False tests/test_git_cases.py:13: AssertionError ------------------------------ Captured log call ------------------------------- DEBUG py_walk:conftest.py:57 -- Patterns: [---] DEBUG py_walk:conftest.py:58 -- Path: - DEBUG py_walk:parser.py:20 -- Regex building DEBUG py_walk:glob_to_regex.py:46 - token: CHARACTER_CLASS ([---]) DEBUG py_walk:character_class_to_regex.py:112 - cc token: BARE_START ([) DEBUG py_walk:character_class_to_regex.py:112 - cc token: RANGE (---) DEBUG py_walk:character_class_to_regex.py:112 - cc token: END (]) DEBUG py_walk:parser.py:22 Glob: [---] Parts: ['_', '(?!)'] DEBUG py_walk:parser.py:48 -- Matching path: - (is_dir: False) DEBUG py_walk:test_git_cases.py:10 Git result: True DEBUG py_walk:test_git_cases.py:11 Lib result: False DEBUG py_walk:test_git_cases.py:12 Expected: True https://docs.python.org/3.16/whatsnew/3.16.html For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/@python/python3.16/fedora-rawhide-x86_64/11359694-python-py-walk/ For all our attempts to build python-py-walk with Python 3.16, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.16/package/python-py-walk/ 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.16: https://copr.fedorainfracloud.org/coprs/g/python/python3.16/ Let us know here if you have any questions. Python 3.16 is planned to be included in Fedora 47. To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.16. 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.