Changes between Version 3 and Version 4 of Python3


Ignore:
Timestamp:
04/05/2024 12:52:53 PM (5 weeks ago)
Author:
ken@…
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Python3

    v3 v4  
    66
    77However, if there is a new release of the same minor version (e.g. 3.12 to 3.12.1) you can just upgrade that and the existing modules should continue to work. Although current 3.10 is in 'bugfix' status, several of the previous series are still receiving security fixes (back to 3.8 in August 2023), see [https://www.python.org/downloads/source/]
     8
     9WARNING: On two LFS-12.0 machines where I have tried to update to Python-3.11.9 the builds stalled in different ways. Putting the output in a log to avoid cluttering the screen, nothing show apart from a few lines at the start about missing dependencies (_tkinter, nis). On one machine I interrupted the build with Ctrl-C and found it had run all the 483 initial tests, with some errors, and had then spent 1hr 28. On the other, 453 tests were ok then some messages about the interrupt. For a non-pythonista the reason for the stall was not clear, but the log ended
     10{{{
     112 re-run tests:
     12    test_embed test_threading
     13
     142 tests failed:
     15    test_embed test_threading
     16
     17453 tests OK.
     18
     19Test suite interrupted by signal SIGINT.
     20
     21Total duration: 2 hour 26 sec
     22Total tests: run=40,186 failures=4 skipped=1,225
     23Total test files: run=480/483 failed=2 skipped=23 resource_denied=3 rerun=2
     24Result: FAILURE, INTERRUPTED then FAILURE, INTERRUPTED
     25}}}
     26
     27Clearly, it would have kept on hanging if I had not killed it.
     28
     29This is supposed to include a vulnerability which was fixed in 3.10.14 in March.
     30