SHA256
1
0
forked from pool/python312
Go to file
Dominique Leuenberger e33fbc932e Accepting request 1192365 from devel:languages:python:Factory
- 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 is

OBS-URL: https://build.opensuse.org/request/show/1192365
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python312?expand=0&rev=18
2024-08-29 13:42:27 +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 bluez-devel-vendor.tar.xz 2024-08-07 15:02:10 +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
docs-docutils_014-Sphinx_420.patch Fix the patch 2024-08-07 19:36:41 +00:00
externally_managed.in - Update to 3.12.4: 2024-06-07 10:51:44 +00:00
F00251-change-user-install-location.patch Accepting request 1184846 from home:dgarcia:usr-local-cpython 2024-07-04 13:16:57 +00:00
fix_configure_rst.patch - Update to 3.12.5: 2024-08-07 18:22:59 +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 Accepting request 1183433 from home:Andreas_Schwab:Factory 2024-06-26 20:11:23 +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.5: 2024-08-07 18:22:59 +00:00
python312.spec - Update to 3.12.5: 2024-08-07 18:22:59 +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.5.tar.xz - Update to 3.12.5: 2024-08-07 18:22:59 +00:00
Python-3.12.5.tar.xz.asc - Update to 3.12.5: 2024-08-07 18:22:59 +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.