import python36-3.6-8030020200515150628.24f1489c

This commit is contained in:
CentOS Sources 2020-07-28 10:41:57 -04:00 committed by Stepan Oksanichenko
parent 164638e7d0
commit 61c33603d7

View File

@ -1,152 +1,133 @@
---
document: modulemd document: modulemd
version: 2 version: 2
data: data:
name: python36 name: python36
stream: 3.6 stream: 3.6
summary: Python programming language, version 3.6 summary: Python programming language, version 3.6
description: |- description: >-
This module gives users access to the internal Python 3.6 in RHEL8, as This module gives users access to the internal Python 3.6 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]
# python-pymongo needs mongodb for tests
# - mongodb version `3.6` being the same as version of Python 3.6
# is a coincidence.
mongodb: [3.6]
requires:
platform: [el8]
references:
community: https://www.python.org/
documentation: https://docs.python.org/3.6/
profiles:
common:
rpms:
- python36
build:
rpms:
- python36
- python36-devel
- python36-rpm-macros
filter:
rpms:
- python2-PyMySQL
- python2-docutils
- python2-nose
- python2-pygments
- python2-scipy
- python2-sqlalchemy
- python2-virtualenv
api:
rpms:
- python-sqlalchemy-doc
- python-virtualenv-doc
- python3-PyMySQL
- python3-bson
- python3-distro
- python3-docs
- python3-docutils
- python3-nose
- python3-pygments
- python3-pymongo
- python3-pymongo-gridfs
- python3-scipy
- python3-sqlalchemy
- python3-virtualenv
- python3-wheel
- python36
- python36-debug
- python36-devel
- python36-rpm-macros
buildopts:
rpms:
macros: |
%_without_python2 1
# For packages depending on python36, so that they well as provides some additional Python packages the users might need.
# BuildRequire python36-devel/debug/rpm-macros instead of python3-*
# In addition to these you can install any python3-* package available
# This won't be necessary for python37 and later. There we can
# set %{python3_pkgversion}, because all packages will need to in RHEL and use it with Python from this module.
# have the pythonXY prefix. Whereas for Python 3.6 the packages license:
# are split between non-modular RHEL and the python36 module, module:
# and so it was easier and less confusing to keep the prefix at - MIT
# python3- except for the devel/debug/rpm/macros packages. dependencies:
%_with_python36_module 1 - buildrequires:
components: mongodb: [3.6]
rpms: platform: [el8]
python36: requires:
# This package needs to be built before all others due to containing python36-rpm-macros platform: [el8]
rationale: references:
Contains the symlink to the platform-python interpreter. community: https://www.python.org/
Also contains python36-rpm-macros needed to build the documentation: https://docs.python.org/3.6/
remaining packages. profiles:
ref: stream-3.6-rhel-8.1.0 build:
buildorder: 10 rpms:
python-PyMySQL: - python36
rationale: Python adapter for the MySQL/MariaDB databases - python36-devel
# PyMySQL [0] vs. mysqlclient-python [1] - python36-rpm-macros
# - PyMySQL was originally chosen for the rh-python35 RH common:
# Software collection due to the opinion that maintaining rpms:
# mysqlclient-python would take much more resources (bad - python36
# communication with upstream, backward incompatibilities in api:
# test suite, ...)[2]. PyMySQL was deemed the better rpms:
# alternative. - python-sqlalchemy-doc
# - When creating this module, this decision was reassessed, - python-virtualenv-doc
# because mysqlclient-python seems to be faster than PyMySQL, - python3-PyMySQL
# but the choice was reaffirmed due to the customers already - python3-bson
# being familiar with PyMySQL from the abovementioned RHSCLs, - python3-distro
# and due to wider popularity of PyMySQL upstream.[3] - python3-docs
# [0] https://github.com/PyMySQL/PyMySQL - python3-docutils
# [1] https://github.com/PyMySQL/mysqlclient-python - python3-nose
# [2] https://bugzilla.redhat.com/show_bug.cgi?id=1012475 - python3-pygments
# [3] python-maint@redhat.com mailing list, 2018-04-30, subject - python3-pymongo
# "python-MySQL vs PyMySQL" - python3-pymongo-gridfs
ref: stream-0.8.0-rhel-8.1.0 - python3-scipy
buildorder: 20 - python3-sqlalchemy
python-docutils: - python3-virtualenv
rationale: System for processing plaintext documentation - python3-wheel
ref: stream-0.14-rhel-8.1.0 - python36
buildorder: 20 - python36-debug
python-nose: - python36-devel
rationale: Discovery-based unit test extension for Python - python36-rpm-macros
ref: stream-1.3.7-rhel-8.1.0 filter:
buildorder: 20 rpms:
python-pygments: - python2-PyMySQL
rationale: Syntax highlighting engine written in Python - python2-docutils
ref: stream-2.2.0-rhel-8.1.0 - python2-nose
buildorder: 20 - python2-pygments
python-pymongo: - python2-scipy
# Package maintainer: mskalick - python2-sqlalchemy
rationale: Python driver for MongoDB - python2-virtualenv
ref: stream-3.6.1-rhel-8.1.0 buildopts:
buildorder: 20 rpms:
python-sqlalchemy: macros: |
rationale: Modular and flexible ORM library for python %_without_python2 1
ref: stream-1.3.2-rhel-8.1.0
buildorder: 20 # For packages depending on python36, so that they
python-wheel: # BuildRequire python36-devel/debug/rpm-macros instead of python3-*
rationale: Built-package format for Python #
ref: stream-0.30.0-rhel-8.1.0 # This won't be necessary for python37 and later. There we can
buildorder: 20 # set %{python3_pkgversion}, because all packages will need to
scipy: # have the pythonXY prefix. Whereas for Python 3.6 the packages
rationale: Scientific Tools for Python # are split between non-modular RHEL and the python36 module,
ref: stream-1.0.0-rhel-8.1.0 # and so it was easier and less confusing to keep the prefix at
buildorder: 20 # python3- except for the devel/debug/rpm/macros packages.
python-docs: %_with_python36_module 1
rationale: Documentation for Python components:
ref: stream-3.6-rhel-8.1.0 rpms:
buildorder: 20 python-PyMySQL:
python-distro: rationale: Python adapter for the MySQL/MariaDB databases
rationale: Linux Distribution - a Linux OS platform information API ref: stream-0.8.0-rhel-8.3.0
ref: stream-1.4-rhel-8.1.0 buildorder: 20
buildorder: 20 python-distro:
python-virtualenv: rationale: Linux Distribution - a Linux OS platform information API
rationale: Tool to create isolated Python environments ref: stream-1.4-rhel-8.3.0
ref: stream-15.1.0-rhel-8.1.0 buildorder: 20
buildorder: 30 python-docs:
rationale: Documentation for Python
ref: stream-3.6-rhel-8.3.0
buildorder: 20
python-docutils:
rationale: System for processing plaintext documentation
ref: stream-0.14-rhel-8.3.0
buildorder: 20
python-nose:
rationale: Discovery-based unit test extension for Python
ref: stream-1.3.7-rhel-8.3.0
buildorder: 20
python-pygments:
rationale: Syntax highlighting engine written in Python
ref: stream-2.2.0-rhel-8.3.0
buildorder: 20
python-pymongo:
rationale: Python driver for MongoDB
ref: stream-3.6.1-rhel-8.3.0
buildorder: 20
python-sqlalchemy:
rationale: Modular and flexible ORM library for python
ref: stream-1.3.2-rhel-8.3.0
buildorder: 20
python-virtualenv:
rationale: Tool to create isolated Python environments
ref: stream-15.1.0-rhel-8.3.0
buildorder: 30
python-wheel:
rationale: Built-package format for Python
ref: stream-0.30.0-rhel-8.3.0
buildorder: 20
python36:
rationale: Contains the symlink to the platform-python interpreter. Also contains
python36-rpm-macros needed to build the remaining packages.
ref: stream-3.6-rhel-8.3.0
buildorder: 10
scipy:
rationale: Scientific Tools for Python
ref: stream-1.0.0-rhel-8.3.0
buildorder: 20
...