e33fbc932eAccepting request 1192365 from devel:languages:python:Factory
Dominique Leuenberger
2024-08-29 13:42:27 +0000
4aab29ff15- Add CVE-2024-8088-inf-loop-zipfile_Path.patch to prevent malformed payload to cause infinite loops in zipfile.Path (bsc#1229704, CVE-2024-8088).
devel
Matej Cepl2024-08-29 12:59:16 +0000
31e91ac782- Update to 3.12.5: - Tests - gh-59022: Add tests for pkgutil.extend_path(). Patch by Andreas Stocker. - gh-99242: os.getloadavg() may throw OSError when running regression tests under certain conditions (e.g. chroot). This error is now caught and ignored, since reporting load average is optional. - gh-121084: Fix test_typing random leaks. Clear typing ABC caches when running tests for refleaks (-R option): call _abc_caches_clear() on typing abstract classes and their subclasses. Patch by Victor Stinner. - gh-121160: Add a test for readline.set_history_length(). Note that this test may fail on readline libraries. - gh-121200: Fix test_expanduser_pwd2() of test_posixpath. Call getpwnam() to get pw_dir, since it can be different than getpwall() pw_dir. Patch by Victor Stinner. - gh-121188: When creating the JUnit XML file, regrtest now escapes characters which are invalid in XML, such as the chr(27) control character used in ANSI escape sequences. Patch by Victor Stinner. - Security - gh-121957: Fixed missing audit events around interactive use of Python, now also properly firing for python -i, as well as for python -m asyncio. The event in question is cpython.run_stdin. - gh-122133: Authenticate the socket connection for the socket.socketpair() fallback on platforms where AF_UNIX isMatej Cepl2024-08-07 18:22:59 +0000
822e5022b5- Remove %suse_update_desktop_file macro as it is not useful any more.Matej Cepl2024-08-07 18:04:39 +0000
e52f34b4c1- Add CVE-2024-6923-email-hdr-inject.patch to prevent email header injection due to unquoted newlines (bsc#1228780, CVE-2024-6923). - %{profileopt} variable is set according to the variable %{do_profiling} (bsc#1227999) - Update bluez-devel-vendor.tar.xzMatej Cepl2024-08-07 15:01:40 +0000
ff39bb892f- Remove %suse_update_desktop_file macro as it is not useful any more.Matej Cepl2024-07-22 21:31:13 +0000
0790b98facpermissive than the default (bsc#1227152).Matej Cepl2024-07-10 05:44:28 +0000
4b714bca06- Stop using %%defattr, it seems to be breaking proper executable attributes on /usr/bin/ scripts (bsc#1227378).Matej Cepl2024-07-04 18:31:02 +0000
bde1a4521fAccepting request 1184846 from home:dgarcia:usr-local-cpythonMatej Cepl2024-07-04 13:16:57 +0000
26b708641eAccepting request 1183433 from home:Andreas_Schwab:FactoryMatej Cepl2024-06-26 20:11:23 +0000
4bca3b2589- Add docs-docutils_014-Sphinx_420.patch make building docs compatible with Sphinx 4_2_0 and docutils 0.14.Matej Cepl2024-06-26 20:10:05 +0000
5465cd240f- gh-113171 (bsc#1226448, CVE-2024-4032): Fixed various false positives and false negatives inMatej Cepl2024-06-25 22:06:54 +0000
b385491107Accepting request 1183151 from home:Andreas_Schwab:riscv:pythonMatej Cepl2024-06-25 16:08:01 +0000
7a215a300e- Update to 3.12.4: - Security - gh-118486: os.mkdir() on Windows now accepts mode of 0o700 to restrict the new directory to the current user. This fixes CVE-2024-4030 affecting tempfile.mkdtemp() in scenarios where the base temporary directory is more permissive than the default. - gh-116741: Update bundled libexpat to 2.6.2 - gh-117233: Detect BLAKE2, SHA3, Shake, & truncated SHA512 support in the OpenSSL-ish libcrypto library at build time. This allows hashlib to be used with libraries that do not to support every algorithm that upstream OpenSSL does. - Core and Builtins - gh-119821: Fix execution of annotation scopes within classes when globals is set to a non-dict. Patch by Jelle Zijlstra. - gh-118263: Speed up os.path.normpath() with a direct C call. - gh-119311: Fix bug where names are unexpectedly mangled in the bases of generic classes. - gh-119395: Fix bug where names appearing after a generic class are mangled as if they are in the generic class. - gh-118507: Fix os.path.isfile() on Windows for pipes. - gh-119213: Non-builtin modules built with argument clinic were crashing if used in a subinterpreter before the main interpreter. The objects that were causing the problem by leaking between interpreters carelessly have been fixed. - gh-119011: Fixes type.__type_params__ to return an empty tuple instead of a descriptor. - gh-118997: Fix _Py_ClearImmortal() assertion: useMatej Cepl2024-06-07 10:51:44 +0000
5aec8eeba8Accepting request 1168659 from devel:languages:python:Factory
Ana Guerrero
2024-04-23 16:55:03 +0000
781fdc451dAccepting request 1168530 from home:dgarcia:branches:devel:languages:python:FactoryMatej Cepl2024-04-17 21:21:31 +0000
e62ac867bc- Update to 3.12.3: - Security¶ - gh-115398: Allow controlling Expat >=2.6.0 reparse deferral (CVE-2023-52425, bsc#1219559) by adding five new methods: xml.etree.ElementTree.XMLParser.flush() xml.etree.ElementTree.XMLPullParser.flush() xml.parsers.expat.xmlparser.GetReparseDeferralEnabled() xml.parsers.expat.xmlparser.SetReparseDeferralEnabled() xml.sax.expatreader.ExpatParser.flush() - gh-115399: Update bundled libexpat to 2.6.0 (bsc#1222075) - gh-115243: Fix possible crashes in collections.deque.index() when the deque is concurrently modified. - gh-114572: ssl.SSLContext.cert_store_stats() and ssl.SSLContext.get_ca_certs() now correctly lock access to the certificate store, when the ssl.SSLContext is shared across multiple threads. - Core and Builtins - gh-109120: Added handle of incorrect star expressions, e.g f(3, *). Patch by Grigoryev Semyon - gh-99108: Updated the hashlib built-in HACL* project C code from upstream that we use for many implementations when they are not present via OpenSSL in a given build. This also avoids the rare potential for a C symbol name one definition rule linking issue. - gh-116735: For INSTRUMENTED_CALL_FUNCTION_EX, set arg0 to sys.monitoring.MISSING instead of None for CALL event. - gh-113964: Starting new threads and process creation through os.fork() are now only prevented once all non-daemon threads exit.Matej Cepl2024-04-10 14:51:57 +0000
aa6257f71aAccepting request 1157646 from devel:languages:python:Factory
Ana Guerrero
2024-03-14 16:42:38 +0000
ded1f6d8f3Accepting request 1155683 from home:pmonrealgonzalez:branches:devel:languages:python:FactoryMatej Cepl2024-03-06 21:50:49 +0000
1b3ecdbd21Accepting request 1153616 from devel:languages:python:Factory
Dominique Leuenberger
2024-03-03 19:18:35 +0000
2a55620864- (bsc#1219666, CVE-2023-6597) Add CVE-2023-6597-TempDir-cleaning-symlink.patch (patch from gh#python/cpython!99930) fixing symlink bug in cleanup of tempfile.TemporaryDirectory.Matej Cepl2024-02-29 21:00:39 +0000
6fb45ea97fAccepting request 1148455 from devel:languages:python:Factory
Ana Guerrero
2024-02-22 19:55:26 +0000
87dab76d59- Switch to %%autopatch. Let’s try it as an experiment, and if we need conditional patch, we should put condition inside of it. - Remove double definition of /usr/bin/idle%%{version} in %%files.Matej Cepl2024-02-20 22:10:13 +0000
858e326499Accepting request 1146839 from devel:languages:python:Factory
Ana Guerrero
2024-02-15 19:59:19 +0000
e7723bea01Accepting request 1146789 from home:dgarcia:branches:devel:languages:python:FactoryMatej Cepl2024-02-15 12:59:08 +0000
3e5f9031be- (bsc#1210638, CVE-2023-27043) Add CVE-2023-27043-email-parsing-errors.patch, which rejects malformed addresses in email.parseaddr() (gh#python/cpython!111116) Detect email address parsing errors and return empty tuple to indicate the parsing error (old API). Add an optional 'strict' parameter to getaddresses() and parseaddr() functions. Patch by Thomas Dwyer.Matej Cepl2024-02-12 13:35:44 +0000
43433c648fAccepting request 1145177 from devel:languages:python:Factory
Ana Guerrero
2024-02-09 22:52:00 +0000
120d8db339Accepting request 1145175 from home:dgarcia:branches:devel:languages:python:FactoryMatej Cepl2024-02-08 12:49:08 +0000
ec28b63cd7Accepting request 1133398 from devel:languages:python:Factory
Ana Guerrero
2023-12-15 20:50:03 +0000
08ae864ead- Update patch fix_configure_rst.patch - Update to 3.12.1 (CVE-2023-6507, bsc#1217939): - Core and Builtins - gh-112125: Fix None.__ne__(None) returning NotImplemented instead of False - 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-105967: Workaround a bug in Apple’s macOS platform zlib library where zlib.crc32() and binascii.crc32() could produce incorrect results on multi-gigabyte inputs. Including when using zipfile on zips containing large data. - gh-112356: Stopped erroneously deleting a LOAD_NULL bytecode instruction when optimized twice. - gh-111058: Change coro.cr_frame/gen.gi_frame to return None after the coroutine/generator has been closed. This fixes a bug where getcoroutinestate() and getgeneratorstate() return the wrong state for a closed coroutine/generator. - 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-112367: Avoid undefined behaviour when using the perf trampolines by not freeing the code arenas until shutdown. Patch by Pablo Galindo - gh-112243: Don’t include comments in f-string debug expressions. Patch by Pablo Galindo - gh-112266: Change docstrings of __dict__ and __weakref__. - gh-111654: Fix runtime crash when some error happens in opcodeDaniel Garcia2023-12-15 10:49:52 +0000
bed78a368aAccepting request 1126824 from devel:languages:python:Factory
Ana Guerrero
2023-11-16 19:29:17 +0000
d6f2a15b17- Remove F00251-change-user-install-location.patch, that patch breaks the python-rpm-macros usage with multibuildDaniel Garcia2023-11-16 10:03:01 +0000
772909188bAccepting request 1114870 from devel:languages:python:Factory
Ana Guerrero
2023-10-04 20:30:53 +0000
ddd6994ad4- Update to the final release of 3.12.0: Python 3.12 is the latest stable release of the Python programming language, with a mix of changes to the language and the standard library. The library changes focus on cleaning up deprecated APIs, usability, and correctness. Of note, the distutils package has been removed from the standard library. Filesystem support in os and pathlib has seen a number of improvements, and several modules have better performance. The language changes focus on usability, as f-strings have had many limitations removed and ‘Did you mean …’ suggestions continue to improve. The new type parameter syntax and type statement improve ergonomics for using generic types and type aliases with static type checkers. This article doesn’t attempt to provide a complete specification of all new features, but instead gives a convenient overview. For full details, you should refer to the documentation, such as the Library Reference and Language Reference. If you want to understand the complete implementation and design rationale for a change, refer to the PEP for a particular new feature; but note that PEPs usually are not kept up-to-date once a feature has been fully implemented. - New syntax features: - PEP 695, type parameter syntax and the type statement - New grammar features: - PEP 701, f-strings in the grammar - Interpreter improvements: - PEP 684, a unique per-interpreter GIL - PEP 669, low impact monitoring - Improved ‘Did you mean …’ suggestions for NameError,Matej Cepl2023-10-02 17:22:36 +0000
209f1cd767Accepting request 1112487 from devel:languages:python:Factory
Ana Guerrero
2023-09-21 20:13:43 +0000
64144183a9- Update to 3.12.0rc3: - Core and Builtins - gh-109496: On a Python built in debug mode, Py_DECREF() now calls _Py_NegativeRefcount() if the object is a dangling pointer to deallocated memory: memory filled with 0xDD “dead byte” by the debug hook on memory allocators. The fix is to check the reference count before checking for _Py_IsImmortal(). Patch by Victor Stinner. - gh-109371: Deopted instructions correctly for tool initialization and modified the incorrect assertion in instrumentation, when a previous tool already sets INSTRUCTION events - gh-105658: Fix bug where the line trace of an except block ending with a conditional includes an excess event with the line of the conditional expression. - gh-109219: Fix compiling type param scopes that use a name which is also free in an inner scope. - gh-109341: Fix crash when compiling an invalid AST involving a ast.TypeAlias. - gh-109195: Fix source location for the LOAD_* instruction preceding a LOAD_SUPER_ATTR to load the super global (or shadowing variable) so that it encompasses only the name super and not the following parentheses. - gh-109118: Disallow nested scopes (lambdas, generator expressions, and comprehensions) within PEP 695 annotation scopes that are nested within classes. - gh-109114: Relax the detection of the error message for invalid lambdas inside f-strings to not search for arbitrary replacement fields to avoid false positives. Patch by Pablo Galindo - gh-109118: Fix interpreter crash when a NameError is raisedDaniel Garcia2023-09-20 07:52:20 +0000
307a89a3d6Accepting request 1103380 from devel:languages:python:Factory
Dominique Leuenberger
2023-08-11 13:55:58 +0000
6ec3b33143- restrict PEP668 to ALP/TumbleweedMatej Cepl2023-08-10 19:28:55 +0000
1ff7c3b41fAccepting request 1102750 from devel:languages:python:Factory
Dominique Leuenberger
2023-08-08 13:54:45 +0000
c86d523da5Accepting request 1102652 from home:dgarcia:branches:devel:languages:python:FactoryMatej Cepl2023-08-07 15:58:04 +0000
40bc8f0d89Accepting request 1102688 from home:dirkmueller:FactoryMatej Cepl2023-08-07 14:46:36 +0000
6f707a1287Accepting request 1102238 from devel:languages:python:Factory
Dominique Leuenberger
2023-08-04 13:03:45 +0000
2604aa82df- IT MEANS THAT bsc#1210638 STILL HAS NOT BEEN FIXED!Matej Cepl2023-08-03 15:27:58 +0000
b5061de09f- Add Revert-gh105127-left-tests.patch (gh#python/cpython!106941) partially reverting CVE-2023-27043-email-parsing-errors.patch, because of the regression in gh#python/cpython#106669.Matej Cepl2023-08-03 15:06:43 +0000
b3d4802698Accepting request 1098684 from devel:languages:python:Factory
Dominique Leuenberger
2023-07-15 21:15:11 +0000
372e582b7e- Update to 3.12.0b4: - gh-issue-102988: CVE-2023-27043: Prevent :func:email.utils.parseaddr and :func:email.utils.getaddresses from returning the realname portion of an invalid RFC2822 email header in the email address portion of the 2-tuple returned after being parsed by :class:email._parseaddr.AddressList. - gh-issue-106396: When the format specification of an f-string expression is empty, the parser now generates an empty :class:ast.JoinedStr node for it instead of an one-element :class:ast.JoinedStr with an empty string :class:ast.Constant. - gh-issue-106145: Make `end_lineno and end_col_offset required on type_param ast nodes. - gh-issue-105979: Fix crash in :func:!_imp.get_frozen_object due to improper exception handling. - gh-issue-98931: Ensure custom :exc:SyntaxError error messages are raised for invalid imports with multiple targets. Patch by Pablo Galindo - gh-issue-105908: Fixed bug where :gh:99111 breaks future import barry_as_FLUFL in the Python REPL. - gh-issue-105340: Include the comprehension iteration variable in locals() inside a module- or class-scope comprehension. - gh-issue-105486: Change the repr of ParamSpec list of args in types.GenericAlias. - gh-issue-101006: Improve error handling when read :mod:marshal data. - gh-issue-106524: Fix crash in :func:!_sre.template` with templates containing invalid group indices.Matej Cepl2023-07-11 22:30:57 +0000
81dac994c0Accepting request 1096094 from devel:languages:python:Factory
Dominique Leuenberger
2023-06-30 17:59:53 +0000
a91ccfd104- Update to 3.12.0b3: - gh-103142: The version of OpenSSL used in Windows and Mac installers has been upgraded to 1.1.1u to address CVE-2023-2650, CVE-2023-0465, CVE-2023-0466, CVE-2023-0464, as well as CVE-2023-0286, CVE-2022-4303, and CVE-2022-4303 fixed previously in 1.1.1t (gh-101727). - gh-102153: urllib.parse.urlsplit() now strips leading C0 control and space characters following the specification for URLs defined by WHATWG in response to CVE-2023-24329. - gh-99889: Fixed a security in flaw in uu.decode() that could allow for directory traversal based on the input if no out_file was specified. - gh-104049: Do not expose the local on-disk location in directory indexes produced by http.client.SimpleHTTPRequestHandler. - gh-103935: trace.__main__ now uses io.open_code() for files to be executed instead of raw open(). - gh-102953: The extraction methods in tarfile, and shutil.unpack_archive(), have a new filter argument that allows limiting tar features than may be surprising or dangerous, such as creating files outside the destination directory. See Extraction filters for details. - Remove upstreamed patches: - 00398-fix-stack-overwrite-on-32-bit-in-perf-map-test-harness-gh-104811-104823.patchMatej Cepl2023-06-28 20:08:16 +0000
946e3d7e92Accepting request 1090558 from devel:languages:python:Factory
Dominique Leuenberger
2023-06-03 22:12:50 +0000
c8f2873f34Accepting request 1090373 from home:dgarcia:branches:devel:languages:python:FactoryMatej Cepl2023-06-02 19:32:04 +0000
dffdb8ee8aAccepting request 1084321 from devel:languages:python:Factory
Dominique Leuenberger
2023-05-04 15:10:22 +0000