1
0
forked from pool/python313

Commit Graph

  • 069357c85b Accepting request 1189339 from devel:languages:python:Factory Dominique Leuenberger 2024-07-25 13:38:59 +00:00
  • 2a2ec95344 - Update F00251-change-user-install-location.patch to install packages in /usr/local by default when using pip outside of a RPMBUILD environment. Daniel Garcia 2024-07-24 08:32:48 +00:00
  • 517ba388ca - Remove %suse_update_desktop_file macro as it is not useful any more. Matej Cepl 2024-07-22 21:14:56 +00:00
  • a80b53565d _curses_panel Matej Cepl 2024-07-22 20:14:43 +00:00
  • 8e7a85bd98 - Update to 3.13.0~b4: - Tests - 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. - 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. - 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. - Library - gh-57141: The shallow argument to filecmp.dircmp (new in Python 3.13) is now keyword-only. - gh-121245: Simplify handling of the history file in site.register_readline() helper. The CAN_USE_PYREPL variable now will be initialized, when imported. - gh-121332: Fix constructor of ast nodes with custom _attributes. Previously, passing custom attributes would raise a DeprecationWarning. Passing arguments to the constructor that are not in _fields or _attributes remains deprecated. - gh-121279: Avoid NameError for the warnings module when accessing the depracated atributes of the importlib.abc module. Matej Cepl 2024-07-22 19:00:44 +00:00
  • 45a1da448a Accepting request 1186945 from devel:languages:python:Factory Ana Guerrero 2024-07-12 15:04:41 +00:00
  • 8be8178387 - Stop using %%defattr, it seems to be breaking proper executable attributes on /usr/bin/ scripts (bsc#1227378). Matej Cepl 2024-07-04 18:10:47 +00:00
  • 8f89a6f1a9 Testing bindir Matej Cepl 2024-07-04 16:46:27 +00:00
  • 58dda96c93 - Stop using %%defattr. Matej Cepl 2024-07-04 16:04:20 +00:00
  • ed93a74c21 Accepting request 1185326 from devel:languages:python:Factory Ana Guerrero 2024-07-05 17:46:53 +00:00
  • 5a06fe7d3f Accepting request 1184193 from home:dirkmueller:branches:openSUSE:Factory:Rings:1-MinimalX Matej Cepl 2024-07-01 06:39:49 +00:00
  • 2a85f6bbe8 - Update to 3.13.0~b2: * Core and Builtins - gh-119462: Make sure that invariants of type versioning are maintained: * Superclasses always have their version number assigned before subclasses * The version tag is always zero if the tag is not valid. * The version tag is always non-zero if the tag is valid. - gh-120437: Fix _CHECK_STACK_SPACE optimization problems introduced in gh-118322. - gh-120722: Correctly set the bytecode position on return instructions within lambdas. Patch by Jelle Zijlstra. - gh-120367: Fix bug where compiler creates a redundant jump during pseudo-op replacement. Can only happen with a synthetic AST that has a try on the same line as the instruction following the exception handler. - gh-113993: Strings interned with sys.intern() are again garbage-collected when no longer used, as per the documentation. Strings interned with the C function PyUnicode_InternInPlace() are still immortal. Internals of the string interning mechanism have been changed. This may affect performance and identities of str objects. - gh-120384: Fix an array out of bounds crash in list_ass_subscript, which could be invoked via some specificly tailored input: including concurrent modification of a list object, where one thread assigns a slice and another clears it. - gh-120367: Fix crash in compiler on code with redundant NOPs and JUMPs which show up after exception handlers are moved to the end of the code. Matej Cepl 2024-06-28 06:33:35 +00:00
  • ed786f6cde Accepting request 1178998 from home:dgarcia:branches:devel:languages:python:Factory Daniel Garcia 2024-06-06 10:39:42 +00:00
  • 4e91415a72 Accepting request 1175710 from home:dgarcia:branches:devel:languages:python:Factory Daniel Garcia 2024-05-22 08:15:34 +00:00
  • f99fa3b4a5 - Enable experimental_jit just for supported arches Daniel Garcia 2024-05-10 07:30:18 +00:00
  • 2120051248 - Use proper version name including tilda to separate pre-release version. https://en.opensuse.org/openSUSE:Package_versioning_guidelines Matej Cepl 2024-05-09 12:31:43 +00:00
  • 7eaae69a60 - Disable experimental_jit for i586 - Remove _pyrepl from base Daniel Garcia 2024-05-09 10:45:22 +00:00
  • a4dc42ba84 - Add --enable-experimental-jit=yes-off to the build - Update to 3.13.0a5 * Security - gh-115398: Allow controlling Expat >=2.6.0 reparse deferral (CVE-2023-52425) 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-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-116604: Respect the status of the garbage collector when indirect calls are made via PyErr_CheckSignals() and the evaluation breaker. Patch by Pablo Galindo - gh-112087: list is now compatible with the implementation of PEP 703. - gh-116381: Add specialization for CONTAINS_OP. - gh-116296: Fix possible refleak in object.__reduce__() internal error handling. - gh-115823: Properly calculate error ranges in the parser when raising SyntaxError exceptions caused by invalid byte sequences. Patch by Pablo Galindo - gh-115778: Add tierN annotation for instruction definition in interpreter DSL. - gh-115733: Fix crash when calling next() on exhausted list iterators. - gh-115700: The regen-cases build stage now works on Windows. - gh-115347: Fix bug where docstring was replaced by a redundant Daniel Garcia 2024-05-09 09:59:06 +00:00
  • ee738c9b79 Add missing name of libraries Matej Cepl 2024-03-20 21:03:31 +00:00
  • 447b043d69 Fix %%autopatch Matej Cepl 2024-03-20 05:28:14 +00:00
  • d51b4f3c7a - Update to 3.13.0a5: - Security - gh-115398: Allow controlling Expat >=2.6.0 reparse deferral (CVE-2023-52425) 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-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-116604: Respect the status of the garbage collector when indirect calls are made via PyErr_CheckSignals() and the evaluation breaker. Patch by Pablo Galindo - gh-112087: list is now compatible with the implementation of PEP 703. - gh-116381: Add specialization for CONTAINS_OP. - gh-116296: Fix possible refleak in object.__reduce__() internal error handling. - gh-115823: Properly calculate error ranges in the parser when raising SyntaxError exceptions caused by invalid byte sequences. Patch by Pablo Galindo - gh-115778: Add tierN annotation for instruction definition in interpreter DSL. - gh-115733: Fix crash when calling next() on exhausted list iterators. - gh-115700: The regen-cases build stage now works on Matej Cepl 2024-03-20 05:23:44 +00:00
  • 46a04323e0 - Drop gh115133-XMLPullParserTest-fail.patch upstreamed now. Daniel Garcia 2024-03-07 08:17:31 +00:00
  • 4dc8935b4f OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python313?expand=0&rev=8 Matej Cepl 2024-03-06 21:50:50 +00:00
  • 4a63e4ee14 Accepting request 1155094 from home:dgarcia:branches:devel:languages:python:Factory Daniel Garcia 2024-03-05 11:50:09 +00:00
  • 8e49b262ea Accepting request 1148356 from home:mcepl:branches:devel:languages:python:Factory Matej Cepl 2024-02-20 22:04:57 +00:00
  • edaef6893c - Fix package adding _xxinterpqueues and pathlib dir Daniel Garcia 2024-02-08 18:11:36 +00:00
  • 5eff57c396 - Fix build, NEWS.txt doesn't exists anymore Daniel Garcia 2024-02-08 08:56:56 +00:00
  • cf67592415 - Update to 3.13.0a3 - Security - gh-113659: Skip .pth files with names starting with a dot or hidden file attribute. - gh-112302: Created a Software Bill-of-Materials document and tooling for tracking dependencies. - Core and Builtins - gh-107901: Compiler duplicates basic blocks that have an eval breaker check, no line number, and multiple predecessors. - gh-107901: A jump leaving an exception handler back to normal code no longer checks the eval breaker. - gh-113655: Set the C recursion limit to 4000 on Windows, and 10000 on Linux/OSX. This seems to be near the sweet spot to maintain safety, but not compromise backwards compatibility. - gh-113710: Add typed stack effects to the interpreter DSL, along with various instruction annotations. - gh-77046: On Windows, file descriptors wrapping Windows handles are now created non inheritable by default (PEP 446). Patch by Zackery Spytz and Victor Stinner. - gh-113853: Guarantee that all executors make progress. This then guarantees that tier 2 execution always makes progress. - gh-113753: Fix an issue where the finalizer of PyAsyncGenASend objects might not be called if they were allocated from a free list. - gh-107901: Compiler changed so that synthetic jumps which are not at loop end no longer check the eval breaker. - gh-113703: Fix a regression in the codeop module that was causing it to incorrectly identify incomplete f-strings. Patch by Pablo Galindo - gh-89811: Check for a valid tp_version_tag before performing Daniel Garcia 2024-02-08 08:18:19 +00:00
  • 9bce840ac0 - Update to 3.13.0a2: Python 3.13.0 alpha 2¶ - Core and Builtins: - Don’t include comments in f-string debug expressions. Patch by Pablo Galindo - Slightly optimize the Tier 2 (uop) interpreter by only loading oparg and operand when needed. Also double the trace size limit again, to 512 this time. - Change docstrings of __dict__ and __weakref__. - Lower the max parser stack depth to 1000 under WASI debug builds. - When Python is built in debug mode, set the C recursion limit to 500 instead of 1500. A debug build is likely built with low optimization level which implies higher stack memory usage than a release build. Patch by Victor Stinner. - Enable translating unspecialized FOR_ITER to Tier 2. - Make hashlib related modules thread-safe without the GIL - Deprecate assignment to a function’s __code__ field when the new code object is of a mismatched type (e.g., from a generator to a plain function). - Raise exception if frame.clear() is called on a suspended frame. - Implement native thread ids for GNU KFreeBSD. - Use exponential backoff to reduce the number of failed tier 2 optimization attempts by over 99%. - Joining a thread now ensures the underlying OS thread has exited. This is required for safer fork() in multi-threaded processes. - Make sure that tier 2 traces are de-optimized if the code is instrumented Matej Cepl 2023-11-25 16:20:58 +00:00
  • c9d84fa1ca Accepting request 1117792 from home:dgarcia:branches:devel:languages:python:Factory Matej Cepl 2023-10-14 13:31:04 +00:00