Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.3k
Closed
Description
Bug report
In Fedora, when building Python 3.12.0a1 with Python 3.12.0a1 for regen, we found that regen-test-levenshtein fails. It is not necessary to use Python 3.12.0a1 for regen to trigger the failure:
To reproduce:
# from the root cpython directory$ mkdir outoftree$ cd outoftree$ ../configure$ make regen-test-levenshtein...# Regenerate Lib/test/levenshtein_examples.jsonpython3.10 ../Tools/build/generate_levenshtein_examples.py Lib/test/levenshtein_examples.jsonTraceback (most recent call last): File ".../cpython/outoftree/../Tools/build/generate_levenshtein_examples.py", line 70, in <module> main() File ".../cpython/outoftree/../Tools/build/generate_levenshtein_examples.py", line 65, in main with open(output_path, "w") as f:FileNotFoundError: [Errno 2] No such file or directory: '.../cpython/outoftree/Lib/test/levenshtein_examples.json'make: *** [Makefile:1092: regen-test-levenshtein] Error 1Your environment
- CPython versions tested on: Python 3.12.0a1 or the current main branch
- Operating system and architecture: Fedora Linux x86_64