Compare commits

..

No commits in common. "c8-stream-3.6" and "imports/c8-stream-3.6/python36-3.6-820190123171828.17efdbc7" have entirely different histories.

View File

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