e828b8291a
An incomplete .dist-info directory in $PWD can confuse tests in %check. For example, virtualenv uses importlib.metadata to load its entry points and it does not work when it finds a virtualenv...dist-info without them. Related: rhbz#2208971
107 lines
2.6 KiB
YAML
107 lines
2.6 KiB
YAML
---
|
|
- hosts: localhost
|
|
tags:
|
|
- classic
|
|
tasks:
|
|
- dnf:
|
|
name: "*"
|
|
state: latest
|
|
|
|
- hosts: localhost
|
|
roles:
|
|
- role: standard-test-basic
|
|
tags:
|
|
- classic
|
|
tests:
|
|
- pytest:
|
|
dir: .
|
|
run: ./mocktest.sh python-pytest
|
|
- entrypoints:
|
|
dir: .
|
|
run: ./mocktest.sh python-entrypoints
|
|
- pluggy:
|
|
dir: .
|
|
run: ./mocktest.sh python-pluggy
|
|
# uses poetry backend, no poetry in EL 9
|
|
# awaiting volunteers in https://bugzilla.redhat.com/2049649
|
|
#- clikit:
|
|
# dir: .
|
|
# run: ./mocktest.sh python-clikit
|
|
- distroinfo:
|
|
dir: .
|
|
run: ./mocktest.sh python-distroinfo
|
|
- tldr:
|
|
dir: .
|
|
run: ./mocktest.sh tldr
|
|
- openqa_client:
|
|
dir: .
|
|
run: ./mocktest.sh python-openqa_client
|
|
- httpbin:
|
|
dir: .
|
|
run: ./mocktest.sh python-httpbin
|
|
- ldap:
|
|
dir: .
|
|
run: ./mocktest.sh python-ldap
|
|
- isort:
|
|
dir: .
|
|
run: ./mocktest.sh python-isort
|
|
- mistune:
|
|
dir: .
|
|
run: ./mocktest.sh python-mistune
|
|
- setuptools_scm:
|
|
dir: .
|
|
run: ./mocktest.sh python-setuptools_scm
|
|
# awaiting jupyter-client in EPEL 9
|
|
#- ipykernel:
|
|
# dir: .
|
|
# run: ./mocktest.sh python-ipykernel
|
|
- zope:
|
|
dir: .
|
|
run: ./mocktest.sh python-zope-event
|
|
- django:
|
|
dir: .
|
|
run: ./mocktest.sh python-django
|
|
- printrun:
|
|
dir: .
|
|
run: ./mocktest.sh printrun
|
|
- dns_lexicon:
|
|
dir: .
|
|
run: ./mocktest.sh python-dns-lexicon
|
|
- flit_core:
|
|
dir: .
|
|
run: ./mocktest.sh python-flit-core
|
|
- poetry_core:
|
|
dir: .
|
|
run: ./mocktest.sh python-poetry-core
|
|
- setuptools:
|
|
dir: .
|
|
run: ./mocktest.sh python-setuptools
|
|
# too many missing deps in EPEL 9 (pre-commit, sphinx-issues, pallets-sphinx-themes)
|
|
#- markupsafe:
|
|
# dir: .
|
|
# run: ./mocktest.sh python-markupsafe
|
|
- getmac:
|
|
dir: .
|
|
run: ./mocktest.sh python-getmac
|
|
- userpath:
|
|
dir: .
|
|
run: ./mocktest.sh python-userpath
|
|
- double_install:
|
|
dir: .
|
|
run: ./mocktest.sh double-install
|
|
- fake_requirements:
|
|
dir: .
|
|
run: ./mocktest.sh fake-requirements
|
|
- virtualenv:
|
|
dir: .
|
|
run: ./mocktest.sh python-virtualenv
|
|
- escape_percentages:
|
|
dir: .
|
|
run: rpmbuild -ba escape_percentages.spec
|
|
required_packages:
|
|
- 'https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm'
|
|
- 'https://dl.fedoraproject.org/pub/epel/epel-next-release-latest-9.noarch.rpm'
|
|
- mock
|
|
- rpmdevtools
|
|
- rpm-build
|