diff mbox series

python3: upgrade 3.13.2 -> 3.13.3

Message ID 20250423162714.2261296-1-tgamblin@baylibre.com
State New
Headers show
Series python3: upgrade 3.13.2 -> 3.13.3 | expand

Commit Message

Trevor Gamblin April 23, 2025, 4:27 p.m. UTC
This adds some security fixes and many new changes to the library.

Changelog: https://docs.python.org/3/whatsnew/changelog.html#python-3-13-3-final

Reproducibility looks OK.

ptest results OK:

|----------------------------------------------------------------------
|Ran 81 tests in 4.331s
|
|OK (skipped=2)
|
|== Tests result: SUCCESS ==
|
|29 tests skipped:
|    test.test_asyncio.test_windows_events
|    test.test_asyncio.test_windows_utils test.test_gdb.test_backtrace
|    test.test_gdb.test_cfunction test.test_gdb.test_cfunction_full
|    test.test_gdb.test_misc test.test_gdb.test_pretty_print
|    test_android test_apple test_asdl_parser test_clinic test_devpoll
|    test_free_threading test_generated_cases test_idle test_ioctl
|    test_kqueue test_launcher test_msvcrt test_startfile test_tcl
|    test_tkinter test_ttk test_ttk_textonly test_turtle test_winapi
|    test_winconsoleio test_winreg test_wmi
|
|9 tests skipped (resource denied):
|    test_curses test_peg_generator test_pyrepl test_smtpnet
|    test_socketserver test_urllib2net test_urllibnet test_winsound
|    test_zipfile64
|
|442 tests OK.
|
|Total duration: 2 min 51 sec
|Total tests: run=43,896 skipped=2,268
|Total test files: run=471/480 skipped=29 resource_denied=9
|Result: SUCCESS
|DURATION: 171
|END: /usr/lib/python3/ptest
|2025-04-15T17:54
|STOP: ptest-runner
|TOTAL: 1 FAIL: 0

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
---
 .../python/{python3_3.13.2.bb => python3_3.13.3.bb}             | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/python/{python3_3.13.2.bb => python3_3.13.3.bb} (99%)

Comments

Mathieu Dubois-Briand April 25, 2025, 11:33 a.m. UTC | #1
On Wed Apr 23, 2025 at 6:27 PM CEST, Trevor Gamblin wrote:
> This adds some security fixes and many new changes to the library.
>
> Changelog: https://docs.python.org/3/whatsnew/changelog.html#python-3-13-3-final
>
> Reproducibility looks OK.
>
> ptest results OK:
>
> |----------------------------------------------------------------------
> |Ran 81 tests in 4.331s
> |
> |OK (skipped=2)
> |
> |== Tests result: SUCCESS ==
> |
> |29 tests skipped:
> |    test.test_asyncio.test_windows_events
> |    test.test_asyncio.test_windows_utils test.test_gdb.test_backtrace
> |    test.test_gdb.test_cfunction test.test_gdb.test_cfunction_full
> |    test.test_gdb.test_misc test.test_gdb.test_pretty_print
> |    test_android test_apple test_asdl_parser test_clinic test_devpoll
> |    test_free_threading test_generated_cases test_idle test_ioctl
> |    test_kqueue test_launcher test_msvcrt test_startfile test_tcl
> |    test_tkinter test_ttk test_ttk_textonly test_turtle test_winapi
> |    test_winconsoleio test_winreg test_wmi
> |
> |9 tests skipped (resource denied):
> |    test_curses test_peg_generator test_pyrepl test_smtpnet
> |    test_socketserver test_urllib2net test_urllibnet test_winsound
> |    test_zipfile64
> |
> |442 tests OK.
> |
> |Total duration: 2 min 51 sec
> |Total tests: run=43,896 skipped=2,268
> |Total test files: run=471/480 skipped=29 resource_denied=9
> |Result: SUCCESS
> |DURATION: 171
> |END: /usr/lib/python3/ptest
> |2025-04-15T17:54
> |STOP: ptest-runner
> |TOTAL: 1 FAIL: 0
>
> Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
> ---

Hi Trevor,

Thanks for your patch.

