Name: tmt Version: 1.36.dev888 Release: 1.20240902123341366073.pr3166.46.gb6430351%{?dist} Summary: Test Management Tool License: MIT URL: https://github.com/teemtee/tmt Source0: tmt-1.36.0.dev46+gb6430351.tar.gz BuildArch: noarch BuildRequires: python3-devel Requires: git-core rsync sshpass %if 0%{?fedora} < 40 Obsoletes: python3-tmt < %{version}-%{release} Provides: tmt-report-html == %{version}-%{release} Obsoletes: tmt-report-html < %{version}-%{release} Provides: tmt-report-junit == %{version}-%{release} Obsoletes: tmt-report-junit < %{version}-%{release} Provides: tmt-report-polarion == %{version}-%{release} Obsoletes: tmt-report-polarion < %{version}-%{release} Provides: tmt-report-reportportal == %{version}-%{release} Obsoletes: tmt-report-reportportal < %{version}-%{release} %endif Recommends: bash-completion %py_provides python3-tmt %global _metapackage_description %{expand: This is a metapackage bringing in extra dependencies for tmt. It contains no code, just makes sure the dependencies are installed.} %description The tmt Python module and command line tool implement the test metadata specification (L1 and L2) and allows easy test execution. %pyproject_extras_subpkg -n tmt export-polarion %pyproject_extras_subpkg -n tmt report-junit %pyproject_extras_subpkg -n tmt report-polarion %package -n tmt+test-convert Summary: Dependencies required for tmt test import and export Provides: tmt-test-convert == %{version}-%{release} %if 0%{?fedora} < 40 Obsoletes: tmt-test-convert < %{version}-%{release} %endif Requires: tmt == %{version}-%{release} Requires: make Requires: python3-bugzilla Requires: python3-nitrate Requires: python3-html2text Requires: python3-markdown %description -n tmt+test-convert %_metapackage_description %package -n tmt+provision-container Summary: Dependencies required for tmt container provisioner Provides: tmt-provision-container == %{version}-%{release} %if 0%{?fedora} < 40 Obsoletes: tmt-provision-container < %{version}-%{release} %endif Requires: tmt == %{version}-%{release} Requires: podman Requires: (ansible or ansible-collection-containers-podman) %description -n tmt+provision-container %_metapackage_description %package -n tmt+provision-virtual Summary: Dependencies required for tmt virtual machine provisioner Provides: tmt-provision-virtual == %{version}-%{release} %if 0%{?fedora} < 40 Obsoletes: tmt-provision-virtual < %{version}-%{release} %endif Requires: tmt == %{version}-%{release} Requires: python3-testcloud >= 0.9.13 Requires: libvirt-daemon-config-network Requires: openssh-clients Requires: (ansible or ansible-core) # Recommend qemu system emulators for supported arches Recommends: qemu-kvm-core %if 0%{?fedora} Recommends: qemu-system-aarch64-core Recommends: qemu-system-ppc-core Recommends: qemu-system-s390x-core Recommends: qemu-system-x86-core %endif %description -n tmt+provision-virtual %_metapackage_description %package -n tmt+provision-beaker Summary: Dependencies required for tmt beaker provisioner Provides: tmt-provision-beaker == %{version}-%{release} %if 0%{?fedora} < 40 Obsoletes: tmt-provision-beaker < %{version}-%{release} %endif Requires: tmt == %{version}-%{release} Requires: python3-mrack-beaker %description -n tmt+provision-beaker %_metapackage_description # Replace with pyproject_extras_subpkg at some point %package -n tmt+all Summary: Extra dependencies for the Test Management Tool Provides: tmt-all == %{version}-%{release} %if 0%{?fedora} < 40 Obsoletes: tmt-all < %{version}-%{release} %endif Requires: tmt+test-convert == %{version}-%{release} Requires: tmt+export-polarion == %{version}-%{release} Requires: tmt+provision-container == %{version}-%{release} Requires: tmt+provision-virtual == %{version}-%{release} Requires: tmt+provision-beaker == %{version}-%{release} Requires: tmt+report-junit == %{version}-%{release} Requires: tmt+report-polarion == %{version}-%{release} %description -n tmt+all All extra dependencies of the Test Management Tool. Install this package to have all available plugins ready for testing. %prep %autosetup -p1 -n tmt-1.36.0.dev46+gb6430351 %generate_buildrequires %pyproject_buildrequires %build export SETUPTOOLS_SCM_PRETEND_VERSION=%{version} %pyproject_wheel %install %pyproject_install %pyproject_save_files tmt mkdir -p %{buildroot}%{_mandir}/man1 install -pm 644 tmt.1 %{buildroot}%{_mandir}/man1 mkdir -p %{buildroot}%{_datadir}/bash-completion/completions install -pm 644 completions/bash/%{name} %{buildroot}%{_datadir}/bash-completion/completions/%{name} mkdir -p %{buildroot}/etc/%{name}/ install -pm 644 %{name}/steps/provision/mrack/mrack* %{buildroot}/etc/%{name}/ %check %pyproject_check_import %files -n tmt -f %{pyproject_files} %doc README.rst examples %{_bindir}/tmt %{_mandir}/man1/tmt.1.gz %{_datadir}/bash-completion/completions/%{name} %files -n tmt+provision-container -f %{_pyproject_ghost_distinfo} %files -n tmt+provision-virtual -f %{_pyproject_ghost_distinfo} %files -n tmt+test-convert -f %{_pyproject_ghost_distinfo} %files -n tmt+provision-beaker -f %{_pyproject_ghost_distinfo} %config(noreplace) %{_sysconfdir}/%{name}/mrack* %files -n tmt+all -f %{_pyproject_ghost_distinfo} %changelog * Mon Sep 02 2024 Packit - 1.36.dev888-1.20240902123341366073.pr3166.46.gb6430351 - fixup: save the testsuites properties into ResultsContext (Otto Sabart) - Generate XUnit Polarion flavor using JUnit report plugin (Otto Sabart) - docs: add info into release notes (Otto Sabart) - fixup: add explicit cast to results list (Otto Sabart) - fixup: another multiline string fix (Otto Sabart) - fixup: use durations in sum directly (Otto Sabart) - fixup: remove unnecessary wrapper method (Otto Sabart) - fixup: use multiline strings (Otto Sabart) - fixup: use `raise .. from` for other exceptions (Otto Sabart) - fixup: remove metavar from flavor choices (Otto Sabart) - fixup: catch the import error, do not create unnecessary indent (Otto Sabart) - fixup: change the verbose label to be more descriptive (Otto Sabart) - fixup: use a direct cause when raising the ReportError (Otto Sabart) - fixup: remove magic template_dir constant (Otto Sabart) - fixup: define properties as a property setter (Otto Sabart) - fixup: doc: fix the summary, add :py:class: prefixes (Otto Sabart) - Generate JUnit files using Jinja2 instead of junit-xml (Otto Sabart) - Support different job owner when creating Beaker jobs (#3179) (Miloš Prchlík) - Move SSH master sockets under workdir (#3165) (Miloš Prchlík) - Changing Clean.guests() to accept run IDs (#3163) (skycastlelily) - Move timestamp/duration formatting to utils [Step results #5] (#3019) (Miloš Prchlík) - Extend xfail to F41 for pint and nitrate issues (#3173) (Martin Hoyer) - Add Fedora 41 among images we test against (#3172) (Miloš Prchlík) - Fix thundebolt typo (#3171) (Mario Casquero) - Fix the operator to be not equal in string values (#3170) (Mario Casquero) - Drop no longer valid limitations of multihost from docs (#3169) (Miloš Prchlík) - Show the subresults and their checks in the HTML report (#3095) (Sabart Otto) - Add `warnings.deprecated` (#3062) (Cristian Le) - Fix handling of empty set of allowed linters (#3158) (Miloš Prchlík) - Add (custom) result file validation, schema-based (#3153) (Miloš Prchlík) - reportportal: upload all test case results (#3135) (Karel Srot) - Remove redundant parsing user_data code (#3119) (skycastlelily) - Show subresults and their checks in report display plugin (#3107) (Sabart Otto) - Do not enable epel on EL 10 (#3128) (Sergei Petrosian) - Support v0.0.70 and v0.0.72 Artemis API (#3149) (Miloš Prchlík) - Fix docstrings of regex template filters (#3011) (Miloš Prchlík) - Prepare and finish steps save results of their phases [Step results #4] (#2979) (Miloš Prchlík) - Fix getting excluded variables from environment variable (#3148) (Petr Šplíchal) - Fix if typo in report spec description (#3146) (Mario Casquero) - Introduce submodules `utils.git` and `utils.templates` (#2983) (Miloš Prchlík) - Use concrete step data class when injecting requires (#3144) (Miloš Prchlík) - pre-commit hooks update; mypy, ruff fixes (#3142) (Martin Hoyer) - Use the default branch for polarion tests (Petr Šplíchal) - Rename result phase to subresult (Otto Sabart) - Correct the description for `where` under `finish` (mcasquer) - Add primitives for loading and saving step results (#2978) (Miloš Prchlík)