From 2099a878712978049d55318e8589e9e7af98b113 Mon Sep 17 00:00:00 2001 From: joborun Date: Fri, 7 Jun 2024 13:45:04 +0300 Subject: [PATCH] upg python 3.14 --- mkinitcpio/.gitignore | 1 + python/PKGBUILD | 24 +++++++--------- python/PKGBUILD-arch | 4 +-- python/failed.tests | 67 +++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 81 insertions(+), 15 deletions(-) create mode 100644 mkinitcpio/.gitignore create mode 100644 python/failed.tests diff --git a/mkinitcpio/.gitignore b/mkinitcpio/.gitignore new file mode 100644 index 0000000..f656c30 --- /dev/null +++ b/mkinitcpio/.gitignore @@ -0,0 +1 @@ +/0001-no-systemd.patch diff --git a/python/PKGBUILD b/python/PKGBUILD index 353a49b..24bb83a 100644 --- a/python/PKGBUILD +++ b/python/PKGBUILD @@ -8,7 +8,7 @@ shopt -s extglob pkgbase=python pkgname=(python python-tests) -pkgver=3.12.3 +pkgver=3.12.4 pkgrel=01 _pybasever=${pkgver%.*} pkgdesc="The Python programming language - ipv6 disabled " @@ -61,13 +61,10 @@ build() { } check() { - # test_tk: test_askcolor tkinter.test.test_tkinter.test_colorchooser.DefaultRootTest hangs - # test_pyexpat: our `debug` implementation rewrites source location, which breaks the build-time - # only test test.test_pyexpat.HandlerExceptionTest as it cannot find source file in - # the to-be-installed debug package - # test_socket: https://github.com/python/cpython/issues/79428 - # test_unittest: https://github.com/python/cpython/issues/108927 - # test_tkk: AssertionError: Tuples differ: (0,) != ('0',) +## +## see failed.tests for report on what failed in our building environment +## run makepkg -e --nocheck to complete building pkg +## cd Python-${pkgver} @@ -146,10 +143,11 @@ validpgpkeys=('0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D' # Ned Deily (Python re 'A035C8C19219BA821ECEA86B64E628F8D684696D' # Pablo Galindo Salgado '7169605F62C751356D054A26A821E680E5FA6305') # Thomas Wouters -sha256sums=(56bfef1fdfc1221ce6720e43a661e3eb41785dd914ce99698d8c7896af4bdaa1 # Python-3.12.3.tar.xz - 45cd37115adfab87341018fc7c8835da23d06925330a4c5f2dcf4876c484acaa # Python-3.12.3.tar.xz.asc +sha512sums=('750132ee6369196096130a924f4ddb78b9a55804133e5d136a70b9280928822974d1aa559d844486df02e89155fb0d8117871e1ac532abc18174309ca4b08369' + 'SKIP' + '62a6fbfbaeaa3ba7c54e109d9c3b7f67e73bb21986da4c1fcc5d28cca83d71e0fcae28e1fc70ee8ddce7dea8cd0b64e18d1031dae3a2eae5eaa379c53efd53a0') + +sha256sums=(f6d419a6d8743ab26700801b4908d26d97e8b986e14f95de31b32de2b0e79554 # Python-3.12.4.tar.xz + 718bd5b4d156abacd7550e2bda9025bae6cae33dd64a7852251271bc08316d59 # Python-3.12.4.tar.xz.asc c07b94bf7dcbe7be5ba0cee29971a005a5be65002cbfb59c5a8f661fa92aa82f) # EXTERNALLY-MANAGED -## b91860d994044659370c22709c71656e8e9609b7679b0f9bfbe072aa007b659e python-3.12.3-01-x86_64.pkg.tar.lz -## 7cff905a68337dcc2712f2300b3dffcc56c89b01c187b0a12b9d9c523139919e python-tests-3.12.3-01-x86_64.pkg.tar.lz - diff --git a/python/PKGBUILD-arch b/python/PKGBUILD-arch index b1d4ca5..248f058 100644 --- a/python/PKGBUILD-arch +++ b/python/PKGBUILD-arch @@ -9,7 +9,7 @@ shopt -s extglob pkgbase=python pkgname=(python python-tests) -pkgver=3.12.3 +pkgver=3.12.4 pkgrel=1 _pybasever=${pkgver%.*} pkgdesc="The Python programming language" @@ -20,7 +20,7 @@ depends=('bzip2' 'expat' 'gdbm' 'libffi' 'libnsl' 'libxcrypt' 'openssl' 'zlib' ' makedepends=('tk' 'sqlite' 'bluez-libs' 'llvm' 'gdb' 'xorg-server-xvfb' 'ttf-font') source=("https://www.python.org/ftp/python/${pkgver%rc*}/Python-${pkgver}.tar.xz"{,.asc} EXTERNALLY-MANAGED) -sha512sums=('4a2213b108e7f1f1525baa8348e68b2a2336d925e60d0a59f0225fc470768a2c8031edafc0b8243f94dbae18afda335ee5adf2785328c2218fd64cbb439f13a4' +sha512sums=('750132ee6369196096130a924f4ddb78b9a55804133e5d136a70b9280928822974d1aa559d844486df02e89155fb0d8117871e1ac532abc18174309ca4b08369' 'SKIP' '62a6fbfbaeaa3ba7c54e109d9c3b7f67e73bb21986da4c1fcc5d28cca83d71e0fcae28e1fc70ee8ddce7dea8cd0b64e18d1031dae3a2eae5eaa379c53efd53a0') validpgpkeys=('0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D' # Ned Deily (Python release signing key) diff --git a/python/failed.tests b/python/failed.tests new file mode 100644 index 0000000..973b8de --- /dev/null +++ b/python/failed.tests @@ -0,0 +1,67 @@ +3.12.2 + +1 test failed: + test_signal + +465 tests OK. + +Total duration: 22 min 58 sec +Total tests: run=40,515 skipped=1,070 +Total test files: run=482/483 failed=1 skipped=16 resource_denied=1 + +---------------- +3.12.3 + +Ran 187 tests in 0.274s + +OK (skipped=26) + +== Tests result: FAILURE == + +16 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_devpoll test_kqueue test_launcher test_msilib test_startfile + test_winconsoleio test_winreg test_winsound test_wmi + +1 test skipped (resource denied): + test_zipfile64 + +1 test failed: + test_signal + +465 tests OK. + +Total duration: 23 min 4 sec + +---------------------------------------------------------------------- +3.12.4 + +Ran 187 tests in 0.283s + +OK (skipped=26) + +== Tests result: FAILURE == + +17 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_devpoll test_kqueue test_launcher test_msilib test_startfile + test_winapi test_winconsoleio test_winreg test_winsound test_wmi + +1 test skipped (resource denied): + test_zipfile64 + +1 test failed: + test_signal + +465 tests OK. + +Total duration: 22 min 56 sec +Total tests: run=40,830 skipped=1,084 +Total test files: run=483/484 failed=1 skipped=17 resource_denied=1 +