I believe we do have some build errors on the autobuilder:

ERROR: nativesdk-python3-3.13.3-r0 do_compile: oe_runmake failed
ERROR: nativesdk-python3-3.13.3-r0 do_compile: Execution of '/srv/pokybuild/yocto-worker/buildtools/build/build/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-python3/3.13.3/temp/run.do_compile.477475' failed with exit code 1
ERROR: Logfile of failure stored in: /srv/pokybuild/yocto-worker/buildtools/build/build/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-python3/3.13.3/temp/log.do_compile.477475
Log data follows:
...
| 0:00:01 load avg: 8.37 [4/4] test_types
| test test_types failed
| 0:00:04 load avg: 9.14 [4/4] test_types failed (1 failure)
|
| Total duration: 4.1 sec
| Total tests: run=321 failures=1 skipped=1
| Total test files: run=4/4 failed=1
| Result: FAILURE
| make: *** [Makefile:897: profile-run-stamp] Error 2
| ERROR: oe_runmake failed
| WARNING: /srv/pokybuild/yocto-worker/buildtools/build/build/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-python3/3.13.3/temp/run.do_compile.477475:195 exit 1 from 'exit 1'
| WARNING: Backtrace (BB generated script):
| 	#1: bbfatal_log, /srv/pokybuild/yocto-worker/buildtools/build/build/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-python3/3.13.3/temp/run.do_compile.477475, line 195
| 	#2: die, /srv/pokybuild/yocto-worker/buildtools/build/build/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-python3/3.13.3/temp/run.do_compile.477475, line 179
| 	#3: oe_runmake, /srv/pokybuild/yocto-worker/buildtools/build/build/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-python3/3.13.3/temp/run.do_compile.477475, line 174
| 	#4: autotools_do_compile, /srv/pokybuild/yocto-worker/buildtools/build/build/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-python3/3.13.3/temp/run.do_compile.477475, line 157
| 	#5: do_compile, /srv/pokybuild/yocto-worker/buildtools/build/build/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-python3/3.13.3/temp/run.do_compile.477475, line 152
| 	#6: main, /srv/pokybuild/yocto-worker/buildtools/build/build/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-python3/3.13.3/temp/run.do_compile.477475, line 208
NOTE: recipe nativesdk-python3-3.13.3-r0: task do_compile: Failed
ERROR: Task (virtual:nativesdk:/srv/pokybuild/yocto-worker/buildtools/build/meta/recipes-devtools/python/python3_3.13.3.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 4197 tasks of which 4029 didn't need to be rerun and 1 failed.
NOTE: The errors for this build are stored in /srv/pokybuild/yocto-worker/buildtools/build/build/tmp/log/error-report/error_report_20250425111940.txt
You can send the errors to a reports server by running:
  send-error-report /srv/pokybuild/yocto-worker/buildtools/build/build/tmp/log/error-report/error_report_20250425111940.txt [-s server]
NOTE: The contents of these logs will be posted in public if you use the above command with the default server. Please ensure you remove any identifying or proprietary information when prompted before sending.

https://autobuilder.yoctoproject.org/valkyrie/#/builders/43/builds/1461/steps/11/logs/stdio

Can you have a look at the issue please?
Trevor Gamblin May 5, 2025, 7:47 p.m. UTC | #2
On 2025-04-25 07:33, Mathieu Dubois-Briand wrote:
> On Wed Apr 23, 2025 at 6:27 PM CEST, Trevor Gamblin wrote:
>> This adds some security fixes and many new changes to the library.
>>
>> Changelog: https://docs.python.org/3/whatsnew/changelog.html#python-3-13-3-final
>>
>> Reproducibility looks OK.
>>
>> ptest results OK:
>>
>> |----------------------------------------------------------------------
>> |Ran 81 tests in 4.331s
>> |
>> |OK (skipped=2)
>> |
>> |== Tests result: SUCCESS ==
>> |
>> |29 tests skipped:
>> |    test.test_asyncio.test_windows_events
>> |    test.test_asyncio.test_windows_utils test.test_gdb.test_backtrace
>> |    test.test_gdb.test_cfunction test.test_gdb.test_cfunction_full
>> |    test.test_gdb.test_misc test.test_gdb.test_pretty_print
>> |    test_android test_apple test_asdl_parser test_clinic test_devpoll
>> |    test_free_threading test_generated_cases test_idle test_ioctl
>> |    test_kqueue test_launcher test_msvcrt test_startfile test_tcl
>> |    test_tkinter test_ttk test_ttk_textonly test_turtle test_winapi
>> |    test_winconsoleio test_winreg test_wmi
>> |
>> |9 tests skipped (resource denied):
>> |    test_curses test_peg_generator test_pyrepl test_smtpnet
>> |    test_socketserver test_urllib2net test_urllibnet test_winsound
>> |    test_zipfile64
>> |
>> |442 tests OK.
>> |
>> |Total duration: 2 min 51 sec
>> |Total tests: run=43,896 skipped=2,268
>> |Total test files: run=471/480 skipped=29 resource_denied=9
>> |Result: SUCCESS
>> |DURATION: 171
>> |END: /usr/lib/python3/ptest
>> |2025-04-15T17:54
>> |STOP: ptest-runner
>> |TOTAL: 1 FAIL: 0
>>
>> Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
>> ---
> Hi Trevor,
>
> Thanks for your patch.
>
> I believe we do have some build errors on the autobuilder:
>
> ERROR: nativesdk-python3-3.13.3-r0 do_compile: oe_runmake failed
> ERROR: nativesdk-python3-3.13.3-r0 do_compile: Execution of '/srv/pokybuild/yocto-worker/buildtools/build/build/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-python3/3.13.3/temp/run.do_compile.477475' failed with exit code 1
> ERROR: Logfile of failure stored in: /srv/pokybuild/yocto-worker/buildtools/build/build/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-python3/3.13.3/temp/log.do_compile.477475
> Log data follows:
> ...
> | 0:00:01 load avg: 8.37 [4/4] test_types
> | test test_types failed
> | 0:00:04 load avg: 9.14 [4/4] test_types failed (1 failure)
> |
> | Total duration: 4.1 sec
> | Total tests: run=321 failures=1 skipped=1
> | Total test files: run=4/4 failed=1
> | Result: FAILURE
> | make: *** [Makefile:897: profile-run-stamp] Error 2
> | ERROR: oe_runmake failed
> | WARNING: /srv/pokybuild/yocto-worker/buildtools/build/build/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-python3/3.13.3/temp/run.do_compile.477475:195 exit 1 from 'exit 1'
> | WARNING: Backtrace (BB generated script):
> | 	#1: bbfatal_log, /srv/pokybuild/yocto-worker/buildtools/build/build/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-python3/3.13.3/temp/run.do_compile.477475, line 195
> | 	#2: die, /srv/pokybuild/yocto-worker/buildtools/build/build/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-python3/3.13.3/temp/run.do_compile.477475, line 179
> | 	#3: oe_runmake, /srv/pokybuild/yocto-worker/buildtools/build/build/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-python3/3.13.3/temp/run.do_compile.477475, line 174
> | 	#4: autotools_do_compile, /srv/pokybuild/yocto-worker/buildtools/build/build/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-python3/3.13.3/temp/run.do_compile.477475, line 157
> | 	#5: do_compile, /srv/pokybuild/yocto-worker/buildtools/build/build/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-python3/3.13.3/temp/run.do_compile.477475, line 152
> | 	#6: main, /srv/pokybuild/yocto-worker/buildtools/build/build/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-python3/3.13.3/temp/run.do_compile.477475, line 208
> NOTE: recipe nativesdk-python3-3.13.3-r0: task do_compile: Failed
> ERROR: Task (virtual:nativesdk:/srv/pokybuild/yocto-worker/buildtools/build/meta/recipes-devtools/python/python3_3.13.3.bb:do_compile) failed with exit code '1'
> NOTE: Tasks Summary: Attempted 4197 tasks of which 4029 didn't need to be rerun and 1 failed.
> NOTE: The errors for this build are stored in /srv/pokybuild/yocto-worker/buildtools/build/build/tmp/log/error-report/error_report_20250425111940.txt
> You can send the errors to a reports server by running:
>    send-error-report /srv/pokybuild/yocto-worker/buildtools/build/build/tmp/log/error-report/error_report_20250425111940.txt [-s server]
> NOTE: The contents of these logs will be posted in public if you use the above command with the default server. Please ensure you remove any identifying or proprietary information when prompted before sending.
>
> https://autobuilder.yoctoproject.org/valkyrie/#/builders/43/builds/1461/steps/11/logs/stdio
Was this the only occurrence? As usual, I am having trouble reproducing 
this locally...
>
> Can you have a look at the issue please?
>
Trevor Gamblin May 5, 2025, 7:49 p.m. UTC | #3
On 2025-05-05 15:47, Trevor Gamblin via lists.openembedded.org wrote:
>
> On 2025-04-25 07:33, Mathieu Dubois-Briand wrote:
>> On Wed Apr 23, 2025 at 6:27 PM CEST, Trevor Gamblin wrote:
>>> This adds some security fixes and many new changes to the library.
>>>
>>> Changelog: 
>>> https://docs.python.org/3/whatsnew/changelog.html#python-3-13-3-final
>>>
>>> Reproducibility looks OK.
>>>
>>> ptest results OK:
>>>
>>> |----------------------------------------------------------------------
>>> |Ran 81 tests in 4.331s
>>> |
>>> |OK (skipped=2)
>>> |
>>> |== Tests result: SUCCESS ==
>>> |
>>> |29 tests skipped:
>>> |    test.test_asyncio.test_windows_events
>>> |    test.test_asyncio.test_windows_utils test.test_gdb.test_backtrace
>>> |    test.test_gdb.test_cfunction test.test_gdb.test_cfunction_full
>>> |    test.test_gdb.test_misc test.test_gdb.test_pretty_print
>>> |    test_android test_apple test_asdl_parser test_clinic test_devpoll
>>> |    test_free_threading test_generated_cases test_idle test_ioctl
>>> |    test_kqueue test_launcher test_msvcrt test_startfile test_tcl
>>> |    test_tkinter test_ttk test_ttk_textonly test_turtle test_winapi
>>> |    test_winconsoleio test_winreg test_wmi
>>> |
>>> |9 tests skipped (resource denied):
>>> |    test_curses test_peg_generator test_pyrepl test_smtpnet
>>> |    test_socketserver test_urllib2net test_urllibnet test_winsound
>>> |    test_zipfile64
>>> |
>>> |442 tests OK.
>>> |
>>> |Total duration: 2 min 51 sec
>>> |Total tests: run=43,896 skipped=2,268
>>> |Total test files: run=471/480 skipped=29 resource_denied=9
>>> |Result: SUCCESS
>>> |DURATION: 171
>>> |END: /usr/lib/python3/ptest
>>> |2025-04-15T17:54
>>> |STOP: ptest-runner
>>> |TOTAL: 1 FAIL: 0
>>>
>>> Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
>>> ---
>> Hi Trevor,
>>
>> Thanks for your patch.
>>
>> I believe we do have some build errors on the autobuilder:
>>
>> ERROR: nativesdk-python3-3.13.3-r0 do_compile: oe_runmake failed
>> ERROR: nativesdk-python3-3.13.3-r0 do_compile: Execution of 
>> '/srv/pokybuild/yocto-worker/buildtools/build/build/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-python3/3.13.3/temp/run.do_compile.477475' 
>> failed with exit code 1
>> ERROR: Logfile of failure stored in: 
>> /srv/pokybuild/yocto-worker/buildtools/build/build/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-python3/3.13.3/temp/log.do_compile.477475
>> Log data follows:
>> ...
>> | 0:00:01 load avg: 8.37 [4/4] test_types
>> | test test_types failed
>> | 0:00:04 load avg: 9.14 [4/4] test_types failed (1 failure)
>> |
>> | Total duration: 4.1 sec
>> | Total tests: run=321 failures=1 skipped=1
>> | Total test files: run=4/4 failed=1
>> | Result: FAILURE
>> | make: *** [Makefile:897: profile-run-stamp] Error 2
>> | ERROR: oe_runmake failed
>> | WARNING: 
>> /srv/pokybuild/yocto-worker/buildtools/build/build/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-python3/3.13.3/temp/run.do_compile.477475:195 
>> exit 1 from 'exit 1'
>> | WARNING: Backtrace (BB generated script):
>> |     #1: bbfatal_log, 
>> /srv/pokybuild/yocto-worker/buildtools/build/build/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-python3/3.13.3/temp/run.do_compile.477475, 
>> line 195
>> |     #2: die, 
>> /srv/pokybuild/yocto-worker/buildtools/build/build/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-python3/3.13.3/temp/run.do_compile.477475, 
>> line 179
>> |     #3: oe_runmake, 
>> /srv/pokybuild/yocto-worker/buildtools/build/build/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-python3/3.13.3/temp/run.do_compile.477475, 
>> line 174
>> |     #4: autotools_do_compile, 
>> /srv/pokybuild/yocto-worker/buildtools/build/build/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-python3/3.13.3/temp/run.do_compile.477475, 
>> line 157
>> |     #5: do_compile, 
>> /srv/pokybuild/yocto-worker/buildtools/build/build/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-python3/3.13.3/temp/run.do_compile.477475, 
>> line 152
>> |     #6: main, 
>> /srv/pokybuild/yocto-worker/buildtools/build/build/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-python3/3.13.3/temp/run.do_compile.477475, 
>> line 208
>> NOTE: recipe nativesdk-python3-3.13.3-r0: task do_compile: Failed
>> ERROR: Task 
>> (virtual:nativesdk:/srv/pokybuild/yocto-worker/buildtools/build/meta/recipes-devtools/python/python3_3.13.3.bb:do_compile) 
>> failed with exit code '1'
>> NOTE: Tasks Summary: Attempted 4197 tasks of which 4029 didn't need 
>> to be rerun and 1 failed.
>> NOTE: The errors for this build are stored in 
>> /srv/pokybuild/yocto-worker/buildtools/build/build/tmp/log/error-report/error_report_20250425111940.txt
>> You can send the errors to a reports server by running:
>>    send-error-report 
>> /srv/pokybuild/yocto-worker/buildtools/build/build/tmp/log/error-report/error_report_20250425111940.txt 
>> [-s server]
>> NOTE: The contents of these logs will be posted in public if you use 
>> the above command with the default server. Please ensure you remove 
>> any identifying or proprietary information when prompted before sending.
>>
>> https://autobuilder.yoctoproject.org/valkyrie/#/builders/43/builds/1461/steps/11/logs/stdio 
>>
> Was this the only occurrence? As usual, I am having trouble 
> reproducing this locally...
Scrap that, I got it...
>>
>> Can you have a look at the issue please?
>>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#216018): https://lists.openembedded.org/g/openembedded-core/message/216018
> Mute This Topic: https://lists.openembedded.org/mt/112417405/7611679
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [tgamblin@baylibre.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
diff mbox series

Patch

diff --git a/meta/recipes-devtools/python/python3_3.13.2.bb b/meta/recipes-devtools/python/python3_3.13.3.bb
similarity index 99%
rename from meta/recipes-devtools/python/python3_3.13.2.bb
rename to meta/recipes-devtools/python/python3_3.13.3.bb
index 0f0505c66c7..4977808cd30 100644
--- a/meta/recipes-devtools/python/python3_3.13.2.bb
+++ b/meta/recipes-devtools/python/python3_3.13.3.bb
@@ -36,7 +36,7 @@  SRC_URI:append:class-native = " \
            file://0001-Lib-sysconfig.py-use-prefix-value-from-build-configu.patch \
            "
 
-SRC_URI[sha256sum] = "d984bcc57cd67caab26f7def42e523b1c015bbc5dc07836cf4f0b63fa159eb56"
+SRC_URI[sha256sum] = "40f868bcbdeb8149a3149580bb9bfd407b3321cd48f0be631af955ac92c0e041"
 
 # exclude pre-releases for both python 2.x and 3.x
 UPSTREAM_CHECK_REGEX = "[Pp]ython-(?P<pver>\d+(\.\d+)+).tar"