Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
84 changes: 0 additions & 84 deletions configs/rhel-pt-python--unwanted-python2.yaml

This file was deleted.

18 changes: 9 additions & 9 deletions configs/rhel-pt-python--unwanted-python3-eln.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@ data:
description: Packages we do not want to ship for Python 3 in RHEL 11+
maintainer: rhel-pt-python
# See also rhel-pt-python--unwanted-python3.yaml, this only extends the set
unwanted_packages:
# older Python versions
- python3.12
- python3.12-libs
- python3.13
- python3.13-libs
# other packages
- python3-wheel
# components for the above
unwanted_source_packages:
# older Python versions
- python3.12
- python3.13
# setuptools no longer needs this to build wheels
# https://github.com/fedora-eln/eln/issues/284
- python-wheel
# no further need for Python2 code compatibility
# https://github.com/fedora-eln/eln/issues/255
- python-six
# unmaintained upstream, to be deprecated in Fedora
# https://github.com/fedora-eln/eln/issues/431
- python-dateutil
labels:
- eln
141 changes: 28 additions & 113 deletions configs/rhel-pt-python--unwanted-python3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ data:
name: Unwanted Python 3 packages
description: Packages we do not want to ship for Python 3
maintainer: rhel-pt-python
unwanted_packages:
unwanted_source_packages:
# The "other" Python versions might accidentally be pulled in by not yet rebuilt packages
# They are also Recommended by tox and hence pulled in as weak dependencies
- python3.5
Expand All @@ -14,129 +14,20 @@ data:
- python3.9
- python3.10
- python3.11
- python3.11-libs
- pypy
- pypy-devel
- pypy-libs
- pypy2
- pypy2-devel
- pypy2-libs
- pypy3
Comment thread
yselkowitz marked this conversation as resolved.
- pypy3-devel
- pypy3-libs
# Python Maint prefers the standard library venv module
- python3-virtualenv
# tox depends on virtualenv, and generally isn't something we want to support in RHEL
- python3-tox
- tox
# deprecated() Python packages:
- python3-nose
- python3-pytest4
- python3-pytoml
- python3-mock
- python3-zombie-imp
- python3-cython0.29
# the Jupyter Notebook stack we maintain in Fedora, but not in RHEL
- python-jupyter-filesystem
- python3-ipykernel
- python3-ipyparallel
- python3-ipython
- python3-ipywidgets
- python3-jedi
- python3-jupyter-client
- python3-jupyter-core
- python3-jupyter-server
- python3-matplotlib
- python3-nb2plots
- python3-nbclassic
- python3-nbclient
- python3-nbconvert
- python3-nbsphinx
- python3-notebook
- python3-numpydoc
- python3-pandas
- python3-pytest-jupyter
- python3-pytest-jupyter+client
- python3-pytest-jupyter+server
- python3-sympy
# Many packages measure coverage in %check, we should not need to do that in RHEL (or even in Fedora)
- python3-coverage
- python3-pytest-cov
- python3-codecov
# Many packages lint code in %check, we should not need to do that in RHEL (or even in Fedora)
- black
- python3-black
- python3-pycodestyle
- python3-pylint
- python3-pyflakes
- python3-flake8
- python3-isort
# funcsigs is a backport from the Python standard library inspect module, use that one instead
- python3-funcsigs
# hypothesis is a testing package with a fairly rapid release schedule,
# so it's not something we'd want to pin and support for an extended time
- python3-hypothesis
# breezy is only an optional test dependency of pip, with large dep tree
- breezy
# pillow is riddled with CVEs all the time, not something we want to fix
- python3-pillow
- python3-pillow-devel
- python3-pillow-qt
- python3-pillow-tk
# a test only depndencies, can be replaced by stdlib's unittest.mock if needed
# not "enterprise" material
- python3-pretend
- python3-sure
- python3-freezegun
- python3-trustme
# The Python standard library already has html.parser;
# another HTML parsing library is redundant
- python3-html5lib
# Web servers usually used for %check only, have a huge dep chain
- python3-twisted
# We only support two basic Sphinx themes in RHEL (alabaster and RTD)
- python3-Pallets-Sphinx-Themes
- python3-sphinx-theme-py3doc-enhanced
- python3-pydata-sphinx-theme
# Packages should only use python3-{flit,poetry}-core for build backends
- python3-flit
- flit
- python3-poetry
- poetry
# zoneinfo is in the Python standard library (PEP 615), use that one instead
- python3-pytz
# python3-chardet was pulled into RHEL 9 as a dependency of python3-requests,
# but they switched to python3-charset-normalizer instead,
# no need to maintain 2 packages with the same purpose
- python3-chardet
# tomllib is in the Python standard library (PEP 680), use that one instead
- python3-toml
- python3-tomli
# python3-py is in maintenance mode upstream, pretty much dead
# it used to be in RHEL as a dependency of pytest which bundled the necessary parts
- python3-py
# lxml-html-clean is the CVE-magnet part of lxml we split upstream to get rid of it
# nothing in ELN really ever used it, but let's not risk it
- python3-lxml-html-clean
# components for the above
unwanted_source_packages:
- python3.5
- python3.6
- python3.7
- python3.8
- python3.9
- python3.10
- python3.11
- pypy
- pypy2
- pypy3
- python-virtualenv
# tox depends on virtualenv, and generally isn't something we want to support in RHEL
- python-tox
# deprecated() Python packages:
- python-nose
- python-pytest4
- python-pytoml
- python-zombie-imp
- python-cython0.29
# the Jupyter Notebook stack we maintain in Fedora, but not in RHEL
- python-ipykernel
- python-ipyparallel
- ipython
Expand All @@ -156,34 +47,58 @@ data:
- python-pandas
- python-pytest-jupyter
- sympy
# Many packages measure coverage in %check, we should not need to do that in RHEL (or even in Fedora)
- python-coverage
- python-pytest-cov
- python-codecov
# Many packages lint code in %check, we should not need to do that in RHEL (or even in Fedora)
- python-black
- python-pycodestyle
- pylint
- pyflakes
- python-flake8
- python-isort
# funcsigs is a backport from the Python standard library inspect module, use that one instead
- python-funcsigs
# hypothesis is a testing package with a fairly rapid release schedule,
# so it's not something we'd want to pin and support for an extended time
- python-hypothesis
# breezy is only an optional test dependency of pip, with large dep tree
- breezy
# pillow is riddled with CVEs all the time, not something we want to fix
- python-pillow
# a test only depndencies, can be replaced by stdlib's unittest.mock if needed
# not "enterprise" material
- python-pretend
- python-sure
- python-freezegun
- python-trustme
# The Python standard library already has html.parser;
# another HTML parsing library is redundant
- python-html5lib
# Web servers usually used for %check only, have a huge dep chain
- python-twisted
# We only support two basic Sphinx themes in RHEL (alabaster and RTD)
- python-Pallets-Sphinx-Themes
- python-sphinx-theme-py3doc-enhanced
- python-pydata-sphinx-theme
# Packages should only use python3-{flit,poetry}-core for build backends
- python-flit
- poetry
# zoneinfo is in the Python standard library (PEP 615), use that one instead
- pytz
# python3-chardet was pulled into RHEL 9 as a dependency of python3-requests,
# but they switched to python3-charset-normalizer instead,
# no need to maintain 2 packages with the same purpose
- python-chardet
# tomllib is in the Python standard library (PEP 680), use that one instead
- python-toml
- python-tomli
# python3-py is in maintenance mode upstream, pretty much dead
# it used to be in RHEL as a dependency of pytest which bundled the necessary parts
- python-py
# lxml-html-clean is the CVE-magnet part of lxml we split upstream to get rid of it
# nothing in ELN really ever used it, but let's not risk it
- python-lxml-html-clean
labels:
- eln
Expand Down