-
-
Notifications
You must be signed in to change notification settings - Fork 31k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fail to run tests for peg generator under Python 3.11.4 #108969
Comments
I checked and the file distutils.test was not found anywhere on my system |
distutils was removed in python 3.12. Could it be that you are running the 3.11 test suite with a 3.12 python? |
This seems stale, but I ran into it today. (I built and tested 3.11 alongside other versions on a regular basis.) I am just executing
This is in my 3.11 repo with no changes. I'm not sure why
The full failing import also succeeds at the interpreter prompt:
It's almost as if |
That sounds a lot like |
The question would then be what changed with
and it still failed. It wouldn't seem to be anything obvious with a recent version of My day-to-day box is a MacBook Pro M1. I tried the same experiment on my old Dell laptop (running up-to-date XUbuntu 22.04). The test succeeded. It's not at all obvious to me why this test might be platform- or architecture-dependent. That I can get it to fail so far back in time (when it has routinely been succeeding for me until the past day or two) suggests maybe a change in the external tool chain is (partly?) to blame. |
Indeed, Running the tests with a freshly built 3.11 without setuptools succeeds.It's only after running There's always the work-around of setting the
I'm not sure if we want to take any further action here, and if we do, it's probably something that should be fixed on the setuptools side. |
Ah, that rings a bell! I only recently installed my 3.11 build because I wanted to |
I removed my locally installed Python 3.11 and tried again. The test suite ran without error. |
The "test_peg_generator" test is also failing for Python-3.12.4.
Logs:
|
@thehedhly Can you try with the latest 3.12.X? |
Closince as |
Bug report
Bug description:
I am running Python 3.11.4 on Ubuntu 22.04.3 and experienced the following test failure when trying to compile Python 3.11.5. Every sub-test for the peg generator failed with the same error status:
ModuleNotFoundError: No module named 'distutils.tests'
I followed the procedure described below:
I have been unable to attach the log file as it is too big (2000+) lines but it is stored on my system and when I can find a way it can be supplied.
CPython versions tested on:
3.11
Operating systems tested on:
Linux
Some notes:
The text was updated successfully, but these errors were encountered: