9f43e2a760
This adds a new flag, -p, to %pyproject_buildrequires. When set, the runtime dependencies are read from the pyproject.toml's [project] table. See: https://bugzilla.redhat.com/2261939 pyproject_buildrequires.py already had a short `-p` option for --python3_pkgversion (hidden from the macro users). This change removes the one-letter option and leaves the long-one. `-p` is now reused for reading dependencies from pyproject.toml and made visible to the macro users.
116 lines
2.7 KiB
YAML
116 lines
2.7 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
|
|
- 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
|
|
- 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
|
|
- markupsafe:
|
|
dir: .
|
|
run: ./mocktest.sh python-markupsafe
|
|
- getmac:
|
|
dir: .
|
|
run: ./mocktest.sh python-getmac
|
|
- userpath:
|
|
dir: .
|
|
run: ./mocktest.sh python-userpath
|
|
- markdown_it_py:
|
|
dir: .
|
|
run: ./mocktest.sh python-markdown-it-py
|
|
- double_install:
|
|
dir: .
|
|
run: ./mocktest.sh double-install
|
|
- fake_requirements:
|
|
dir: .
|
|
run: ./mocktest.sh fake-requirements
|
|
- virtualenv:
|
|
dir: .
|
|
run: ./mocktest.sh python-virtualenv
|
|
- pello:
|
|
dir: .
|
|
run: ./mocktest.sh python-pello
|
|
- pello_with_options:
|
|
dir: .
|
|
run: ./mocktest.sh python-pello --with options
|
|
- escape_paths:
|
|
dir: .
|
|
run: ./mocktest.sh escape_paths
|
|
- config-settings-test:
|
|
dir: .
|
|
run: ./mocktest.sh config-settings-test
|
|
- isort_c9s:
|
|
dir: .
|
|
run: NAME="CentOS Stream" VERSION_ID=9 ./mocktest.sh python-isort
|
|
required_packages:
|
|
- mock
|
|
- rpmdevtools
|
|
- rpm-build
|