pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang



Module Name:    pkgsrc
Committed By:   adam
Date:           Sat Jan 15 16:23:47 UTC 2022

Modified Files:
        pkgsrc/lang/py310-html-docs: Makefile distinfo
        pkgsrc/lang/python310: Makefile dist.mk distinfo
        pkgsrc/lang/python310/patches: patch-configure

Log Message:
python310 py310-html-docs: updated to 3.10.2

Python 3.10.2 final

Core and Builtins

bpo-46347: Fix memory leak in PyEval_EvalCodeEx.
bpo-46289: ASDL declaration of FormattedValue has changed to reflect conversion field is not optional.
bpo-46237: Fix the line number of tokenizer errors inside f-strings. Patch by Pablo Galindo.
bpo-46006: Fix a regression when a type method like __init__() is modified in a subinterpreter. Fix a regression in _PyUnicode_EqualToASCIIId() and type update_slot(). Revert the change which made 
the Unicode dictionary of interned strings compatible with subinterpreters: the internal interned dictionary is shared again by all interpreters. Patch by Victor Stinner.
bpo-46085: Fix iterator cache mechanism of OrderedDict.
bpo-46110: Add a maximum recursion check to the PEG parser to avoid stack overflow. Patch by Pablo Galindo
bpo-46054: Fix parser error when parsing non-utf8 characters in source files. Patch by Pablo Galindo.
bpo-46042: Improve the location of the caret in SyntaxError exceptions emitted by the symbol table. Patch by Pablo Galindo.
bpo-46025: Fix a crash in the atexit module involving functions that unregister themselves before raising exceptions. Patch by Pablo Galindo.
bpo-46009: Restore behavior from 3.9 and earlier when sending non-None to newly started generator. In 3.9 this did not affect the state of the generator. In 3.10.0 and 3.10.1 gen_func().send(0) is 
equivalent to gen_func().throw(TypeError(...) which exhausts the generator. In 3.10.2 onward, the behavior has been reverted to that of 3.9.
bpo-46000: Improve compatibility of the curses module with NetBSD curses.
bpo-46004: Fix the SyntaxError location for errors involving for loops with invalid targets. Patch by Pablo Galindo
bpo-42918: Fix bug where the built-in compile() function did not always raise a SyntaxError when passed multiple statements in ‘single’ mode. Patch by Weipeng Hong.

Library

bpo-40479: Fix hashlib usedforsecurity option to work correctly with OpenSSL 3.0.0 in FIPS mode.
bpo-46070: Fix possible segfault when importing the asyncio module from different sub-interpreters in parallel. Patch by Erlend E. Aasland.
bpo-46278: Reflect context argument in AbstractEventLoop.call_*() methods. Loop implementations already support it.
bpo-46239: Improve error message when importing asyncio.windows_events on non-Windows.
bpo-20369: concurrent.futures.wait() no longer blocks forever when given duplicate Futures. Patch by Kumar Aditya.
bpo-46105: Honor spec when generating requirement specs with urls and extras (importlib_metadata 4.8.3).
bpo-26952: argparse raises ValueError with clear message when trying to render usage for an empty mutually-exclusive group. Previously it raised a cryptic IndexError.
bpo-27718: Fix help for the signal module. Some functions (e.g. signal() and getsignal()) were omitted.
bpo-46032: The registry() method of functools.singledispatch() functions checks now the first argument or the first parameter annotation and raises a TypeError if it is not supported. Previously 
unsupported “types” were ignored (e.g. typing.List[int]) or caused an error at calling time (e.g. list[int]).
bpo-46018: Ensure that math.expm1() does not raise on underflow.
bpo-45755: typing generic aliases now reveal the class attributes of the original generic class when passed to dir(). This was the behavior up to Python 3.6, but was changed in 3.7-3.9.
bpo-13236: unittest.TextTestResult and unittest.TextTestRunner flush now the output stream more often.
bpo-42378: Fixes the issue with log file being overwritten when logging.FileHandler is used in atexit with filemode set to 'w'. Note this will cause the message in atexit not being logged if the log 
stream is already closed due to shutdown of logging.

Documentation

bpo-46120: State that | is preferred for readability over Union in the typing docs.
bpo-46040: Fix removal Python version for @asyncio.coroutine, the correct value is 3.11.
bpo-19737: Update the documentation for the globals() function.
bpo-45840: Improve cross-references in the documentation for the data model.

Tests

bpo-46205: Fix hang in runtest_mp due to race condition
bpo-46263: Fix test_capi on FreeBSD 14-dev: instruct jemalloc to not fill freed memory with junk byte.
bpo-46150: Now fakename in test_pathlib.PosixPathTest.test_expanduser is checked to be non-existent.
bpo-46129: Rewrite asyncio.locks tests with unittest.IsolatedAsyncioTestCase usage.
bpo-46114: Fix test case for OpenSSL 3.0.1 version. OpenSSL 3.0 uses 0xMNN00PP0L.

Build

bpo-46263: configure no longer sets MULTIARCH on FreeBSD platforms.
bpo-46106: Updated OpenSSL to 1.1.1m in Windows builds, macOS installer builds, and CI. Patch by Kumar Aditya.

macOS

bpo-40477: The Python Launcher app for macOS now properly launches scripts and, if necessary, the Terminal app when running on recent macOS releases.

C API

bpo-46236: Fix a bug in PyFunction_GetAnnotations() that caused it to return a tuple instead of a dict.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/lang/py310-html-docs/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/lang/py310-html-docs/distinfo
cvs rdiff -u -r1.6 -r1.7 pkgsrc/lang/python310/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/lang/python310/dist.mk
cvs rdiff -u -r1.10 -r1.11 pkgsrc/lang/python310/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/lang/python310/patches/patch-configure

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/py310-html-docs/Makefile
diff -u pkgsrc/lang/py310-html-docs/Makefile:1.2 pkgsrc/lang/py310-html-docs/Makefile:1.3
--- pkgsrc/lang/py310-html-docs/Makefile:1.2    Tue Dec  7 09:31:31 2021
+++ pkgsrc/lang/py310-html-docs/Makefile        Sat Jan 15 16:23:47 2022
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.2 2021/12/07 09:31:31 adam Exp $
+# $NetBSD: Makefile,v 1.3 2022/01/15 16:23:47 adam Exp $
 
-VERS=          3.10.1
+VERS=          3.10.2
 DISTNAME=      python-${VERS}-docs-html
 PKGNAME=       py310-html-docs-${VERS}
 CATEGORIES=    lang python

Index: pkgsrc/lang/py310-html-docs/distinfo
diff -u pkgsrc/lang/py310-html-docs/distinfo:1.4 pkgsrc/lang/py310-html-docs/distinfo:1.5
--- pkgsrc/lang/py310-html-docs/distinfo:1.4    Tue Dec  7 09:31:31 2021
+++ pkgsrc/lang/py310-html-docs/distinfo        Sat Jan 15 16:23:47 2022
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.4 2021/12/07 09:31:31 adam Exp $
+$NetBSD: distinfo,v 1.5 2022/01/15 16:23:47 adam Exp $
 
-BLAKE2s (python-3.10.1-docs-html.tar.bz2) = 8384018f5c4e6a4fd21809e1f5d5b4cd297050d035ffe8ac3408b28170e190c8
-SHA512 (python-3.10.1-docs-html.tar.bz2) = b056c7d4087df0d80f626225f00e231b354f5df8061efaf23c57e41598475f8035e77416ec4edfacbfead08e474961fcce4ebc7e9a8a2cec8aacf693c976e803
-Size (python-3.10.1-docs-html.tar.bz2) = 7275471 bytes
+BLAKE2s (python-3.10.2-docs-html.tar.bz2) = 1bd0560e8100982dd7e401c25a48253e61766ed880fec7b6f39944ee9f8a24aa
+SHA512 (python-3.10.2-docs-html.tar.bz2) = 0b9aac91a7b5bfd98954bae88d248f9bd3c3de5465661b116758a41c274751fa2209596694c8db05ea87c055870a92c4e310ff8466f13e012f8c295c93446522
+Size (python-3.10.2-docs-html.tar.bz2) = 7271943 bytes

Index: pkgsrc/lang/python310/Makefile
diff -u pkgsrc/lang/python310/Makefile:1.6 pkgsrc/lang/python310/Makefile:1.7
--- pkgsrc/lang/python310/Makefile:1.6  Wed Jan 12 08:49:01 2022
+++ pkgsrc/lang/python310/Makefile      Sat Jan 15 16:23:47 2022
@@ -1,6 +1,5 @@
-# $NetBSD: Makefile,v 1.6 2022/01/12 08:49:01 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2022/01/15 16:23:47 adam Exp $
 
-PKGREVISION= 4
 .include "dist.mk"
 
 PKGNAME=       python310-${PY_DISTVERSION}

Index: pkgsrc/lang/python310/dist.mk
diff -u pkgsrc/lang/python310/dist.mk:1.2 pkgsrc/lang/python310/dist.mk:1.3
--- pkgsrc/lang/python310/dist.mk:1.2   Tue Dec  7 09:31:09 2021
+++ pkgsrc/lang/python310/dist.mk       Sat Jan 15 16:23:47 2022
@@ -1,6 +1,6 @@
-# $NetBSD: dist.mk,v 1.2 2021/12/07 09:31:09 adam Exp $
+# $NetBSD: dist.mk,v 1.3 2022/01/15 16:23:47 adam Exp $
 
-PY_DISTVERSION=        3.10.1
+PY_DISTVERSION=        3.10.2
 DISTNAME=      Python-${PY_DISTVERSION}
 EXTRACT_SUFX=  .tar.xz
 DISTINFO_FILE= ${.CURDIR}/../../lang/python310/distinfo

Index: pkgsrc/lang/python310/distinfo
diff -u pkgsrc/lang/python310/distinfo:1.10 pkgsrc/lang/python310/distinfo:1.11
--- pkgsrc/lang/python310/distinfo:1.10 Fri Jan 14 10:32:28 2022
+++ pkgsrc/lang/python310/distinfo      Sat Jan 15 16:23:47 2022
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.10 2022/01/14 10:32:28 tnn Exp $
+$NetBSD: distinfo,v 1.11 2022/01/15 16:23:47 adam Exp $
 
-BLAKE2s (Python-3.10.1.tar.xz) = a7004c16f0c40d927424d512cd5130cd2955315f50d804c289fc10d48f5a1d5c
-SHA512 (Python-3.10.1.tar.xz) = 1c559e33f1252e51bafb941c380de16f142c0735858363c84cb8dbed6767843de3af126889c2826ffb94bd4777d7cdfc31040301c8c74de56af52b80b1aa9e76
-Size (Python-3.10.1.tar.xz) = 18775460 bytes
+BLAKE2s (Python-3.10.2.tar.xz) = 38eefd209fa18acd20ad16743fcc8a6140af2fdb0203e95b099f52b8eb2e5051
+SHA512 (Python-3.10.2.tar.xz) = 215a7159face84788fe547c1e2689b8d0ae510275157cf01636bef2902d0ff465f844eb0328c9f39fd1cd03a1d1736d4cf258992f2788e492a801a372032c08b
+Size (Python-3.10.2.tar.xz) = 18780936 bytes
 SHA1 (patch-Lib_ctypes_util.py) = 3dec1b6b7a36e46cbfa0dfcd71c5e7fac9f60764
 SHA1 (patch-Lib_distutils_unixccompiler.py) = 8a91e8f4f86517a62408c3a10ed5eb50c4091fbf
 SHA1 (patch-Lib_lib2to3_pgen2_driver.py) = 593c4e93c5653ab400f0a98b91db92630c0a7390
@@ -11,6 +11,6 @@ SHA1 (patch-Makefile.pre.in) = 932a89313
 SHA1 (patch-Modules_socketmodule.c) = 4529c487b33d19b87106a0c006520cc5c45b9dfd
 SHA1 (patch-Modules_socketmodule.h) = 8761c7238bc74e45adefb6e647dc3b39b7bdd81c
 SHA1 (patch-Python_thread__pthread.h) = bf1aeab011b3afedc02e68fcf5cef091b3e0aefa
-SHA1 (patch-configure) = db79c9e00f2f804ff8497dbad0874658cc363db6
+SHA1 (patch-configure) = b238289b98d85128d0b0ad02ce926e36c0febc02
 SHA1 (patch-pyconfig.h.in) = 1ab77914315acbf0352d242ed66200bea54548f6
 SHA1 (patch-setup.py) = 491b5ff230dd6393fabe787b429a131c88a14f45

Index: pkgsrc/lang/python310/patches/patch-configure
diff -u pkgsrc/lang/python310/patches/patch-configure:1.2 pkgsrc/lang/python310/patches/patch-configure:1.3
--- pkgsrc/lang/python310/patches/patch-configure:1.2   Tue Dec  7 09:31:09 2021
+++ pkgsrc/lang/python310/patches/patch-configure       Sat Jan 15 16:23:47 2022
@@ -1,4 +1,4 @@
-$NetBSD: patch-configure,v 1.2 2021/12/07 09:31:09 adam Exp $
+$NetBSD: patch-configure,v 1.3 2022/01/15 16:23:47 adam Exp $
 
 Use gnu99 instead of c99 to avoid "alloca() undefined" problems.
 Fix linking on Darwin; don't use -stack_size.
@@ -6,9 +6,9 @@ Changes for consistency across pkgsrc pl
 Simplify _sysconfigdata to include only platform name.
 detect netcan/can.h on NetBSD
 
---- configure.orig     2021-12-06 18:23:39.000000000 +0000
+--- configure.orig     2022-01-13 18:52:14.000000000 +0000
 +++ configure
-@@ -7040,7 +7040,7 @@ UNIVERSAL_ARCH_FLAGS=
+@@ -7051,7 +7051,7 @@ UNIVERSAL_ARCH_FLAGS=
  # tweak BASECFLAGS based on compiler and platform
  case $GCC in
  yes)
