Go to file
Matej Cepl 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: use

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python312?expand=0&rev=47
2024-06-07 10:51:44 +00:00
_multibuild - Update to 3.12.4: 2024-06-07 10:51:44 +00:00
.gitattributes - Update to 3.12.4: 2024-06-07 10:51:44 +00:00
.gitignore - Update to 3.12.4: 2024-06-07 10:51:44 +00:00
baselibs.conf - Update to 3.12.4: 2024-06-07 10:51:44 +00:00
bluez-devel-vendor.tar.xz - Update to 3.12.4: 2024-06-07 10:51:44 +00:00
bpo-31046_ensurepip_honours_prefix.patch - Update to 3.12.4: 2024-06-07 10:51:44 +00:00
CVE-2023-6597-TempDir-cleaning-symlink.patch - Update to 3.12.4: 2024-06-07 10:51:44 +00:00
CVE-2023-27043-email-parsing-errors.patch - Update to 3.12.4: 2024-06-07 10:51:44 +00:00
CVE-2023-52425-libexpat-2.6.0-backport-15.6.patch - Update to 3.12.4: 2024-06-07 10:51:44 +00:00
externally_managed.in - Update to 3.12.4: 2024-06-07 10:51:44 +00:00
fix_configure_rst.patch - Update to 3.12.4: 2024-06-07 10:51:44 +00:00
fix-test-recursion-limit-15.6.patch - Update to 3.12.4: 2024-06-07 10:51:44 +00:00
idle3.appdata.xml - Update to 3.12.4: 2024-06-07 10:51:44 +00:00
idle3.desktop - Update to 3.12.4: 2024-06-07 10:51:44 +00:00
import_failed.map - Update to 3.12.4: 2024-06-07 10:51:44 +00:00
import_failed.py - Update to 3.12.4: 2024-06-07 10:51:44 +00:00
macros.python3 - Update to 3.12.4: 2024-06-07 10:51:44 +00:00
no-skipif-doctests.patch - Update to 3.12.4: 2024-06-07 10:51:44 +00:00
PACKAGING-NOTES - Update to 3.12.4: 2024-06-07 10:51:44 +00:00
pre_checkin.sh - Update to 3.12.4: 2024-06-07 10:51:44 +00:00
python312-rpmlintrc - Update to 3.12.4: 2024-06-07 10:51:44 +00:00
python312.changes - Update to 3.12.4: 2024-06-07 10:51:44 +00:00
python312.spec - Update to 3.12.4: 2024-06-07 10:51:44 +00:00
python-3.3.0b1-fix_date_time_compiler.patch - Update to 3.12.4: 2024-06-07 10:51:44 +00:00
python-3.3.0b1-localpath.patch - Update to 3.12.4: 2024-06-07 10:51:44 +00:00
python-3.3.0b1-test-posix_fadvise.patch - Update to 3.12.4: 2024-06-07 10:51:44 +00:00
Python-3.12.3.tar.xz - Update to 3.12.4: 2024-06-07 10:51:44 +00:00
Python-3.12.3.tar.xz.asc - Update to 3.12.4: 2024-06-07 10:51:44 +00:00
Python-3.12.4.tar.xz - Update to 3.12.4: 2024-06-07 10:51:44 +00:00
Python-3.12.4.tar.xz.asc - Update to 3.12.4: 2024-06-07 10:51:44 +00:00
python.keyring - Update to 3.12.4: 2024-06-07 10:51:44 +00:00
README.SUSE - Update to 3.12.4: 2024-06-07 10:51:44 +00:00
skip-test_pyobject_freed_is_freed.patch - Update to 3.12.4: 2024-06-07 10:51:44 +00:00
skipped_tests.py - Update to 3.12.4: 2024-06-07 10:51:44 +00:00
subprocess-raise-timeout.patch - Update to 3.12.4: 2024-06-07 10:51:44 +00:00

Python 3 in SUSE
==============

* Subpackages *

Python 3 is split into several subpackages, based on external dependencies.
The main package 'python3' has soft dependencies on all subpackages needed to
assemble the standard library; however, these might not all be installed by default.

If you attempt to import a module that is currently not installed, an ImportError is thrown,
with instructions to install the missing subpackage. Installing the subpackage might result
in installing libraries that the subpackage requires to function.


* ensurepip *

The 'ensurepip' module from Python 3 standard library (PEP 453) is supposed to deploy
a bundled copy of the pip installer. This makes no sense in a managed distribution like SUSE.
Instead, you need to install package 'python3-pip'. Usually this will be installed automatically
with 'python3'.

Using 'ensurepip' when pip is not installed will result in an ImportError with instructions
to install 'python3-pip'.


* Documentation *

You can find documentation in seprarate packages: python3-doc and
python3-doc-pdf. These contan following documents:

    Tutorial, What's New in Python, Global Module Index, Library Reference,
    Macintosh Module Reference, Installing Python Modules, Distributing Python
    Modules, Language Reference, Extending and Embedding, Python/C API,
    Documenting Python 

The python3-doc package constains many text files from source tarball.


* Interactive mode *

Interactive mode is by default enhanced with of history and command completion.
If you don't like these features, you can unset the PYTHONSTARTUP variable
in your .profile or disable it system wide in /etc/profile.d/python.sh.