Go to file
Tomáš Chvátal dc258d6692 - Change macros.python3 to use full versioned 3.8 instead of just 3
for python interpreter

- Reduce some now unused conditionals

- Redux the -base dependencies to match up pre-merge layout

- Generate baselibs in pre-checkin too

- Generate the importlib-failed using pre_checking again
- Add back the information about skipped tests on the pre_checkin
  output

- Use %python_pkg_name instead of hardcoding python3 where
  applicable
- Sort out preamble with spec-cleaner

- Calculate required variables instead of relying on their continuous manual update

- Fix the -base module build again to generate only the deps
  we need

- Replace OBS_dev-shm.patch with the upstream PR#20944

- Use the %{python_pkg_name} on more places to allow easier
  multiversioning
- Switch to _multibuild approach for easier maintenance of this
  package. All is now in one spec file with 3 conditionals:
  * bcond_with base
  * bcond_with doc

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python38?expand=0&rev=3
2020-07-10 07:16:00 +00:00
_multibuild osc copypac from project:devel:languages:python:Factory package:python3 revision:376, using expand 2020-07-10 07:12:09 +00:00
.gitattributes osc copypac from project:devel:languages:python:Factory package:python3 revision:376, using expand 2020-07-10 07:12:09 +00:00
.gitignore osc copypac from project:devel:languages:python:Factory package:python3 revision:376, using expand 2020-07-10 07:12:09 +00:00
baselibs.conf osc copypac from project:devel:languages:python:Factory package:python3 revision:376, using expand 2020-07-10 07:12:09 +00:00
bpo34022-stop_hash-based_invalidation_w_SOURCE_DATE_EPOCH.patch osc copypac from project:devel:languages:python:Factory package:python3 revision:376, using expand 2020-07-10 07:12:09 +00:00
bpo36302-sort-module-sources.patch osc copypac from project:devel:languages:python:Factory package:python3 revision:376, using expand 2020-07-10 07:12:09 +00:00
bpo40784-Fix-sqlite3-deterministic-test.patch osc copypac from project:devel:languages:python:Factory package:python3 revision:376, using expand 2020-07-10 07:12:09 +00:00
bpo-31046_ensurepip_honours_prefix.patch osc copypac from project:devel:languages:python:Factory package:python3 revision:376, using expand 2020-07-10 07:12:09 +00:00
bsc1167501-invalid-alignment.patch osc copypac from project:devel:languages:python:Factory package:python3 revision:376, using expand 2020-07-10 07:12:09 +00:00
CVE-2019-5010-null-defer-x509-cert-DOS.patch osc copypac from project:devel:languages:python:Factory package:python3 revision:376, using expand 2020-07-10 07:12:09 +00:00
distutils-reproducible-compile.patch osc copypac from project:devel:languages:python:Factory package:python3 revision:376, using expand 2020-07-10 07:12:09 +00:00
F00102-lib64.patch osc copypac from project:devel:languages:python:Factory package:python3 revision:376, using expand 2020-07-10 07:12:09 +00:00
F00251-change-user-install-location.patch osc copypac from project:devel:languages:python:Factory package:python3 revision:376, using expand 2020-07-10 07:12:09 +00:00
idle3.appdata.xml osc copypac from project:devel:languages:python:Factory package:python3 revision:376, using expand 2020-07-10 07:12:09 +00:00
idle3.desktop osc copypac from project:devel:languages:python:Factory package:python3 revision:376, using expand 2020-07-10 07:12:09 +00:00
import_failed.map osc copypac from project:devel:languages:python:Factory package:python3 revision:376, using expand 2020-07-10 07:12:09 +00:00
import_failed.py osc copypac from project:devel:languages:python:Factory package:python3 revision:376, using expand 2020-07-10 07:12:09 +00:00
macros.python3 - Change macros.python3 to use full versioned 3.8 instead of just 3 2020-07-10 07:15:29 +00:00
OBS_dev-shm.patch osc copypac from project:devel:languages:python:Factory package:python3 revision:376, using expand 2020-07-10 07:12:09 +00:00
PACKAGING-NOTES osc copypac from project:devel:languages:python:Factory package:python3 revision:376, using expand 2020-07-10 07:12:09 +00:00
pre_checkin.sh osc copypac from project:devel:languages:python:Factory package:python3 revision:376, using expand 2020-07-10 07:12:09 +00:00
python3-imp-returntype.patch osc copypac from project:devel:languages:python:Factory package:python3 revision:376, using expand 2020-07-10 07:12:09 +00:00
python38.changes - Change macros.python3 to use full versioned 3.8 instead of just 3 2020-07-10 07:16:00 +00:00
python38.spec - Change macros.python3 to use full versioned 3.8 instead of just 3 2020-07-10 07:16:00 +00:00
python-3.3.0b1-fix_date_time_compiler.patch osc copypac from project:devel:languages:python:Factory package:python3 revision:376, using expand 2020-07-10 07:12:09 +00:00
python-3.3.0b1-localpath.patch osc copypac from project:devel:languages:python:Factory package:python3 revision:376, using expand 2020-07-10 07:12:09 +00:00
python-3.3.0b1-test-posix_fadvise.patch osc copypac from project:devel:languages:python:Factory package:python3 revision:376, using expand 2020-07-10 07:12:09 +00:00
Python-3.8.3.tar.xz osc copypac from project:devel:languages:python:Factory package:python3 revision:376, using expand 2020-07-10 07:12:09 +00:00
Python-3.8.3.tar.xz.asc osc copypac from project:devel:languages:python:Factory package:python3 revision:376, using expand 2020-07-10 07:12:09 +00:00
python.keyring osc copypac from project:devel:languages:python:Factory package:python3 revision:376, using expand 2020-07-10 07:12:09 +00:00
README.SUSE osc copypac from project:devel:languages:python:Factory package:python3 revision:376, using expand 2020-07-10 07:12:09 +00:00
skip_random_failing_tests.patch osc copypac from project:devel:languages:python:Factory package:python3 revision:376, using expand 2020-07-10 07:12:09 +00:00
skipped_tests.py osc copypac from project:devel:languages:python:Factory package:python3 revision:376, using expand 2020-07-10 07:12:09 +00:00
subprocess-raise-timeout.patch osc copypac from project:devel:languages:python:Factory package:python3 revision:376, using expand 2020-07-10 07:12:09 +00:00
SUSE-FEDORA-multilib.patch osc copypac from project:devel:languages:python:Factory package:python3 revision:376, using expand 2020-07-10 07:12:09 +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.