2023-07-31 14:57:07 +00:00
|
|
|
---
|
|
|
|
document: modulemd
|
|
|
|
version: 2
|
|
|
|
data:
|
|
|
|
name: python38
|
2023-07-31 16:50:05 +00:00
|
|
|
stream: 3.8_bootstrap
|
2023-07-31 14:57:07 +00:00
|
|
|
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]
|
|
|
|
|
|
|
|
# Depending on our selves for bootstrapping
|
|
|
|
# This is not needed in bootstrap phase 1 and can be disabled
|
2023-07-31 16:50:05 +00:00
|
|
|
python38: [3.8]
|
2023-07-31 14:57:07 +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:
|
|
|
|
# In the 3.8-bootstrap stream we cannot filter RPMs (like we do in the 3.8 stream),
|
|
|
|
# because they wondn't be available to build against next time.
|
|
|
|
api:
|
|
|
|
rpms:
|
|
|
|
# api list of packages is only needed in the final build to be included in the metadata,
|
|
|
|
# therefore it's not included here in the 3.8-bootstrap stream so as not to maintain it
|
|
|
|
# in two different locations.
|
|
|
|
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
|
|
|
|
|
2023-07-31 16:50:05 +00:00
|
|
|
# === Bootstrap phase 3/4 ===
|
2023-07-31 14:57:07 +00:00
|
|
|
#
|
|
|
|
# %python3_pkgversion 38
|
|
|
|
# %_without_python2 1
|
|
|
|
# # py, pyparsing, atomicwrites, packaging, pytest
|
|
|
|
# %_without_docs 1
|
2023-07-31 16:50:05 +00:00
|
|
|
|
2023-07-31 14:57:07 +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.
|
|
|
|
macros: |
|
2023-07-31 16:50:05 +00:00
|
|
|
# === Bootstrap phase 2 ===
|
2023-07-31 14:57:07 +00:00
|
|
|
#
|
|
|
|
%python3_pkgversion 38
|
|
|
|
%_without_python2 1
|
2023-07-31 16:50:05 +00:00
|
|
|
# python38, setuptools, six, py, chardet, attrs, pluggy, pysocks,
|
|
|
|
# atomicwrites, wcwidth, packaging
|
|
|
|
%_without_tests 1
|
2023-07-31 14:57:07 +00:00
|
|
|
# py, pyparsing, atomicwrites, packaging, pytest
|
|
|
|
%_without_docs 1
|
2023-07-31 16:50:05 +00:00
|
|
|
# pytest
|
|
|
|
%_without_timeout 1
|
|
|
|
%_without_optional_tests 1
|
2023-07-31 14:57:07 +00:00
|
|
|
|
|
|
|
components:
|
|
|
|
rpms:
|
|
|
|
# === Bootstrap phase 1 ===
|
|
|
|
#
|
|
|
|
# python38:
|
|
|
|
# rationale: The main Python interpreter
|
2023-07-31 16:46:16 +00:00
|
|
|
# ref: stream-python38-3.8-rhel-8.9.0
|
2023-07-31 14:57:07 +00:00
|
|
|
# buildorder: 10
|
|
|
|
# python3x-setuptools:
|
|
|
|
# rationale: Packaging tool
|
2023-07-31 16:46:16 +00:00
|
|
|
# ref: stream-python38-3.8-rhel-8.9.0
|
2023-07-31 14:57:07 +00:00
|
|
|
# buildorder: 20
|
|
|
|
# python-wheel:
|
|
|
|
# rationale: Packaging tool
|
2023-07-31 16:46:16 +00:00
|
|
|
# ref: stream-python38-3.8-rhel-8.9.0
|
2023-07-31 14:57:07 +00:00
|
|
|
# buildorder: 30
|
|
|
|
# python3x-pip:
|
|
|
|
# rationale: Packaging tool
|
2023-07-31 16:46:16 +00:00
|
|
|
# ref: stream-python38-3.8-rhel-8.9.0
|
2023-07-31 14:57:07 +00:00
|
|
|
# buildorder: 40
|
|
|
|
|
|
|
|
|
|
|
|
# === Bootstrap phase 2 ===
|
|
|
|
#
|
|
|
|
python3x-setuptools:
|
|
|
|
rationale: Packaging tool
|
2023-07-31 16:46:16 +00:00
|
|
|
ref: stream-python38-3.8-rhel-8.9.0
|
2023-07-31 16:50:05 +00:00
|
|
|
buildorder: 10
|
|
|
|
python38:
|
|
|
|
rationale: The main Python interpreter
|
|
|
|
ref: stream-python38-3.8-rhel-8.9.0
|
|
|
|
buildorder: 20
|
2023-07-31 14:57:07 +00:00
|
|
|
python-wheel:
|
|
|
|
rationale: Packaging tool
|
2023-07-31 16:46:16 +00:00
|
|
|
ref: stream-python38-3.8-rhel-8.9.0
|
2023-07-31 16:50:05 +00:00
|
|
|
buildorder: 30
|
2023-07-31 14:57:07 +00:00
|
|
|
python3x-pip:
|
|
|
|
rationale: Packaging tool
|
2023-07-31 16:46:16 +00:00
|
|
|
ref: stream-python38-3.8-rhel-8.9.0
|
2023-07-31 16:50:05 +00:00
|
|
|
buildorder: 30
|
2023-07-31 14:57:07 +00:00
|
|
|
|
|
|
|
python3x-six:
|
|
|
|
rationale: Python component
|
2023-07-31 16:46:16 +00:00
|
|
|
ref: stream-python38-3.8-rhel-8.9.0
|
2023-07-31 16:50:05 +00:00
|
|
|
buildorder: 30
|
2023-07-31 14:57:07 +00:00
|
|
|
python-py:
|
|
|
|
rationale: Python component
|
2023-07-31 16:46:16 +00:00
|
|
|
ref: stream-python38-3.8-rhel-8.9.0
|
2023-07-31 16:50:05 +00:00
|
|
|
buildorder: 30
|
2023-07-31 14:57:07 +00:00
|
|
|
python-chardet:
|
|
|
|
rationale: Python component
|
2023-07-31 16:46:16 +00:00
|
|
|
ref: stream-python38-3.8-rhel-8.9.0
|
2023-07-31 16:50:05 +00:00
|
|
|
buildorder: 30
|
2023-07-31 14:57:07 +00:00
|
|
|
python-attrs:
|
|
|
|
rationale: Python component
|
2023-07-31 16:46:16 +00:00
|
|
|
ref: stream-python38-3.8-rhel-8.9.0
|
2023-07-31 16:50:05 +00:00
|
|
|
buildorder: 30
|
2023-07-31 14:57:07 +00:00
|
|
|
python-pluggy:
|
|
|
|
rationale: Python component
|
2023-07-31 16:46:16 +00:00
|
|
|
ref: stream-python38-3.8-rhel-8.9.0
|
2023-07-31 16:50:05 +00:00
|
|
|
buildorder: 30
|
2023-07-31 14:57:07 +00:00
|
|
|
python-markupsafe:
|
|
|
|
rationale: Python component
|
2023-07-31 16:46:16 +00:00
|
|
|
ref: stream-python38-3.8-rhel-8.9.0
|
2023-07-31 16:50:05 +00:00
|
|
|
buildorder: 30
|
2023-07-31 14:57:07 +00:00
|
|
|
python-pysocks:
|
|
|
|
rationale: Python component
|
2023-07-31 16:46:16 +00:00
|
|
|
ref: stream-python38-3.8-rhel-8.9.0
|
2023-07-31 16:50:05 +00:00
|
|
|
buildorder: 30
|
2023-07-31 14:57:07 +00:00
|
|
|
python3x-pyparsing:
|
|
|
|
rationale: Python component
|
2023-07-31 16:46:16 +00:00
|
|
|
ref: stream-python38-3.8-rhel-8.9.0
|
2023-07-31 16:50:05 +00:00
|
|
|
buildorder: 30
|
2023-07-31 14:57:07 +00:00
|
|
|
python-atomicwrites:
|
|
|
|
rationale: Python component
|
2023-07-31 16:46:16 +00:00
|
|
|
ref: stream-python38-3.8-rhel-8.9.0
|
2023-07-31 16:50:05 +00:00
|
|
|
buildorder: 30
|
2023-07-31 14:57:07 +00:00
|
|
|
python-wcwidth:
|
|
|
|
rationale: Python component
|
2023-07-31 16:46:16 +00:00
|
|
|
ref: stream-python38-3.8-rhel-8.9.0
|
2023-07-31 16:50:05 +00:00
|
|
|
buildorder: 30
|
2023-07-31 14:57:07 +00:00
|
|
|
python-more-itertools:
|
|
|
|
rationale: Python component
|
2023-07-31 16:46:16 +00:00
|
|
|
ref: stream-python38-3.8-rhel-8.9.0
|
2023-07-31 16:50:05 +00:00
|
|
|
buildorder: 40
|
2023-07-31 14:57:07 +00:00
|
|
|
python-packaging:
|
|
|
|
rationale: Python component
|
2023-07-31 16:46:16 +00:00
|
|
|
ref: stream-python38-3.8-rhel-8.9.0
|
2023-07-31 16:50:05 +00:00
|
|
|
buildorder: 40
|
2023-07-31 14:57:07 +00:00
|
|
|
pytest:
|
|
|
|
rationale: Python component
|
2023-07-31 16:46:16 +00:00
|
|
|
ref: stream-python38-3.8-rhel-8.9.0
|
2023-07-31 16:50:05 +00:00
|
|
|
buildorder: 50
|
2023-07-31 14:57:07 +00:00
|
|
|
|
|
|
|
|
2023-07-31 16:50:05 +00:00
|
|
|
# === 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
|
|
|
|
# ref: stream-python38-3.8-rhel-8.9.0
|
|
|
|
# python3x-setuptools:
|
|
|
|
# rationale: Packaging tool
|
|
|
|
# ref: stream-python38-3.8-rhel-8.9.0
|
|
|
|
# python-wheel:
|
|
|
|
# rationale: Packaging tool
|
|
|
|
# ref: stream-python38-3.8-rhel-8.9.0
|
|
|
|
# python3x-pip:
|
|
|
|
# rationale: Packaging tool
|
|
|
|
# ref: stream-python38-3.8-rhel-8.9.0
|
2023-07-31 14:57:07 +00:00
|
|
|
|
2023-07-31 16:50:05 +00:00
|
|
|
# python3x-six:
|
|
|
|
# rationale: Python component
|
|
|
|
# ref: stream-python38-3.8-rhel-8.9.0
|
|
|
|
# python-py:
|
|
|
|
# rationale: Python component
|
|
|
|
# ref: stream-python38-3.8-rhel-8.9.0
|
|
|
|
# python-chardet:
|
|
|
|
# rationale: Python component
|
|
|
|
# ref: stream-python38-3.8-rhel-8.9.0
|
|
|
|
# python-attrs:
|
|
|
|
# rationale: Python component
|
|
|
|
# ref: stream-python38-3.8-rhel-8.9.0
|
|
|
|
# python-pluggy:
|
|
|
|
# rationale: Python component
|
|
|
|
# ref: stream-python38-3.8-rhel-8.9.0
|
|
|
|
# python-markupsafe:
|
|
|
|
# rationale: Python component
|
|
|
|
# ref: stream-python38-3.8-rhel-8.9.0
|
|
|
|
# python-pysocks:
|
|
|
|
# rationale: Python component
|
|
|
|
# ref: stream-python38-3.8-rhel-8.9.0
|
|
|
|
# python3x-pyparsing:
|
|
|
|
# rationale: Python component
|
|
|
|
# ref: stream-python38-3.8-rhel-8.9.0
|
|
|
|
# python-atomicwrites:
|
|
|
|
# rationale: Python component
|
|
|
|
# ref: stream-python38-3.8-rhel-8.9.0
|
|
|
|
# python-wcwidth:
|
|
|
|
# rationale: Python component
|
|
|
|
# ref: stream-python38-3.8-rhel-8.9.0
|
|
|
|
# python-more-itertools:
|
|
|
|
# rationale: Python component
|
|
|
|
# ref: stream-python38-3.8-rhel-8.9.0
|
|
|
|
# python-packaging:
|
|
|
|
# rationale: Python component
|
|
|
|
# ref: stream-python38-3.8-rhel-8.9.0
|
|
|
|
# pytest:
|
|
|
|
# rationale: Python component
|
|
|
|
# ref: stream-python38-3.8-rhel-8.9.0
|
|
|
|
# pytz:
|
|
|
|
# rationale: Python component
|
|
|
|
# ref: stream-python38-3.8-rhel-8.9.0
|
|
|
|
# babel:
|
|
|
|
# rationale: Python component
|
|
|
|
# ref: stream-python38-3.8-rhel-8.9.0
|
|
|
|
# python-idna:
|
|
|
|
# rationale: Python component
|
|
|
|
# ref: stream-python38-3.8-rhel-8.9.0
|
|
|
|
# python-urllib3:
|
|
|
|
# rationale: Python component
|
|
|
|
# ref: stream-python38-3.8-rhel-8.9.0
|
|
|
|
# Cython:
|
|
|
|
# rationale: Python component
|
|
|
|
# ref: stream-python38-3.8-rhel-8.9.0
|
|
|
|
# python-asn1crypto:
|
|
|
|
# rationale: Python component
|
|
|
|
# ref:stream-python38-3.8-rhel-8.9.0
|
|
|
|
# python-ply:
|
|
|
|
# rationale: Python component
|
|
|
|
# ref: stream-python38-3.8-rhel-8.9.0
|
|
|
|
# python-psutil:
|
|
|
|
# rationale: Python component
|
|
|
|
# ref: stream-python38-3.8-rhel-8.9.0
|
|
|
|
# python-psycopg2:
|
|
|
|
# rationale: Python component
|
|
|
|
# ref: stream-python38-3.8-rhel-8.9.0
|
|
|
|
# mod_wsgi:
|
|
|
|
# rationale: Python component
|
|
|
|
# ref: stream-python38-3.8-rhel-8.9.0
|
2023-07-31 14:57:07 +00:00
|
|
|
|
2023-07-31 16:50:05 +00:00
|
|
|
# python-requests:
|
|
|
|
# rationale: Python component
|
|
|
|
# ref: stream-python38-3.8-rhel-8.9.0
|
|
|
|
# # buildorder: 10
|
|
|
|
# python-jinja2:
|
|
|
|
# rationale: Python component
|
|
|
|
# ref: stream-python38-3.8-rhel-8.9.0
|
|
|
|
# # buildorder: 10
|
|
|
|
# numpy:
|
|
|
|
# rationale: Python component
|
|
|
|
# ref: stream-python38-3.8-rhel-8.9.0
|
|
|
|
# # buildorder: 10
|
|
|
|
# PyYAML:
|
|
|
|
# rationale: Python component
|
|
|
|
# ref: stream-python38-3.8-rhel-8.9.0
|
|
|
|
# # buildorder: 10
|
|
|
|
# python-pycparser:
|
|
|
|
# rationale: Python component
|
|
|
|
# ref: stream-python38-3.8-rhel-8.9.0
|
|
|
|
# # buildorder: 10
|
|
|
|
# python-lxml:
|
|
|
|
# rationale: Python component
|
|
|
|
# ref: stream-python38-3.8-rhel-8.9.0
|
|
|
|
# # buildorder: 10
|
|
|
|
|
|
|
|
# python-cffi:
|
|
|
|
# rationale: Python component
|
|
|
|
# ref: stream-python38-3.8-rhel-8.9.0
|
|
|
|
# # buildorder: 20
|
|
|
|
# scipy:
|
|
|
|
# rationale: Python component
|
|
|
|
# ref: stream-python38-3.8-rhel-8.9.0
|
|
|
|
# # buildorder: 20
|
|
|
|
|
|
|
|
# python-cryptography:
|
|
|
|
# rationale: Python component
|
|
|
|
# ref: stream-python38-3.8-rhel-8.9.0
|
|
|
|
# # needs cffi
|
|
|
|
# # buildorder: 30
|
|
|
|
|
|
|
|
# python-PyMySQL:
|
|
|
|
# rationale: Python component
|
|
|
|
# ref: stream-python38-3.8-rhel-8.9.0
|
|
|
|
# # needs cryptography
|
|
|
|
# # buildorder: 40
|
2023-07-31 14:57:07 +00:00
|
|
|
...
|