@@ -17,7 +17,7 @@ detect netcan/can.h on NetBSD
  
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Wextra" >&5
  $as_echo_n "checking for -Wextra... " >&6; }
-@@ -8664,6 +8664,17 @@ if test "x$ac_cv_type___uint128_t" = xye
+@@ -8675,6 +8675,17 @@ if test "x$ac_cv_type___uint128_t" = xye
  $as_echo "#define HAVE_GCC_UINT128_T 1" >>confdefs.h
  
  fi
@@ -35,22 +35,7 @@ detect netcan/can.h on NetBSD
  
  
  # Sizes and alignments of various common basic types
-@@ -9884,13 +9895,12 @@ then
-               # small for the default recursion limit. Increase the stack size
-               # to ensure that tests don't crash
-     stack_size="1000000"  # 16 MB
--    if test "$with_ubsan" == "yes"
-+    if test "$with_ubsan" = "yes"
-     then
-         # Undefined behavior sanitizer requires an even deeper stack
-         stack_size="4000000"  # 64 MB
-     fi
- 
--    LINKFORSHARED="-Wl,-stack_size,$stack_size $LINKFORSHARED"
- 
- 
- cat >>confdefs.h <<_ACEOF
-@@ -14751,10 +14761,10 @@ _ACEOF
+@@ -14762,10 +14773,10 @@ _ACEOF
  if ac_fn_c_try_compile "$LINENO"; then :
  
  
@@ -63,7 +48,7 @@ detect netcan/can.h on NetBSD
    if test "$ax_cv_c_float_words_bigendian" = unknown; then
      ax_cv_c_float_words_bigendian=no
    else
-@@ -15655,7 +15665,7 @@ _ACEOF
+@@ -15666,7 +15677,7 @@ _ACEOF
  fi
  
  
@@ -72,7 +57,7 @@ detect netcan/can.h on NetBSD
  
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking LDVERSION" >&5
  $as_echo_n "checking LDVERSION... " >&6; }
-@@ -15708,11 +15718,7 @@ fi
+@@ -15719,11 +15730,7 @@ fi
  
  
  



Home | Main Index | Thread Index | Old Index