python-wheel/tests/tests.yml
Miro Hrončok e9bd4f7fd1 Update to 0.34.2, drop support for Python 3.4 and other legacy stuff
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1795134

Since we cannot backport this to Fedora 32 due to Python 3.4, I've removed
legacy parts of the spec file:

 - %python_provide is not needed on Fedora 33+
 - Conflicts with Python 2 versions of python-wheel is not needed after 3 releases

Updated the description to match current upstream one.
Moved the build of the wheel to %install because the new source structure
requires wheel installed in order to use setup.py bdist_wheel.

Reordered the spec a bit.

Also, remove the unused python26 test dependency.
2020-08-11 10:36:43 +02:00

48 lines
1.2 KiB
YAML

---
- hosts: localhost
roles:
- role: standard-test-basic
tags:
- classic
repositories:
- repo: "https://src.fedoraproject.org/tests/python.git"
dest: "python"
- repo: "https://src.fedoraproject.org/rpms/pyproject-rpm-macros.git"
dest: "pyproject-rpm-macros"
tests:
- smoke27:
dir: python/smoke
run: VERSION=2.7 METHOD=virtualenv ./venv.sh
- smoke35:
dir: python/smoke
run: VERSION=3.5 METHOD=virtualenv ./venv.sh
- smoke36:
dir: python/smoke
run: VERSION=3.6 METHOD=virtualenv ./venv.sh
- smoke37:
dir: python/smoke
run: VERSION=3.7 METHOD=virtualenv ./venv.sh
- smoke38:
dir: python/smoke
run: VERSION=3.8 METHOD=virtualenv ./venv.sh
- pyproject_pytest:
dir: pyproject-rpm-macros/tests
run: ./mocktest.sh python-pytest
- pyproject_pluggy:
dir: pyproject-rpm-macros/tests
run: ./mocktest.sh python-pluggy
required_packages:
- gcc
- virtualenv
- python27
- python35
- python36
- python37
- python38
- python2-devel
- python3-devel
- python3-tox
- mock
- rpmdevtools
- rpm-build