2020-01-21 23:41:40 +00:00
|
|
|
---
|
|
|
|
document: modulemd
|
|
|
|
version: 2
|
|
|
|
data:
|
|
|
|
name: python38
|
|
|
|
stream: 3.8
|
|
|
|
summary: Python programming language, version 3.8
|
|
|
|
description: |-
|
|
|
|
This module gives users access to the internal Python 3.8 in RHEL8, as
|
|
|
|
well as provides some additional Python packages the users might need.
|
|
|
|
In addition to these you can install any python3-* package available
|
|
|
|
in RHEL and use it with Python from this module.
|
|
|
|
license:
|
|
|
|
module:
|
|
|
|
- MIT
|
|
|
|
dependencies:
|
|
|
|
- buildrequires:
|
|
|
|
platform: [el8]
|
2020-07-28 14:31:33 +00:00
|
|
|
|
2020-01-21 23:41:40 +00:00
|
|
|
# Depending on our selves for bootstrapping
|
2020-07-28 14:31:33 +00:00
|
|
|
# This is not needed in bootstrap phase 1 and can be disabled
|
2020-01-21 23:41:40 +00:00
|
|
|
python38: [3.8-bootstrap]
|
2020-07-28 14:31:33 +00:00
|
|
|
|
2020-01-21 23:41:40 +00:00
|
|
|
# sicpy needs package swig
|
|
|
|
swig: [3.0]
|
|
|
|
# mod_wsgi needs several packages from httpd
|
|
|
|
httpd: [2.4]
|
|
|
|
requires:
|
|
|
|
platform: [el8]
|
|
|
|
references:
|
|
|
|
community: https://www.python.org/
|
|
|
|
documentation: https://docs.python.org/3.8/
|
|
|
|
profiles:
|
|
|
|
common:
|
|
|
|
rpms:
|
|
|
|
- python38
|
|
|
|
build:
|
|
|
|
rpms:
|
|
|
|
- python38
|
|
|
|
- python38-devel
|
|
|
|
- python38-rpm-macros
|
|
|
|
filter:
|
|
|
|
rpms:
|
|
|
|
- python38-pyparsing
|
|
|
|
- python38-atomicwrites
|
|
|
|
- python38-attrs
|
|
|
|
- python38-packaging
|
|
|
|
- python38-py
|
|
|
|
- python38-pytest
|
|
|
|
- python38-more-itertools
|
|
|
|
- python38-pluggy
|
|
|
|
- python38-wcwidth
|
|
|
|
api:
|
|
|
|
rpms:
|
|
|
|
- python38
|
|
|
|
- python38-Cython
|
|
|
|
- python38-PyMySQL
|
|
|
|
- python38-asn1crypto
|
|
|
|
- python38-babel
|
|
|
|
- python38-cffi
|
|
|
|
- python38-chardet
|
|
|
|
- python38-cryptography
|
|
|
|
- python38-devel
|
|
|
|
- python38-idle
|
|
|
|
- python38-idna
|
|
|
|
- python38-jinja2
|
|
|
|
- python38-libs
|
|
|
|
- python38-lxml
|
|
|
|
- python38-markupsafe
|
|
|
|
- python38-mod_wsgi
|
|
|
|
- python38-numpy
|
|
|
|
- python38-numpy-f2py
|
|
|
|
- python38-pip
|
|
|
|
- python38-pip-wheel
|
|
|
|
- python38-ply
|
|
|
|
- python38-psutil
|
|
|
|
- python38-psycopg2
|
|
|
|
- python38-pycparser
|
|
|
|
- python38-pysocks
|
|
|
|
- python38-pytz
|
|
|
|
- python38-pyyaml
|
|
|
|
- python38-requests
|
|
|
|
- python38-rpm-macros
|
|
|
|
- python38-scipy
|
|
|
|
- python38-setuptools
|
|
|
|
- python38-setuptools-wheel
|
|
|
|
- python38-six
|
|
|
|
- python38-test
|
|
|
|
- python38-tkinter
|
|
|
|
- python38-urllib3
|
|
|
|
- python38-wheel
|
|
|
|
- python38-wheel-wheel
|
|
|
|
buildopts:
|
|
|
|
rpms:
|
|
|
|
# === Bootstrap phase 1 ===
|
|
|
|
#
|
|
|
|
# %python3_pkgversion 38
|
|
|
|
# %_without_python2 1
|
|
|
|
# # python38, setuptools, wheel
|
|
|
|
# %_with_bootstrap 1
|
|
|
|
# # python38
|
|
|
|
# %_without_rpmwheels 1
|
|
|
|
# # python38, setuptools, pip
|
|
|
|
# %_without_tests 1
|
|
|
|
# # pip
|
|
|
|
# %_without_doc 1
|
|
|
|
|
|
|
|
# === Bootstrap phase 2 ===
|
|
|
|
#
|
|
|
|
# %python3_pkgversion 38
|
|
|
|
# %_without_python2 1
|
|
|
|
# # python38, setuptools, six, py, chardet, attrs, pluggy, pysocks,
|
|
|
|
# # atomicwrites, wcwidth, packaging
|
|
|
|
# %_without_tests 1
|
|
|
|
# # py, pyparsing, atomicwrites, packaging, pytest
|
|
|
|
# %_without_docs 1
|
|
|
|
# # pytest
|
|
|
|
# %_without_timeout 1
|
|
|
|
# %_without_optional_tests 1
|
|
|
|
|
2020-07-28 14:31:33 +00:00
|
|
|
# Macros bootstrapping info:
|
|
|
|
# Only the macros that are below the `macros: |` declaration are
|
|
|
|
# being used in the module at a given time. If you want to switch
|
|
|
|
# to a different bootstrap phase, comment out the current
|
|
|
|
# bootstrap phase macros, move them above this section. And take
|
|
|
|
# the bootstrap phase you want to use, uncomment it, and move it
|
|
|
|
# here, below the `macros: |` line.
|
|
|
|
# Explanation:
|
|
|
|
# Macros are expanded even when they are commented out using '#',
|
|
|
|
# therefore it's safer to just move them out of the macros
|
|
|
|
# section entirely to avoid possible issues.
|
2020-01-21 23:41:40 +00:00
|
|
|
macros: |
|
|
|
|
# === Bootstrap phase 3/4 ===
|
|
|
|
#
|
|
|
|
%python3_pkgversion 38
|
|
|
|
%_without_python2 1
|
|
|
|
# py, pyparsing, atomicwrites, packaging, pytest
|
|
|
|
%_without_docs 1
|
2020-07-28 14:31:33 +00:00
|
|
|
|
2020-01-21 23:41:40 +00:00
|
|
|
components:
|
|
|
|
rpms:
|
|
|
|
# === Bootstrap phase 1 ===
|
|
|
|
#
|
|
|
|
# python38:
|
|
|
|
# rationale: The main Python interpreter
|
2021-03-30 20:20:01 +00:00
|
|
|
# ref: stream-3.8-rhel-8.4.0
|
2020-01-21 23:41:40 +00:00
|
|
|
# buildorder: 10
|
|
|
|
# python3x-setuptools:
|
|
|
|
# rationale: Packaging tool
|
2021-03-30 20:20:01 +00:00
|
|
|
# ref: stream-41.6.0-rhel-8.4.0
|
2020-01-21 23:41:40 +00:00
|
|
|
# buildorder: 20
|
|
|
|
# python-wheel:
|
|
|
|
# rationale: Packaging tool
|
2021-03-30 20:20:01 +00:00
|
|
|
# ref: stream-0.33.6-rhel-8.4.0
|
2020-01-21 23:41:40 +00:00
|
|
|
# buildorder: 30
|
|
|
|
# python3x-pip:
|
|
|
|
# rationale: Packaging tool
|
2021-03-30 20:20:01 +00:00
|
|
|
# ref: stream-19.3.1-rhel-8.4.0
|
2020-01-21 23:41:40 +00:00
|
|
|
# buildorder: 40
|
|
|
|
|
|
|
|
|
|
|
|
# === Bootstrap phase 2 ===
|
|
|
|
#
|
|
|
|
# python3x-setuptools:
|
|
|
|
# rationale: Packaging tool
|
2021-03-30 20:20:01 +00:00
|
|
|
# ref: stream-41.6.0-rhel-8.4.0
|
2020-01-21 23:41:40 +00:00
|
|
|
# buildorder: 10
|
|
|
|
# python38:
|
|
|
|
# rationale: The main Python interpreter
|
2021-03-30 20:20:01 +00:00
|
|
|
# ref: stream-3.8-rhel-8.4.0
|
2020-01-21 23:41:40 +00:00
|
|
|
# buildorder: 20
|
|
|
|
# python-wheel:
|
|
|
|
# rationale: Packaging tool
|
2021-03-30 20:20:01 +00:00
|
|
|
# ref: stream-0.33.6-rhel-8.4.0
|
2020-01-21 23:41:40 +00:00
|
|
|
# buildorder: 30
|
|
|
|
# python3x-pip:
|
|
|
|
# rationale: Packaging tool
|
2021-03-30 20:20:01 +00:00
|
|
|
# ref: stream-19.3.1-rhel-8.4.0
|
2020-01-21 23:41:40 +00:00
|
|
|
# buildorder: 30
|
2020-07-28 14:31:33 +00:00
|
|
|
|
2021-03-30 20:20:01 +00:00
|
|
|
# python3x-six:
|
2020-01-21 23:41:40 +00:00
|
|
|
# rationale: Python component
|
2021-03-30 20:20:01 +00:00
|
|
|
# ref: stream-1.12.0-rhel-8.4.0
|
2020-01-21 23:41:40 +00:00
|
|
|
# buildorder: 30
|
|
|
|
# python-py:
|
|
|
|
# rationale: Python component
|
2021-03-30 20:20:01 +00:00
|
|
|
# ref: stream-1.8.0-rhel-8.4.0
|
2020-01-21 23:41:40 +00:00
|
|
|
# buildorder: 30
|
|
|
|
# python-chardet:
|
|
|
|
# rationale: Python component
|
2021-03-30 20:20:01 +00:00
|
|
|
# ref: stream-3.0.4-python38-rhel-8.4.0
|
2020-01-21 23:41:40 +00:00
|
|
|
# buildorder: 30
|
|
|
|
# python-attrs:
|
|
|
|
# rationale: Python component
|
2021-03-30 20:20:01 +00:00
|
|
|
# ref: stream-19.3.0-rhel-8.4.0
|
2020-01-21 23:41:40 +00:00
|
|
|
# buildorder: 30
|
|
|
|
# python-pluggy:
|
|
|
|
# rationale: Python component
|
2021-03-30 20:20:01 +00:00
|
|
|
# ref: stream-0.13.0-rhel-8.4.0
|
2020-01-21 23:41:40 +00:00
|
|
|
# buildorder: 30
|
|
|
|
# python-markupsafe:
|
|
|
|
# rationale: Python component
|
2021-03-30 20:20:01 +00:00
|
|
|
# ref: stream-1.1.1-rhel-8.4.0
|
2020-01-21 23:41:40 +00:00
|
|
|
# buildorder: 30
|
|
|
|
# python-pysocks:
|
|
|
|
# rationale: Python component
|
2021-03-30 20:20:01 +00:00
|
|
|
# ref: stream-1.7.1-rhel-8.4.0
|
2020-01-21 23:41:40 +00:00
|
|
|
# buildorder: 30
|
|
|
|
# python3x-pyparsing:
|
|
|
|
# rationale: Python component
|
2021-03-30 20:20:01 +00:00
|
|
|
# ref: stream-2.4.5-rhel-8.4.0
|
2020-01-21 23:41:40 +00:00
|
|
|
# buildorder: 30
|
|
|
|
# python-atomicwrites:
|
|
|
|
# rationale: Python component
|
2021-03-30 20:20:01 +00:00
|
|
|
# ref: stream-1.3.0-rhel-8.4.0
|
2020-01-21 23:41:40 +00:00
|
|
|
# buildorder: 30
|
|
|
|
# python-wcwidth:
|
|
|
|
# rationale: Python component
|
2021-03-30 20:20:01 +00:00
|
|
|
# ref: stream-0.1.7-rhel-8.4.0
|
2020-01-21 23:41:40 +00:00
|
|
|
# buildorder: 30
|
|
|
|
# python-more-itertools:
|
|
|
|
# rationale: Python component
|
2021-03-30 20:20:01 +00:00
|
|
|
# ref: stream-7.2.0-rhel-8.4.0
|
2020-01-21 23:41:40 +00:00
|
|
|
# buildorder: 40
|
|
|
|
# python-packaging:
|
|
|
|
# rationale: Python component
|
2021-03-30 20:20:01 +00:00
|
|
|
# ref: stream-19.2-rhel-8.4.0
|
2020-01-21 23:41:40 +00:00
|
|
|
# buildorder: 40
|
|
|
|
# pytest:
|
|
|
|
# rationale: Python component
|
2021-03-30 20:20:01 +00:00
|
|
|
# ref: stream-4.6.6-rhel-8.4.0
|
2020-01-21 23:41:40 +00:00
|
|
|
# buildorder: 50
|
|
|
|
|
|
|
|
|
|
|
|
# === Bootstrap phase 3/4 ===
|
|
|
|
# For bootstrap phase 3 uncomment all `buildorder:` lines below,
|
|
|
|
# for bootstrap phase 4 comment them out.
|
|
|
|
#
|
|
|
|
python38:
|
|
|
|
rationale: The main Python interpreter
|
2023-03-28 12:44:03 +00:00
|
|
|
ref: stream-3.8-rhel-8.8.0
|
2020-01-21 23:41:40 +00:00
|
|
|
python3x-setuptools:
|
|
|
|
rationale: Packaging tool
|
2023-03-28 12:44:03 +00:00
|
|
|
ref: stream-41.6.0-rhel-8.8.0
|
2020-01-21 23:41:40 +00:00
|
|
|
python-wheel:
|
|
|
|
rationale: Packaging tool
|
2023-03-28 12:44:03 +00:00
|
|
|
ref: stream-0.33.6-rhel-8.8.0
|
2020-01-21 23:41:40 +00:00
|
|
|
python3x-pip:
|
|
|
|
rationale: Packaging tool
|
2023-03-28 12:44:03 +00:00
|
|
|
ref: stream-19.3.1-rhel-8.8.0
|
2020-01-21 23:41:40 +00:00
|
|
|
|
2021-03-30 20:20:01 +00:00
|
|
|
python3x-six:
|
2020-01-21 23:41:40 +00:00
|
|
|
rationale: Python component
|
2023-03-28 12:44:03 +00:00
|
|
|
ref: stream-1.12.0-rhel-8.8.0
|
2020-01-21 23:41:40 +00:00
|
|
|
python-py:
|
|
|
|
rationale: Python component
|
2023-03-28 12:44:03 +00:00
|
|
|
ref: stream-1.8.0-rhel-8.8.0
|
2020-01-21 23:41:40 +00:00
|
|
|
python-chardet:
|
|
|
|
rationale: Python component
|
2023-03-28 12:44:03 +00:00
|
|
|
ref: stream-3.0.4-python38-rhel-8.8.0
|
2020-01-21 23:41:40 +00:00
|
|
|
python-attrs:
|
|
|
|
rationale: Python component
|
2023-03-28 12:44:03 +00:00
|
|
|
ref: stream-19.3.0-rhel-8.8.0
|
2020-01-21 23:41:40 +00:00
|
|
|
python-pluggy:
|
|
|
|
rationale: Python component
|
2023-03-28 12:44:03 +00:00
|
|
|
ref: stream-0.13.0-rhel-8.8.0
|
2020-01-21 23:41:40 +00:00
|
|
|
python-markupsafe:
|
|
|
|
rationale: Python component
|
2023-03-28 12:44:03 +00:00
|
|
|
ref: stream-1.1.1-rhel-8.8.0
|
2020-01-21 23:41:40 +00:00
|
|
|
python-pysocks:
|
|
|
|
rationale: Python component
|
2023-03-28 12:44:03 +00:00
|
|
|
ref: stream-1.7.1-rhel-8.8.0
|
2020-01-21 23:41:40 +00:00
|
|
|
python3x-pyparsing:
|
|
|
|
rationale: Python component
|
2023-03-28 12:44:03 +00:00
|
|
|
ref: stream-2.4.5-rhel-8.8.0
|
2020-01-21 23:41:40 +00:00
|
|
|
python-atomicwrites:
|
|
|
|
rationale: Python component
|
2023-03-28 12:44:03 +00:00
|
|
|
ref: stream-1.3.0-rhel-8.8.0
|
2020-01-21 23:41:40 +00:00
|
|
|
python-wcwidth:
|
|
|
|
rationale: Python component
|
2023-03-28 12:44:03 +00:00
|
|
|
ref: stream-0.1.7-rhel-8.8.0
|
2020-01-21 23:41:40 +00:00
|
|
|
python-more-itertools:
|
|
|
|
rationale: Python component
|
2023-03-28 12:44:03 +00:00
|
|
|
ref: stream-7.2.0-rhel-8.8.0
|
2020-01-21 23:41:40 +00:00
|
|
|
python-packaging:
|
|
|
|
rationale: Python component
|
2023-03-28 12:44:03 +00:00
|
|
|
ref: stream-19.2-rhel-8.8.0
|
2020-01-21 23:41:40 +00:00
|
|
|
pytest:
|
|
|
|
rationale: Python component
|
2023-03-28 12:44:03 +00:00
|
|
|
ref: stream-4.6.6-rhel-8.8.0
|
2020-01-21 23:41:40 +00:00
|
|
|
pytz:
|
|
|
|
rationale: Python component
|
2023-03-28 12:44:03 +00:00
|
|
|
ref: stream-2019.3-rhel-8.8.0
|
2020-01-21 23:41:40 +00:00
|
|
|
babel:
|
|
|
|
rationale: Python component
|
2023-03-28 12:44:03 +00:00
|
|
|
ref: stream-2.7.0-rhel-8.8.0
|
2020-01-21 23:41:40 +00:00
|
|
|
python-idna:
|
|
|
|
rationale: Python component
|
2023-03-28 12:44:03 +00:00
|
|
|
ref: stream-2.8-rhel-8.8.0
|
2020-01-21 23:41:40 +00:00
|
|
|
python-urllib3:
|
|
|
|
rationale: Python component
|
2023-03-28 12:44:03 +00:00
|
|
|
ref: stream-1.25.7-rhel-8.8.0
|
2020-01-21 23:41:40 +00:00
|
|
|
Cython:
|
|
|
|
rationale: Python component
|
2023-03-28 12:44:03 +00:00
|
|
|
ref: stream-0.29.14-rhel-8.8.0
|
2020-01-21 23:41:40 +00:00
|
|
|
python-asn1crypto:
|
|
|
|
rationale: Python component
|
2023-03-28 12:44:03 +00:00
|
|
|
ref: stream-1.2.0-rhel-8.8.0
|
2020-01-21 23:41:40 +00:00
|
|
|
python-ply:
|
|
|
|
rationale: Python component
|
2023-03-28 12:44:03 +00:00
|
|
|
ref: stream-3.11-rhel-8.8.0
|
2020-01-21 23:41:40 +00:00
|
|
|
python-psutil:
|
|
|
|
rationale: Python component
|
2023-03-28 12:44:03 +00:00
|
|
|
ref: stream-5.6.4-rhel-8.8.0
|
2020-01-21 23:41:40 +00:00
|
|
|
python-psycopg2:
|
|
|
|
rationale: Python component
|
2023-03-28 12:44:03 +00:00
|
|
|
ref: stream-2.8.4-rhel-8.8.0
|
2020-01-21 23:41:40 +00:00
|
|
|
mod_wsgi:
|
|
|
|
rationale: Python component
|
2023-03-28 12:44:03 +00:00
|
|
|
ref: stream-4.6.8-rhel-8.8.0
|
2020-01-21 23:41:40 +00:00
|
|
|
|
|
|
|
python-requests:
|
|
|
|
rationale: Python component
|
2023-03-28 12:44:03 +00:00
|
|
|
ref: stream-2.22.0-rhel-8.8.0
|
2020-01-21 23:41:40 +00:00
|
|
|
# buildorder: 10
|
|
|
|
python-jinja2:
|
|
|
|
rationale: Python component
|
2023-03-28 12:44:03 +00:00
|
|
|
ref: stream-2.11.3-rhel-8.8.0
|
2020-01-21 23:41:40 +00:00
|
|
|
# buildorder: 10
|
|
|
|
numpy:
|
|
|
|
rationale: Python component
|
2023-03-28 12:44:03 +00:00
|
|
|
ref: stream-1.17.3-rhel-8.8.0
|
2020-01-21 23:41:40 +00:00
|
|
|
# buildorder: 10
|
|
|
|
PyYAML:
|
|
|
|
rationale: Python component
|
2023-03-28 12:44:03 +00:00
|
|
|
ref: stream-5.3.1-rhel-8.8.0
|
2020-01-21 23:41:40 +00:00
|
|
|
# buildorder: 10
|
|
|
|
python-pycparser:
|
|
|
|
rationale: Python component
|
2023-03-28 12:44:03 +00:00
|
|
|
ref: stream-2.19-rhel-8.8.0
|
2020-01-21 23:41:40 +00:00
|
|
|
# buildorder: 10
|
|
|
|
python-lxml:
|
|
|
|
rationale: Python component
|
2023-03-28 12:44:03 +00:00
|
|
|
ref: stream-4.4.1-rhel-8.8.0
|
2020-01-21 23:41:40 +00:00
|
|
|
# buildorder: 10
|
|
|
|
|
|
|
|
python-cffi:
|
|
|
|
rationale: Python component
|
2023-03-28 12:44:03 +00:00
|
|
|
ref: stream-1.13.2-rhel-8.8.0
|
2020-01-21 23:41:40 +00:00
|
|
|
# buildorder: 20
|
|
|
|
scipy:
|
|
|
|
rationale: Python component
|
2023-03-28 12:44:03 +00:00
|
|
|
ref: stream-1.3.1-rhel-8.8.0
|
2020-01-21 23:41:40 +00:00
|
|
|
# buildorder: 20
|
|
|
|
|
|
|
|
python-cryptography:
|
|
|
|
rationale: Python component
|
2023-03-28 12:44:03 +00:00
|
|
|
ref: stream-2.8-rhel-8.8.0
|
2020-01-21 23:41:40 +00:00
|
|
|
# needs cffi
|
|
|
|
# buildorder: 30
|
|
|
|
|
|
|
|
python-PyMySQL:
|
|
|
|
rationale: Python component
|
2023-03-28 12:44:03 +00:00
|
|
|
ref: stream-0.10.1-python38-rhel-8.8.0
|
2020-01-21 23:41:40 +00:00
|
|
|
# needs cryptography
|
|
|
|
# buildorder: 40
|
|
|
|
...
|