Compare commits

...

6 Commits

Author SHA1 Message Date
CentOS Sources
dc847f9a31 import python36-3.6-8080020230209124910.683b2e54 2023-05-16 07:58:29 +00:00
CentOS Sources
4557ef3556 import python36-3.6-8050020210811103506.982725ab 2021-12-09 11:13:45 +00:00
CentOS Sources
d77daf3430 import python36-3.6-8040020210127142720.9c5ef6b1 2021-09-13 18:13:17 +00:00
CentOS Sources
77f882d74d import python36-3.6-8030020200515150628.24f1489c 2021-09-13 18:13:09 +00:00
CentOS Sources
8f4a30fd9e import python36-3.6-8010020190724083915.a920e634 2021-09-13 18:13:00 +00:00
CentOS Sources
aaffaf995f import python36-3.6-8000020190410133122.593c47b3 2021-09-13 18:12:52 +00:00

View File

@ -1,145 +1,133 @@
---
document: modulemd document: modulemd
version: 2 version: 2
data: data:
summary: Python programming language, version 3.6 name: python36
description: |- stream: 3.6
This module gives users access to the internal Python 3.6 in RHEL8, as summary: Python programming language, version 3.6
well as provides some additional Python packages the users might need. description: >-
In addition to these you can install any python3-* package available This module gives users access to the internal Python 3.6 in RHEL8, as
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
# 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 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 - python3-scipy
buildorder: 20 - python3-sqlalchemy
python-docutils: - python3-virtualenv
rationale: System for processing plaintext documentation - python3-wheel
ref: stream-0.14 - 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 filter:
buildorder: 20 rpms:
python-pygments: - python2-PyMySQL
rationale: Syntax highlighting engine written in Python - python2-docutils
ref: stream-2.2.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 buildopts:
buildorder: 20 rpms:
python-sqlalchemy: macros: |
rationale: Modular and flexible ORM library for python %_without_python2 1
ref: stream-1.2.7
buildorder: 20 # For packages depending on python36, so that they
python-virtualenv: # BuildRequire python36-devel/debug/rpm-macros instead of python3-*
rationale: Tool to create isolated Python environments #
ref: stream-15.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
python-wheel: # have the pythonXY prefix. Whereas for Python 3.6 the packages
rationale: Built-package format for Python # are split between non-modular RHEL and the python36 module,
ref: stream-0.30.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.
scipy: %_with_python36_module 1
rationale: Scientific Tools for Python components:
ref: stream-1.0.0 rpms:
buildorder: 20 python-PyMySQL:
python-docs: rationale: Python adapter for the MySQL/MariaDB databases
rationale: Documentation for Python ref: stream-0.10.1-python36-rhel-8.8.0
ref: stream-3.6 buildorder: 20
buildorder: 20 python-distro:
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
...