diff --git a/Python-3.11.6.tar.xz b/Python-3.11.6.tar.xz new file mode 100644 index 0000000..68fb387 --- /dev/null +++ b/Python-3.11.6.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0fab78fa7f133f4f38210c6260d90d7c0d5c7198446419ce057ec7ac2e6f5f38 +size 20067204 diff --git a/Python-3.11.6.tar.xz.asc b/Python-3.11.6.tar.xz.asc new file mode 100644 index 0000000..0979fa7 --- /dev/null +++ b/Python-3.11.6.tar.xz.asc @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCAAdFiEEz9yiRbEEPPKl+Xhl/+h0BBaL2EcFAmUaybgACgkQ/+h0BBaL +2EdGzg//bg0KTy9DGWD56RUzCKaxdao+FVV2wS8FdghTvGJHM8uDehRESzj6Viag +bks/XuTmJ4xlaW+Ilje4VU5gkdgWt44S2ZGretn+zwrv6B5L697s1j4IOnyEywzm +rQ+a5aMRsW+m8kVoKDLsfbCcrwgxXEFln18y9Qp79QhbUpTVjp5vMwWdYyv2JnYb +G2QraFr0mQEhbVsiYpSVRWiacJi7JBuHTU/hNcN/q1ACf/CX3NSLDfL2bJEWNekg +JW3z0c81vLI9D+NkQ8xWOxgEO6G4Aav4F3t37ujuf2W/CI+NZlEknSt2ITxKeTHw +dwtIMXQc3MyG4ExnAwv1LqtL1H3Dm6SAE7sSyn4uG2uknk4xSuyoMIVMJefXmxbQ +Pd8v6/QnqT3U6MVuVlvCq4AWRotZwRpB7MdnpvA0t1tmANOA8i0MWrhCw0ccYk1a +X/3ewR0+RfQYkDvFfnJpbbsQlK+lhZgt/VmQNOHvWoc/tDnB73b2seOmGkx016TY +hozXE4FXtR+8qk9CfJTd8QRNST8KBUCB9C3eoLciruugmyrUvDLjki/u9GNOIl/b +kVJzcD6eQJC9BthJXuKaKDLKX1a1a9J8GUzVXsW1kuEMQHuv/v7Cf6MzmHWWO3QN +yRgqFXkic/U8RgSHUbtozo16GMlU+RDC6bQgZR7mfE0eFCJnD6U= +=mxrE +-----END PGP SIGNATURE----- diff --git a/Python-3.11.7.tar.xz b/Python-3.11.7.tar.xz deleted file mode 100644 index 8d3a65d..0000000 --- a/Python-3.11.7.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:18e1aa7e66ff3a58423d59ed22815a6954e53342122c45df20c96877c062b9b7 -size 20074108 diff --git a/Python-3.11.7.tar.xz.asc b/Python-3.11.7.tar.xz.asc deleted file mode 100644 index 3eee3d2..0000000 --- a/Python-3.11.7.tar.xz.asc +++ /dev/null @@ -1,16 +0,0 @@ ------BEGIN PGP SIGNATURE----- - -iQIzBAABCAAdFiEEz9yiRbEEPPKl+Xhl/+h0BBaL2EcFAmVuFigACgkQ/+h0BBaL -2EeHPg/+LU5xs2ZDrQogDcH+A1v8RyursiggypdM5hXTrsFsTCIk4iekcI9xkhG1 -ltNX4UuCe5PUEbTgtaWP0ncXARrUnPCoQaQ1sHVDTYoHegancsk+sXZc1JM7qr0p -Y4Ig6mKjuHFMXCInQSI2GaH4t5r4Z1jGk/PGrecIHOPJgqfA/6Z3TBF5N+y3jEvS -2QazMB298q4RDhh9m3REe8LwFPHDlfw9eRohv0MB8xygg9KtxhLZrN7gLBQZvKGD -ihNw6EgJj5OZ0dvwKCCXnlZuwknuJW7vAOPHhYeenPdVdYCGoRSyN7JdD07L+5AG -O14l2rqZrz5Eu28by+kAUrcPYAfAXekw1PmtT3HSd9U/nqnUiTkkJcjyGG/e3cjJ -sUDKMNCSBq0G7j5DB3bB6VHkZjVuz+T+iR5QdfJ4kI2pYSuE/rUj1rhkUXApYsHl -7Wff0QbOW6QT1wCtQcMpJSzkTDVJVYxiqrko/ihlOhphDHYLdOIGOrxWAUwc06x/ -BhJD6tM1kEVZvifoJp1OsNwDzZ/Ku6CUs05E1vWxdeNVeANyKAgCZ5hOVmhnv866 -11zfgo/znRsMzMIyJuy0bhO0C6omVLzzfhipAbZM2jDorn37xxV0v/I0pceNtLrp -YR7Tjs7+Ihe6/oItjW53j9T7ANdgQ1RVDg98lKlPFNL+hxfctwY= -=0Pkd ------END PGP SIGNATURE----- diff --git a/fix_configure_rst.patch b/fix_configure_rst.patch index e45e240..bd08f1d 100644 --- a/fix_configure_rst.patch +++ b/fix_configure_rst.patch @@ -3,37 +3,37 @@ Misc/NEWS | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) -Index: Python-3.11.7/Doc/using/configure.rst +Index: Python-3.11.6/Doc/using/configure.rst =================================================================== ---- Python-3.11.7.orig/Doc/using/configure.rst -+++ Python-3.11.7/Doc/using/configure.rst +--- Python-3.11.6.orig/Doc/using/configure.rst ++++ Python-3.11.6/Doc/using/configure.rst @@ -41,7 +41,6 @@ General Options See :data:`sys.int_info.bits_per_digit `. --.. option:: --with-cxx-main - .. option:: --with-cxx-main=COMPILER +-.. cmdoption:: --with-cxx-main + .. cmdoption:: --with-cxx-main=COMPILER Compile the Python ``main()`` function and link Python executable with C++ @@ -527,13 +526,11 @@ macOS Options See ``Mac/README.rst``. --.. option:: --enable-universalsdk - .. option:: --enable-universalsdk=SDKDIR +-.. cmdoption:: --enable-universalsdk + .. cmdoption:: --enable-universalsdk=SDKDIR Create a universal binary build. *SDKDIR* specifies which macOS SDK should be used to perform the build (default is no). --.. option:: --enable-framework - .. option:: --enable-framework=INSTALLDIR +-.. cmdoption:: --enable-framework + .. cmdoption:: --enable-framework=INSTALLDIR Create a Python.framework rather than a traditional Unix install. Optional -Index: Python-3.11.7/Misc/NEWS +Index: Python-3.11.6/Misc/NEWS =================================================================== ---- Python-3.11.7.orig/Misc/NEWS -+++ Python-3.11.7/Misc/NEWS -@@ -9012,7 +9012,7 @@ C API +--- Python-3.11.6.orig/Misc/NEWS ++++ Python-3.11.6/Misc/NEWS +@@ -8708,7 +8708,7 @@ C API - bpo-40939: Removed documentation for the removed ``PyParser_*`` C API. - bpo-43795: The list in :ref:`limited-api-list` now shows the public name diff --git a/python311.changes b/python311.changes index af0f2b6..944ef78 100644 --- a/python311.changes +++ b/python311.changes @@ -1,200 +1,3 @@ -------------------------------------------------------------------- -Fri Dec 15 10:04:33 UTC 2023 - Daniel Garcia - -- Update patch fix_configure_rst.patch -- Update to 3.11.7: - - Core and Builtins - - gh-112625: Fixes a bug where a bytearray object could be cleared - while iterating over an argument in the bytearray.join() method - that could result in reading memory after it was freed. - - gh-112388: Fix an error that was causing the parser to try to - overwrite tokenizer errors. Patch by pablo Galindo - - gh-112387: Fix error positions for decoded strings with - backwards tokenize errors. Patch by Pablo Galindo - - gh-112266: Change docstrings of __dict__ and __weakref__. - - gh-109181: Speed up Traceback object creation by lazily compute - the line number. Patch by Pablo Galindo - - gh-102388: Fix a bug where iso2022_jp_3 and iso2022_jp_2004 - codecs read out of bounds - - gh-111366: Fix an issue in the codeop that was causing - SyntaxError exceptions raised in the presence of invalid syntax - to not contain precise error messages. Patch by Pablo Galindo - - gh-111380: Fix a bug that was causing SyntaxWarning to appear - twice when parsing if invalid syntax is encountered later. Patch - by Pablo galindo - - gh-88116: Traceback location ranges involving wide unicode - characters (like emoji and asian characters) now are properly - highlighted. Patch by Batuhan Taskaya and Pablo Galindo. - - gh-94438: Fix a regression that prevented jumping across is None - and is not None when debugging. Patch by Savannah Ostrowski. - - gh-110696: Fix incorrect error message for invalid argument - unpacking. Patch by Pablo Galindo - - gh-110237: Fix missing error checks for calls to PyList_Append - in _PyEval_MatchClass. - - gh-109216: Fix possible memory leak in BUILD_MAP. - - - Library - - gh-112618: Fix a caching bug relating to typing.Annotated. - Annotated[str, True] is no longer identical to Annotated[str, - 1]. - - gh-112509: Fix edge cases that could cause a key to be present - in both the __required_keys__ and __optional_keys__ attributes - of a typing.TypedDict. Patch by Jelle Zijlstra. - - gh-94722: Fix bug where comparison between instances of DocTest - fails if one of them has None as its lineno. - - gh-112105: Make readline.set_completer_delims() work with - libedit - - gh-111942: Fix SystemError in the TextIOWrapper constructor with - non-encodable “errors” argument in non-debug mode. - - gh-109538: Issue warning message instead of having RuntimeError - be displayed when event loop has already been closed at - StreamWriter.__del__(). - - gh-111942: Fix crashes in io.TextIOWrapper.reconfigure() when - pass invalid arguments, e.g. non-string encoding. - - gh-111804: Remove posix.fallocate() under WASI as the underlying - posix_fallocate() is not available in WASI preview2. - - gh-111841: Fix truncating arguments on an embedded null - character in os.putenv() and os.unsetenv() on Windows. - - gh-111541: Fix doctest for SyntaxError not-builtin subclasses. - - gh-110894: Call loop exception handler for exceptions in - client_connected_cb of asyncio.start_server() so that - applications can handle it. Patch by Kumar Aditya. - - gh-111531: Fix reference leaks in bind_class() and bind_all() - methods of tkinter widgets. - - gh-111356: Added io.text_encoding(), io.DEFAULT_BUFFER_SIZE, and - io.IncrementalNewlineDecoder to io.__all__. - - gh-68166: Remove mention of not supported “vsapi” element type - in tkinter.ttk.Style.element_create(). Add tests for - element_create() and other ttk.Style methods. Add examples for - element_create() in the documentation. - - gh-111251: Fix _blake2 not checking for errors when - initializing. - - gh-111174: Fix crash in io.BytesIO.getbuffer() called repeatedly - for empty BytesIO. - - gh-111187: Postpone removal version for - locale.getdefaultlocale() to Python 3.15. - - gh-111159: Fix doctest output comparison for exceptions with - notes. - - gh-110910: Fix invalid state handling in asyncio.TaskGroup and - asyncio.Timeout. They now raise proper RuntimeError if they are - improperly used and are left in consistent state after this. - - gh-111092: Make turtledemo run without default root enabled. - - gh-110590: Fix a bug in _sre.compile() where TypeError would be - overwritten by OverflowError when the code argument was a list - of non-ints. - - gh-65052: Prevent pdb from crashing when trying to display - undisplayable objects - - gh-110519: Deprecation warning about non-integer number in - gettext now alwais refers to the line in the user code where - gettext function or method is used. Previously it could refer to - a line in gettext code. - - gh-110378: contextmanager() and asynccontextmanager() context - managers now close an invalid underlying generator object that - yields more then one value. - - gh-110365: Fix termios.tcsetattr() bug that was overwritting - existing errors during parsing integers from term list. - - gh-110196: Add __reduce__ method to IPv6Address in order to keep - scope_id - - gh-109747: Improve errors for unsupported look-behind patterns. - Now re.error is raised instead of OverflowError or RuntimeError - for too large width of look-behind pattern. - - gh-109786: Fix possible reference leaks and crash when re-enter - the __next__() method of itertools.pairwise. - - gh-108791: Improved error handling in pdb command line - interface, making it produce more concise error messages. - - gh-73561: Omit the interface scope from an IPv6 address when - used as Host header by http.client. - - gh-86826: zipinfo now supports the full range of values in the - TZ string determined by RFC 8536 and detects all invalid - formats. Both Python and C implementations now raise exceptions - of the same type on invalid data. - - bpo-41422: Fixed memory leaks of pickle.Pickler and - pickle.Unpickler involving cyclic references via the internal - memo mapping. - - bpo-40262: The ssl.SSLSocket.recv_into() method no longer - requires the buffer argument to implement __len__ and supports - buffers with arbitrary item size. - - bpo-35191: Fix unexpected integer truncation in - socket.setblocking() which caused it to interpret multiples of - 2**32 as False. - - - Documentation - - gh-108826: dis module command-line interface is now mentioned in - documentation. - - - Tests - - gh-110367: Make regrtest --verbose3 option compatible with - --huntrleaks -jN options. The ./python -m test -j1 -R 3:3 - --verbose3 command now works as expected. Patch by Victor - Stinner. - - gh-111309: distutils tests can now be run via unittest. - - gh-111165: Remove no longer used functions run_unittest() and - run_doctest() and class BasicTestRunner from the test.support - module. - - gh-110932: Fix regrtest if the SOURCE_DATE_EPOCH environment - variable is defined: use the variable value as the random seed. - Patch by Victor Stinner. - - gh-110995: test_gdb: Fix detection of gdb built without Python - scripting support. Patch by Victor Stinner. - - gh-110918: Test case matching patterns specified by options - --match, --ignore, --matchfile and --ignorefile are now tested - in the order of specification, and the last match determines - whether the test case be run or ignored. - - gh-110647: Fix test_stress_modifying_handlers() of test_signal. - Patch by Victor Stinner. - - gh-103053: Fix test_tools.test_freeze on FreeBSD: run “make - distclean” instead of “make clean” in the copied source - directory to remove also the “python” program. Patch by Victor - Stinner. - - gh-110167: Fix a deadlock in test_socket when server fails with - a timeout but the client is still running in its thread. Don’t - hold a lock to call cleanup functions in doCleanups(). One of - the cleanup function waits until the client completes, whereas - the client could deadlock if it called addCleanup() in such - situation. Patch by Victor Stinner. - - gh-110388: Add tests for tty. - - gh-81002: Add tests for termios. - - gh-110267: Add tests for pickling and copying PyStructSequence - objects. Patched by Xuehai Pan. - - gh-109974: Fix race conditions in test_threading lock tests. - Wait until a condition is met rather than using time.sleep() - with a hardcoded number of seconds. Patch by Victor Stinner. - - gh-109972: Split test_gdb.py file into a test_gdb package made - of multiple tests, so tests can now be run in parallel. Patch by - Victor Stinner. - - gh-104736: Fix test_gdb on Python built with LLVM clang 16 on - Linux ppc64le (ex: Fedora 38). Search patterns in gdb “bt” - command output to detect when gdb fails to retrieve the - traceback. For example, skip a test if Backtrace stopped: frame - did not save the PC is found. Patch by Victor Stinner. - - gh-108927: Fixed order dependence in running tests in the same - process when a test that has submodules (e.g. test_importlib) - follows a test that imports its submodule (e.g. - test_importlib.util) and precedes a test (e.g. test_unittest or - test_compileall) that uses that submodule. - - - Build - - gh-103053: “make check-clean-src” now also checks if the - “python” program is found in the source directory: fail with an - error if it does exist. Patch by Victor Stinner. - - gh-109191: Fix compile error when building with recent versions - of libedit. - - - IDLE - - bpo-35668: Add docstrings to the IDLE debugger module. Fix two - bugs: initialize Idb.botframe (should be in Bdb); in - Idb.in_rpc_code, check whether prev_frame is None before trying - to use it. Greatly expand test_debugger. - - - C API - - gh-112438: Fix support of format units “es”, “et”, “es#”, and - “et#” in nested tuples in PyArg_ParseTuple()-like functions. - - gh-109521: PyImport_GetImporter() now sets RuntimeError if it - fails to get sys.path_hooks or sys.path_importer_cache or they - are not list and dict correspondingly. Previously it could - return NULL without setting error in obscure cases, crash or - raise SystemError if these attributes have wrong type. - ------------------------------------------------------------------- Wed Nov 15 09:06:16 UTC 2023 - Daniel Garcia diff --git a/python311.spec b/python311.spec index 0e3c740..05e3990 100644 --- a/python311.spec +++ b/python311.spec @@ -94,7 +94,7 @@ %define dynlib() %{sitedir}/lib-dynload/%{1}.cpython-%{abi_tag}-%{archname}-%{_os}%{?_gnu}%{?armsuffix}.so %bcond_without profileopt Name: %{python_pkg_name}%{psuffix} -Version: 3.11.7 +Version: 3.11.6 Release: 0 Summary: Python 3 Interpreter License: Python-2.0