The package rpms/tmt.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/tmt.git/commit/?id=147a09813ef38e....
Change:
-ExcludeArch: %{power64}
Thanks.
Full change:
============
commit cf14d2ec99847ab922cb8ca4998f5a088a6050cb
Merge: defe612 65c7e58
Author: Lukáš Zachar <lzachar(a)redhat.com>
Date: Thu Mar 28 15:14:47 2024 +0100
Merge branch 'rawhide' into f39
commit 65c7e58f89f70dbceab33de2e6442fa7b13963bd
Author: Petr Šplíchal <psplicha(a)redhat.com>
Date: Thu Mar 28 08:56:59 2024 +0100
Run tier 1 tests only from the upstream tests set
diff --git a/plans/upstream.fmf b/plans/upstream.fmf
index 2fdbc4a..6c5c732 100644
--- a/plans/upstream.fmf
+++ b/plans/upstream.fmf
@@ -4,7 +4,7 @@ discover:
how: fmf
url:
https://github.com/teemtee/tmt
ref: fedora
- filter: "tier:0,1"
+ filter: "tier:1"
prepare+:
- how: install
commit 7bc338bfe8c7ef1e74efd39762aeef5e2f891c3c
Author: Petr Šplíchal <psplicha(a)redhat.com>
Date: Mon Mar 4 21:40:27 2024 +0100
Drop the `virtual` tag from `/plans/upstream`
It should not be necessary as both `/tests/core/escaping` and
`/tests/core/spaces` which are filtered out by it should now work
just fine under a virtualized machine.
diff --git a/plans/upstream.fmf b/plans/upstream.fmf
index 487a06b..2fdbc4a 100644
--- a/plans/upstream.fmf
+++ b/plans/upstream.fmf
@@ -1,11 +1,10 @@
-summary:
- Upstream tests working under virtual machine
+summary: Run a basic set of upstream tests
discover:
how: fmf
url:
https://github.com/teemtee/tmt
ref: fedora
- filter: "tag:virtual & tier:0,1"
+ filter: "tier:0,1"
prepare+:
- how: install
commit 5baffd6f8872be21ead8bc5a9bf723655d9cf442
Author: Michal Hlavinka <mhlavink(a)redhat.com>
Date: Tue Feb 13 08:28:35 2024 +0100
allow /var/tmp/tmt for rpminspect addedfiles check
fixes bodhi update ci checks
diff --git a/rpminspect.yaml b/rpminspect.yaml
new file mode 100644
index 0000000..c84e68f
--- /dev/null
+++ b/rpminspect.yaml
@@ -0,0 +1,5 @@
+---
+addedfiles:
+ ignore:
+ # rpminspect forbids /var/tmp prefix by default
+ - /var/tmp/tmt
commit 8a77af960c1883e66d52b329da4556ea7bd18bb3
Author: Packit <hello(a)packit.dev>
Date: Tue Feb 6 19:19:47 2024 +0000
[packit] 1.31.0 upstream release
Upstream tag: 1.31.0
Upstream commit: fdb16ba3
diff --git a/.gitignore b/.gitignore
index 260ee0f..a3ab452 100644
--- a/.gitignore
+++ b/.gitignore
@@ -42,3 +42,4 @@
/tmt-1.28.2.tar.gz
/tmt-1.29.0.tar.gz
/tmt-1.30.0.tar.gz
+/tmt-1.31.0.tar.gz
diff --git a/.packit.yaml b/.packit.yaml
index dcb7d34..bdd854a 100644
--- a/.packit.yaml
+++ b/.packit.yaml
@@ -57,6 +57,23 @@ jobs:
- fedora-all
- epel-9
+ # Test pull requests (provision)
+ - job: tests
+ identifier: provision
+ trigger: pull_request
+ manual_trigger: true
+ use_internal_tf: True
+ targets:
+ - fedora-latest-stable
+ tf_extra_params:
+ test:
+ tmt:
+ name: /plans/provision/virtual
+ environments:
+ - tmt:
+ context:
+ how: provision
+
# Test internal plugins
- job: tests
trigger: pull_request
@@ -137,8 +154,6 @@ jobs:
dist_git_branches:
- fedora-all
- epel-9
- actions:
- post-upstream-clone: []
- job: koji_build
trigger: commit
diff --git a/README.packit b/README.packit
index 14f5afe..29cc7d8 100644
--- a/README.packit
+++ b/README.packit
@@ -1,3 +1,3 @@
This repository is maintained by packit.
https://packit.dev/
-The file was generated using packit 0.87.1.post1.dev7+g9f53ebb4.
+The file was generated using packit 0.90.0.post1.dev9+g1f0325d1.
diff --git a/sources b/sources
index 546f280..3906811 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (tmt-1.30.0.tar.gz) =
bab76dd8ad5e5095b5e4d717b13a875750fb478bda85c47f83ffbc8fb8e6cb7a1727ddb802312c5e6e8b84b780d750a8de08893e1892e5f760991f7040351c56
+SHA512 (tmt-1.31.0.tar.gz) =
339ace3550697e3e704e1f189578c7c24bc80dec3aa3bf9621b3c57eda38c16dbcaf24b476e0378ee789b9d18bb030adf72d9df2751e77acacbfdab5e8875d3f
diff --git a/tmt.spec b/tmt.spec
index f295c68..a4c67ff 100644
--- a/tmt.spec
+++ b/tmt.spec
@@ -1,5 +1,5 @@
Name: tmt
-Version: 1.30.0
+Version: 1.31.0
Release: %autorelease
Summary: Test Management Tool
@@ -68,6 +68,7 @@ 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
@@ -147,6 +148,87 @@ install -pm 644 %{name}/steps/provision/mrack/mrack*
%{buildroot}/etc/%{name}/
%files -n tmt+all -f %{_pyproject_ghost_distinfo}
%changelog
+* Tue Feb 06 2024 Michal Hlavinka <mhlavink(a)redhat.com> - 1.31.0
+- Simple ReST renderer for CLI help texts (#2574)
+- Generate plugin documentation from their sources (#2549)
+- Fix environment from command line updated twice (#2614)
+- Introduce a new prepare plugin for common features (#2198)
+- Remove `xfail` for the `multidict` issue on `rawhide`
+- Prevent catching avc denials from previous tests
+- Remove an obsolete workaround for `centos-stream-8`
+- Enable the `/tests/discover/libraries` test (#2222)
+- Add documentation on tmt & regular expressions
+- Fix expansion of envvar starting with `@` in fmf nodes
+- Add the `zcrypt` adapter specification
+- Allow urllib3 2.x
+- Enable `/plans/provision/virtual` for pull requests (#2558)
+- Remove the dns failures workaround
+- Fix reporting of schema errors without the `$id` key
+- AVC check now saves a timestamp on guest instead of using runner's time
+- Add check to prevent `tmt try` deleting imported libraries
+- Reduce usage of locks in the `testcloud` plugin
+- Add support for envvars import and export to Polarion
+- Use enumeration to implement action handling
+- Handle the `ctrl-d` shortcut in `tmt try`
+- Run tests with `interactive` mode during `tmt try`
+- Fix `tmt import --dry` and Polarion import file name
+- Document that `name` is supported in `--filter` search (#2637)
+- Refactor running of interactive commands (#2554)
+- Create container images from the latest non-dev copr build
+- Fail `dmesg` check if it contains `Call Trace` or `segfault`
+- Mention the reboot timeout variable in the release notes
+- Bump the default reboot timeout to 10 minutes
+- Allow change of the default reboot timeout via environment variable
+- Introduce essential requirements
+- Allow `--update-missing` to change the default `how` value
+- Document the new `become` feature
+- Raise an error when loading pre-1.24 `tests.yaml`
+- Support terminating process running test via its test invocation (#2589)
+- Fix `egrep` warning in `/plans/install/docs`
+- Test framework may provide additional test requirements
+- Improve logging of AVC check plugin and its test
+- Cleanup logging in `tmt.utils.create_file()`
+- Drop connection closed messages from test output
+- Recommend `qemu-kvm-core` for `provision-virtual`
+- Fix `/tests/plan/import` to not use special ref (#2627)
+- Improve imported plan modification test to verify the order as well (#2618)
+- Retry the `git clone` action multiple times
+- Simplify the debuginfo installation test
+- Support `virtualization.is-virtualized` in `mrack` plugin
+- Support running all or selected steps `--again`
+- Allow hardware requirements limit acceptable operators
+- Fix inheritance of some keys in provision step data
+- Run a callback when command process starts
+- Add support for hard reboot to Beaker provision plugin
+- Make collected requires/recommends guest-aware
+- Copy top level `main.fmf` during testdir pruning
+- Add support for Artemis API v0.0.67
+- Add support for `cpu.flag` hardware requirement
+- Use a different pidfile location for the full test
+- Clear test invocation data path use and derived paths
+- Add support for disallowing plugins via command line
+- Use constraint classes specific for particular value type
+- Making rhts metric value optional.
+- Ignore tarballs and generated man page
+- Cover `tmt.libraries` with `pyright` checks
+- Parallelize the `provision` step
+- Let `click` know about the maximal output width
+- Cover `tmt.identifier` with `pyright` checks
+- Extend `duration` of `/tests/core/escaping` a bit
+- Move docs templates into their own directory
+- Drop no longer needed `tmt.utils.copytree()`
+- Drop no longer used `tmt.utils.listify()`
+- Provision plugins use `self.data` instead of `self.get()`
+- Prepare and finish plugins use self.data instead of self.get()
+- Fix tmt.utils.format to allow int and float values
+- Move code-related pages under new `code` directory
+- Warn on test case not found in Polarion during report
+- Bump pre-commit linters
+- When cloning a logger, give it its own copy of labels
+- Add a `Toolbelt Catalog` entry for `tmt`
+- Enable the `avc` check for all `tmt` tests
+- Fix dmesg check test on Fedora rawhide & newer
+
* Fri Dec 08 2023 Petr Šplíchal <psplicha(a)redhat.com> - 1.30.0
- Make `arch` field unsupported in the spec
- Introduce `tty` test attribute to control terminal environment
commit df5d3c5ce07a60eeec14f95b53207a9788c3fdfc
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Sat Jan 27 06:26:01 2024 +0000
Rebuilt for
https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
commit 026c942cb8ba540af5ff65a5e414d544eeb212d7
Author: Packit <hello(a)packit.dev>
Date: Mon Dec 11 20:22:29 2023 +0000
[packit] 1.30.0 upstream release
Upstream tag: 1.30.0
Upstream commit: 1a46dbb0
diff --git a/.gitignore b/.gitignore
index 7c1ce57..260ee0f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -41,3 +41,4 @@
/tmt-1.27.0.tar.gz
/tmt-1.28.2.tar.gz
/tmt-1.29.0.tar.gz
+/tmt-1.30.0.tar.gz
diff --git a/.packit.yaml b/.packit.yaml
index 3a8ad8c..dcb7d34 100644
--- a/.packit.yaml
+++ b/.packit.yaml
@@ -36,12 +36,26 @@ jobs:
# with the latest timestamp always wins.
- bash -c "hatch version | sed -E
's/\\.[0-9]+\\.dev.*/.dev888/'"
- # Test pull requests
+ # Test pull requests (core)
- job: tests
+ identifier: core
trigger: pull_request
targets:
- fedora-all
- epel-9
+ tf_extra_params:
+ test:
+ tmt:
+ name: /plans/features/(core|basic)
+
+ # Test pull requests (full)
+ - job: tests
+ identifier: full
+ trigger: pull_request
+ manual_trigger: true
+ targets:
+ - fedora-all
+ - epel-9
# Test internal plugins
- job: tests
diff --git a/README.packit b/README.packit
index 5998f60..14f5afe 100644
--- a/README.packit
+++ b/README.packit
@@ -1,3 +1,3 @@
This repository is maintained by packit.
https://packit.dev/
-The file was generated using packit 0.85.0.
+The file was generated using packit 0.87.1.post1.dev7+g9f53ebb4.
diff --git a/sources b/sources
index d4b0a71..546f280 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (tmt-1.29.0.tar.gz) =
59c64a8c14614652d98113f205d583a715367fe2f20ca178e5eed62461e477888440bef13238ba6bd78ba2eb9ac11ff1b5380f3336f056069a5ad3291342495e
+SHA512 (tmt-1.30.0.tar.gz) =
bab76dd8ad5e5095b5e4d717b13a875750fb478bda85c47f83ffbc8fb8e6cb7a1727ddb802312c5e6e8b84b780d750a8de08893e1892e5f760991f7040351c56
diff --git a/tmt.spec b/tmt.spec
index 096b032..f295c68 100644
--- a/tmt.spec
+++ b/tmt.spec
@@ -1,5 +1,5 @@
Name: tmt
-Version: 1.29.0
+Version: 1.30.0
Release: %autorelease
Summary: Test Management Tool
@@ -143,10 +143,78 @@ install -pm 644 %{name}/steps/provision/mrack/mrack*
%{buildroot}/etc/%{name}/
%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}
-%files -n tmt+all -f %{_pyproject_ghost_distinfo}
%config(noreplace) %{_sysconfdir}/%{name}/mrack*
+%files -n tmt+all -f %{_pyproject_ghost_distinfo}
%changelog
+* Fri Dec 08 2023 Petr Šplíchal <psplicha(a)redhat.com> - 1.30.0
+- Make `arch` field unsupported in the spec
+- Introduce `tty` test attribute to control terminal environment
+- Ensure the imported plan's `enabled` key is respected
+- Add support for user defined templates (#2519)
+- Update the common schema for the `check` key
+- Create a `checks` directory to store avc/dmesg checks
+- Correctly update environment from importing plan
+- Implement `tmt try` for interactive sessions
+- Use a shorter time for `podman stop` (#2480)
+- Add the `redis` server as a multihost sync example
+- Improve documentation of test checks
+- Adjust the format of Polarion test run title
+- Run all available tests only upon a user request
+- Rename `name` to `how` in test check specification (#2527)
+- Link `inheritance` and `elasticity` from the guide
+- Add the `fips` field for the `polarion` report
+- Cover `tmt.cli` with `pyright` (#2520)
+- Custom soft/hard reboot commands for the connect provision plugin
+- Add `--feeling-safe` for allowing possibly dangerous actions
+- Update docs for the `polarion` report plugin
+- Move test-requested reboot handling into test invocation class
+- Add `-i` to select an image in beaker and artemis
+- Document how to use `yaml` anchors and aliases
+- Simplify log decolorizers to support pickleable trees
+- Add description field to polarion report plugin
+- Make check plugin class generic over check class (#2502)
+- Increase verbosity of Artemis provisioning errors
+- Add more distros to the `mrack` config
+- Move the `contact` key to the `Core` class
+- Bump tmt in lint pre-commit check to 1.29.0
+- Add Python 3.12 to the test matrix
+- Move `mrack` configs into `tmt+provision-beaker`
+- Allow running upgrade from the current repository
+- Fix remote nested library fetch and add test
+- Cover tmt.options with pyright
+- Cover tmt.checks, tmt.frameworks and tmt.log with pyright
+- Cover tmt.result with pyright checks
+- Store fmf `context` in results for each test
+- Add networks to the podman provision plugin (#2419)
+- Add a dedicated exit code when all tests reported `skip` result
+- Move invocation-related fields out of `Test` class
+- Remove expected fail from `/tests/pip/install/full`
+- Convert test execution internals to use "invocation" bundle (#2469)
+- Introduce a separate page `Code` for code docs
+- Add code documentation generated from docstrings
+- Fix possible unbound variable after import-under-try
+- Add `pyright` as a `pre-commit` check
+- Add a helper for nonconflicting, multihost-safe filenames
+- Add the `whiteboard` option for `beaker` provision
+- Support timestamped logging even on the terminal
+- Enable pyupgrade `UP` ruff rule
+- Fix `UP035` deprecated-import violations
+- Fix `UP034` extraneous-parentheses violation
+- Fix `UP033` lru-cache-with-maxsize-none violations
+- Fix `UP032` f-string violations
+- Fix `UP013` convert-typed-dict-functional-to-class
+- Fix `UP009` utf8-encoding-declaration violations
+- Fix `UP006` non-pep585-annotation violations
+- Try several times to build the `become` container (#2467)
+- Add .py file extension to docs scripts (#2476)
+- Add a link to the Testing Farm documentation
+- Use `renku` as the default theme for building docs
+- Properly normalize the test `path` key
+- Add an `adjust` example for enabling custom repo
+- Drop special normalization methods
+- Disable `dist-git-init` in the `distgit` test (#2463)
+
* Mon Nov 06 2023 Lukáš Zachar <lzachar(a)redhat.com> - 1.29.0
- Add page `Releases` to highlight important changes
- Update and polish hardware requirement docs
commit e488417c7ca7530029cfe54c80b483a9a4eb9180
Author: Packit <hello(a)packit.dev>
Date: Mon Nov 6 19:56:58 2023 +0000
[packit] 1.29.0 upstream release
Upstream tag: 1.29.0
Upstream commit: 808858e8
diff --git a/.gitignore b/.gitignore
index db7d325..7c1ce57 100644
--- a/.gitignore
+++ b/.gitignore
@@ -40,3 +40,4 @@
/tmt-1.26.1.tar.gz
/tmt-1.27.0.tar.gz
/tmt-1.28.2.tar.gz
+/tmt-1.29.0.tar.gz
diff --git a/README.packit b/README.packit
index 8a3b9cd..5998f60 100644
--- a/README.packit
+++ b/README.packit
@@ -1,3 +1,3 @@
This repository is maintained by packit.
https://packit.dev/
-The file was generated using packit 0.83.0.post1.dev9+g2e0ea06c.
+The file was generated using packit 0.85.0.
diff --git a/sources b/sources
index 7fbfa78..d4b0a71 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (tmt-1.28.2.tar.gz) =
e21b644698591e622d4a39f9f981e2913c8c1aceb670b4442c806d804868fe0e375d1460258d394805b830b8faba272be92d2c7350d99473df0835d5e56225e6
+SHA512 (tmt-1.29.0.tar.gz) =
59c64a8c14614652d98113f205d583a715367fe2f20ca178e5eed62461e477888440bef13238ba6bd78ba2eb9ac11ff1b5380f3336f056069a5ad3291342495e
diff --git a/tmt.spec b/tmt.spec
index 5995f2c..096b032 100644
--- a/tmt.spec
+++ b/tmt.spec
@@ -1,5 +1,5 @@
Name: tmt
-Version: 1.28.2
+Version: 1.29.0
Release: %autorelease
Summary: Test Management Tool
@@ -147,6 +147,52 @@ install -pm 644 %{name}/steps/provision/mrack/mrack*
%{buildroot}/etc/%{name}/
%config(noreplace) %{_sysconfdir}/%{name}/mrack*
%changelog
+* Mon Nov 06 2023 Lukáš Zachar <lzachar(a)redhat.com> - 1.29.0
+- Add page `Releases` to highlight important changes
+- Update and polish hardware requirement docs
+- Refactor generating of stories and lint check docs
+- Add support for pruning test directories
+- Download all sources for `dist-git-source`
+- Source plan environment variables after `prepare` and `execute` steps
+- Framework is not consulted on results provided by tmt-report-result
+- Run scripts with `sudo` when `become` is on
+- Add `retry` for pulling images in the `podman` plugin
+- Add hardware schema for GPU
+- Change the default test pidfile directory to `/var/tmp`
+- Add `device` key into the `hardware` specification
+- Update code and test coverage for the `check` key
+- Document case-insensitive context dimension values
+- Fix use of the `-name` suffix in system HW requirement
+- Correct parsing when called as `rhts`
+- Reconcile HW requirements with virtual's own options
+- Move the `README` content into `docs/overview`
+- Make `BasePlugin` generic over step data class
+- Use `UpdatableMessage` for execute/internal progress bar
+- Drop an empty line from the pull request template
+- Add `runner` property to run with test runner facts
+- Export sources of an `fmf` node
+- Bump pre-commit linters to newer versions
+- Append the checklist template to new pull requests
+- Extend tmt-reboot to allow reboot from outside of the test process
+- Allow optional doc themes
+- Use consistent style for multiword test names
+- Show `check` results in the `html` report
+- Update `where` implementation, docs & test coverage (#2411)
+- Document difference between key, field and option
+- Rename multiword keys to use dashes in export and serialization
+- Allow Path instance to be used when constructing commands
+- Switch `Logger.print()` to output to stdout
+- Replace Generator type annotation with Iterator (#2405)
+- Refactor data container helpers
+- When merging fmf and CLI, use shared base step data
+- Fix installing package from the command line
+- Add support for checks to have their data packages
+- Switch `tmt.identifier` from using `fmf.log`
+- Hide test/plan/story internal fields from export
+- Fix full test suite after recent packaging changes
+- Update the list of code owners
+- Include the `fmf` root in the tarball as well
+
* Wed Oct 11 2023 Petr Šplíchal <psplicha(a)redhat.com> - 1.28.2
- Build man page during the `release` action
commit 147a09813ef38ea1135b648060abd9200308d319
Author: Packit <hello(a)packit.dev>
Date: Wed Oct 11 15:06:14 2023 +0000
[packit] 1.28.2 upstream release
Upstream tag: 1.28.2
Upstream commit: 81f02df4
diff --git a/.gitignore b/.gitignore
index f9c64f0..db7d325 100644
--- a/.gitignore
+++ b/.gitignore
@@ -39,3 +39,4 @@
/tmt-1.26.0.tar.gz
/tmt-1.26.1.tar.gz
/tmt-1.27.0.tar.gz
+/tmt-1.28.2.tar.gz
diff --git a/.packit.yaml b/.packit.yaml
index 49ee4bb..3a8ad8c 100644
--- a/.packit.yaml
+++ b/.packit.yaml
@@ -4,23 +4,15 @@ files_to_sync:
- .packit.yaml
sync_changelog: true
-upstream_project_name: tmt
+upstream_package_name: tmt
downstream_package_name: tmt
upstream_project_url:
https://github.com/teemtee/tmt
issue_repository:
https://github.com/teemtee/tmt
-actions:
- post-upstream-clone:
- - make bump2dev
- create-archive:
- - make tarball
- get-current-version:
- - make version
-
srpm_build_deps:
- - make
- - python3-docutils
+ - hatch
+ - python3-hatch-vcs
jobs:
@@ -28,12 +20,21 @@ jobs:
- job: copr_build
trigger: pull_request
targets:
- fedora-all: {}
- epel-9: {}
- fedora-39:
- additional_repos:
- -
https://download.copr.fedorainfracloud.org/results/frantisekz/testcloud-w...
+ - fedora-all
+ - epel-9
enable_net: False
+ actions:
+ create-archive:
+ - hatch run docs:man
+ - hatch build -t sdist
+ - bash -c "ls dist/tmt-*.tar.gz"
+ get-current-version:
+ # Use `dev888` instead of the last version digit to make
+ # builds older than the final release and newer than
+ # copr builds from main. Remove the remaining suffix
+ # generated by `hatch version` as well so that build
+ # with the latest timestamp always wins.
+ - bash -c "hatch version | sed -E
's/\\.[0-9]+\\.dev.*/.dev888/'"
# Test pull requests
- job: tests
@@ -84,8 +85,37 @@ jobs:
enable_net: False
list_on_homepage: True
preserve_project: True
- owner: psss
+ owner: "@teemtee"
+ project: tmt
+ release_suffix: "{PACKIT_PROJECT_BRANCH}"
+ actions:
+ create-archive:
+ - hatch run docs:man
+ - hatch build -t sdist
+ - bash -c "ls dist/tmt-*.tar.gz"
+ get-current-version:
+ # Get rid of the the final version digit to make copr
+ # builds older than the final release
+ - bash -c "hatch version | sed -E 's/\\.[0-9]+\\.dev/.dev/'"
+
+ # Release to copr
+ - job: copr_build
+ trigger: release
+ targets:
+ - fedora-all
+ - epel-9
+ enable_net: False
+ list_on_homepage: True
+ preserve_project: True
+ owner: "@teemtee"
project: tmt
+ actions:
+ create-archive:
+ - hatch run docs:man
+ - hatch build -t sdist
+ - bash -c "ls dist/tmt-*.tar.gz"
+ get-current-version:
+ - hatch version
# Fedora releases
- job: propose_downstream
diff --git a/README.packit b/README.packit
index ea0650e..8a3b9cd 100644
--- a/README.packit
+++ b/README.packit
@@ -1,3 +1,3 @@
This repository is maintained by packit.
https://packit.dev/
-The file was generated using packit 0.79.1.post14+g9e876412.
+The file was generated using packit 0.83.0.post1.dev9+g2e0ea06c.
diff --git a/sources b/sources
index b589a61..7fbfa78 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (tmt-1.27.0.tar.gz) =
137d57c6eb8c41b92e0f9ccf81ae0e612e8d05e32dc69eb858e00699439b6bebeead6895afea33d19f6106982268c6ee9bb2c832178f6a6d41ac412a85a94528
+SHA512 (tmt-1.28.2.tar.gz) =
e21b644698591e622d4a39f9f981e2913c8c1aceb670b4442c806d804868fe0e375d1460258d394805b830b8faba272be92d2c7350d99473df0835d5e56225e6
diff --git a/tmt.spec b/tmt.spec
index 82df263..5995f2c 100644
--- a/tmt.spec
+++ b/tmt.spec
@@ -1,235 +1,213 @@
-Name: tmt
-Version: 1.27.0
-Release: 1%{?dist}
-
-Summary: Test Management Tool
-License: MIT
-BuildArch: noarch
-
-# Build only on arches where libguestfs (needed by testcloud) is available
-%{?kernel_arches:ExclusiveArch: %{kernel_arches} noarch}
-%if 0%{?rhel} >= 9
-ExcludeArch: %{power64}
-%endif
+Name: tmt
+Version: 1.28.2
+Release: %autorelease
+Summary: Test Management Tool
+
+License: MIT
+URL:
https://github.com/teemtee/tmt
+Source0: %{pypi_source tmt}
+
+BuildArch: noarch
+BuildRequires: python3-devel
+
+Requires: git-core rsync sshpass
-URL:
https://github.com/teemtee/tmt
-Source0:
https://github.com/teemtee/tmt/releases/download/%{version}/tmt-%{version...
+Obsoletes: python3-tmt < %{version}-%{release}
+Obsoletes: tmt-report-html < %{version}-%{release}
+Obsoletes: tmt-report-junit < %{version}-%{release}
+Obsoletes: tmt-report-polarion < %{version}-%{release}
+Obsoletes: tmt-report-reportportal < %{version}-%{release}
+
+Recommends: bash-completion
%define workdir_root /var/tmp/tmt
-# Main tmt package requires the Python module
-Requires: python%{python3_pkgversion}-%{name} == %{version}-%{release}
-Requires: git-core rsync sshpass
+%py_provides python3-tmt
%description
The tmt Python module and command line tool implement the test
metadata specification (L1 and L2) and allows easy test execution.
-This package contains the command line tool.
-
-%?python_enable_dependency_generator
-
-
-%package -n python%{python3_pkgversion}-%{name}
-Summary: Python library for the %{summary}
-BuildRequires: python%{python3_pkgversion}-devel
-BuildRequires: python%{python3_pkgversion}-docutils
-BuildRequires: python%{python3_pkgversion}-setuptools
-BuildRequires: python%{python3_pkgversion}-pytest
-BuildRequires: python%{python3_pkgversion}-click
-BuildRequires: python%{python3_pkgversion}-fmf >= 1.2.0
-BuildRequires: python%{python3_pkgversion}-requests
-BuildRequires: python%{python3_pkgversion}-testcloud >= 0.9.10
-BuildRequires: python%{python3_pkgversion}-markdown
-BuildRequires: python%{python3_pkgversion}-junit_xml
-BuildRequires: python%{python3_pkgversion}-ruamel-yaml
-BuildRequires: python%{python3_pkgversion}-jinja2
-BuildRequires: python%{python3_pkgversion}-pint
-# TypeAlias is not available with python3.9 on RHEL9
-%if 0%{?rhel} == 9
-BuildRequires: python%{python3_pkgversion}-typing-extensions
-%endif
-# Required for tests
-BuildRequires: rsync
-%{?python_provide:%python_provide python%{python3_pkgversion}-%{name}}
-%description -n python%{python3_pkgversion}-%{name}
-The tmt Python module and command line tool implement the test
-metadata specification (L1 and L2) and allows easy test execution.
-This package contains the Python 3 module.
-
-%package provision-container
-Summary: Container provisioner for the Test Management Tool
-Obsoletes: tmt-container < 0.17
-Requires: tmt == %{version}-%{release}
-Requires: podman
-Requires: (ansible or ansible-collection-containers-podman)
-
-%description provision-container
-Dependencies required to run tests in a container environment.
-
-%package provision-virtual
-Summary: Virtual machine provisioner for the Test Management Tool
-Obsoletes: tmt-testcloud < 0.17
-Requires: tmt == %{version}-%{release}
-Requires: python%{python3_pkgversion}-testcloud >= 0.9.2
-Requires: libvirt-daemon-config-network
-Requires: openssh-clients
-Requires: (ansible or ansible-core)
+%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
+Obsoletes: tmt-test-convert < %{version}-%{release}
+Requires: tmt == %{version}-%{release}
+Requires: make
+Requires: python3-bugzilla
+Requires: python3-nitrate
+Requires: python3-html2text
+Requires: python3-markdown
+
+%description -n tmt+test-convert
+This is a metapackage bringing in extra dependencies for tmt.
+It contains no code, just makes sure the dependencies are installed.
+
+%package -n tmt+provision-container
+Summary: Dependencies required for tmt container provisioner
+Obsoletes: tmt-provision-container < %{version}-%{release}
+Obsoletes: tmt-container < 0.17
+Requires: tmt == %{version}-%{release}
+Requires: podman
+Requires: (ansible or ansible-collection-containers-podman)
+
+%description -n tmt+provision-container
+This is a metapackage bringing in extra dependencies for tmt.
+It contains no code, just makes sure the dependencies are installed.
+
+%package -n tmt+provision-virtual
+Summary: Dependencies required for tmt virtual machine provisioner
+Obsoletes: tmt-provision-virtual < %{version}-%{release}
+Obsoletes: tmt-testcloud < 0.17
+Requires: tmt == %{version}-%{release}
+Requires: python3-testcloud >= 0.9.10
+Requires: libvirt-daemon-config-network
+Requires: openssh-clients
+Requires: (ansible or ansible-core)
# Recommend qemu system emulators for supported arches
%if 0%{?fedora}
-Recommends: qemu-system-aarch64-core
-Recommends: qemu-system-ppc-core
-Recommends: qemu-system-s390x-core
-Recommends: qemu-system-x86-core
+Recommends: qemu-system-aarch64-core
+Recommends: qemu-system-ppc-core
+Recommends: qemu-system-s390x-core
+Recommends: qemu-system-x86-core
%endif
-%package provision-beaker
-Summary: Beaker provisioner for the Test Management Tool
-Requires: tmt = %{version}-%{release}
-Requires: python3-mrack-beaker >= 1.12.1
-
-%description provision-beaker
-Dependencies required to run tests in a Beaker environment.
-
-%description provision-virtual
-Dependencies required to run tests in a local virtual machine.
-
-%package test-convert
-Summary: Test import and export dependencies
-Requires: tmt == %{version}-%{release}
-Requires: make python3-nitrate python3-html2text python3-markdown
-Requires: python3-bugzilla
-
-%description test-convert
-Additional dependencies needed for test metadata import and export.
-
-%package report-html
-Summary: Report plugin with support for generating web pages
-Requires: tmt == %{version}-%{release}
-
-%description report-html
-Generate test results in the html format. Quickly review test
-output thanks to direct links to output logs.
-
-%package report-junit
-Summary: Report plugin with support for generating JUnit output file
-Requires: tmt == %{version}-%{release}
-Requires: python3-junit_xml
-
-%description report-junit
-Generate test results in the JUnit format.
-
-%package report-polarion
-Summary: Report plugin with support for generating Polarion test runs
-Requires: tmt-report-junit >= %{version}
-Requires: python3-pylero
-
-%description report-polarion
-Generate test results in xUnit format for exporting to Polarion.
-
-%package report-reportportal
-Summary: Report step plugin for ReportPortal
-Requires: tmt == %{version}-%{release}
-Requires: tmt-report-junit == %{version}
-
-%description report-reportportal
-Report test results to a ReportPortal instance.
-
-%package all
-Summary: Extra dependencies for the Test Management Tool
-Requires: tmt >= %{version}
-Requires: tmt-provision-container >= %{version}
-Requires: tmt-provision-virtual >= %{version}
-Requires: tmt-test-convert >= %{version}
-Requires: tmt-report-html >= %{version}
-Requires: tmt-report-junit >= %{version}
-Requires: tmt-report-polarion >= %{version}
-Requires: tmt-report-reportportal >= %{version}
-Requires: tmt-provision-beaker >= %{version}
-
-%description all
+%description -n tmt+provision-virtual
+This is a metapackage bringing in extra dependencies for tmt.
+It contains no code, just makes sure the dependencies are installed.
+
+%package -n tmt+provision-beaker
+Summary: Dependencies required for tmt beaker provisioner
+Provides: tmt-provision-beaker == %{version}-%{release}
+Obsoletes: tmt-provision-beaker < %{version}-%{release}
+Requires: tmt == %{version}-%{release}
+Requires: python3-mrack-beaker
+
+%description -n tmt+provision-beaker
+This is a metapackage bringing in extra dependencies for tmt.
+It contains no code, just makes sure the dependencies are installed.
+
+# 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}
+Obsoletes: tmt-all < %{version}-%{release}
+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
+%autosetup -p1 -n tmt-%{version}
+%generate_buildrequires
+%pyproject_buildrequires
%build
-%py3_build
-
+export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
+%pyproject_wheel
%install
-%py3_install
+%pyproject_install
+%pyproject_save_files tmt
mkdir -p %{buildroot}%{_mandir}/man1
-mkdir -p %{buildroot}/etc/bash_completion.d/
-install -pm 644 tmt.1* %{buildroot}%{_mandir}/man1
-install -pm 644 bin/complete %{buildroot}/etc/bash_completion.d/tmt
-mkdir -p %{buildroot}%{workdir_root}
-chmod 1777 %{buildroot}%{workdir_root}
+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 -pm 1777 %{buildroot}%{workdir_root}
mkdir -p %{buildroot}/etc/%{name}/
install -pm 644 %{name}/steps/provision/mrack/mrack* %{buildroot}/etc/%{name}/
%check
-%{__python3} -m pytest -vv -m 'not web' --ignore=tests/integration
-
-
-%{!?_licensedir:%global license %%doc}
-
+%pyproject_check_import
-%files
-%{_mandir}/man1/*
-%{_bindir}/%{name}
+%files -n tmt -f %{pyproject_files}
%doc README.rst examples
-%license LICENSE
-/etc/bash_completion.d/tmt
-
-%files -n python%{python3_pkgversion}-%{name}
-%{python3_sitelib}/%{name}/
-%{python3_sitelib}/%{name}-*.egg-info/
-%license LICENSE
+%{_bindir}/tmt
+%{_mandir}/man1/tmt.1.gz
%dir %{workdir_root}
-%exclude
%{python3_sitelib}/%{name}/steps/provision/{,__pycache__/}{podman,testcloud,mrack}.*
-%exclude %{python3_sitelib}/%{name}/steps/provision/mrack
-%exclude %{python3_sitelib}/%{name}/steps/report/{,__pycache__/}html*
-%exclude %{python3_sitelib}/%{name}/steps/report/{,__pycache__/}junit.*
-%exclude %{python3_sitelib}/%{name}/steps/report/{,__pycache__/}polarion.*
-%exclude %{python3_sitelib}/%{name}/steps/report/{,__pycache__/}reportportal.*
-
-%exclude %{_sysconfdir}/%{name}/mrack*
-
-%files provision-container
-%{python3_sitelib}/%{name}/steps/provision/{,__pycache__/}podman.*
+%{_datadir}/bash-completion/completions/%{name}
-%files provision-beaker
-%{python3_sitelib}/%{name}/steps/provision/{,__pycache__/}mrack.*
+%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}
+%files -n tmt+all -f %{_pyproject_ghost_distinfo}
%config(noreplace) %{_sysconfdir}/%{name}/mrack*
-%files provision-virtual
-%{python3_sitelib}/%{name}/steps/provision/{,__pycache__/}testcloud.*
-
-%files report-html
-%{python3_sitelib}/%{name}/steps/report/{,__pycache__/}html*
-
-%files report-junit
-%{python3_sitelib}/%{name}/steps/report/{,__pycache__/}junit.*
-
-%files report-polarion
-%{python3_sitelib}/%{name}/steps/report/{,__pycache__/}polarion.*
-
-%files report-reportportal
-%{python3_sitelib}/%{name}/steps/report/{,__pycache__/}reportportal.*
-
-%files test-convert
-%license LICENSE
-
-%files all
-%license LICENSE
-
-
%changelog
+* Wed Oct 11 2023 Petr Šplíchal <psplicha(a)redhat.com> - 1.28.2
+- Build man page during the `release` action
+
+* Wed Oct 11 2023 Petr Šplíchal <psplicha(a)redhat.com> - 1.28.1
+- Remove the `.dev0` suffix from the spec `Version`
+
+* Fri Oct 06 2023 Petr Šplíchal <psplicha(a)redhat.com> - 1.28.0
+- Update the `release` action with `hatch` changes
+- Fix the multihost web test to work with container
+- Add `skip` as a supported custom result outcome
+- Add docs for the new `--update-missing` option
+- Remove irrelevant mention of `rhel-8` in the spec
+- Record start/end time & duration of test checks
+- Add `--update-missing` to update phase fields only when not set by fmf
+- Add --skip-prepare-verify-ssh and --post-install-script to artemis plugin (#2347)
+- Force tmt-link pre-commit to use fmf 1.3.0 which brings new features (#2376)
+- Add logging of applied adjust rules
+- Handle all context dimension values case insensitive
+- Hide `OPTIONLESS_FIELDS` from `tmt plan show`
+- Add context into the `html` report
+- Display test check results in `display` report output
+- Fix creation of guest data from plugin options
+- Allow wider output
+- Beaker plugin is negating Beaker operators by default
+- Include link to the data directory in the html report
+- Teach logging methods to handle common types
+- Move the copr repository to the `teemtee` group
+- Add a new `cpu` property `stepping` to hardware
+- Extract beakerlib phase name to a failure log
+- Always show the real beaker job id
+- Create a production copr build for each release
+- AVC denials check for tests (#2331)
+- Add nice & colorfull help to "make" targets
+- Include more dependencies in the dev environment
+- Stop using the `_version.py` file
+- Replace `opt()` for `--dry/--force` with properties
+- Update build names for copr/main and pull requests
+- Use `hatch` and `pyproject`, refactor `tmt.spec`
+- Use dataclass for log record details instead of typed dict
+- Refactor html report plugin to use existing template rendering
+- Narrow type of hardware constraint variants
+- Refactor parameters of `Plan._iter_steps()`
+- Use `format_value()` instead of `pprint()`
+- Use the minimal plan to test imported plan execution
+- Refactor exception rendering to use generators
+- Add the `export` callback for fields (#2288)
+- Update a verified-by link for the beaker provision
+- Multi-string help texts converted to multiline strings
+- Make the upload to PyPI working again
+- Hide command event debug logs behind a log topic (#2281)
+- Replace `pkg_resources` with `importlib.resources`
+- Wrap `click.Choice` use with `choices` parameter
+- Lower unnecessary verbosity of podman commands
+- Move check-related code into `tmt.checks`
+- Disable `systemd-resolved` to prevent dns failures
+- Adjust test coverage for deep beakerlib libraries
+- Document migration from provision.fmf to tmt (#2325)
+- Remove TBD of initiator context for Packit
+- Fix output indentation of imported plans
+- Copr repo with a group owner requires quotes
+
* Wed Sep 06 2023 Petr Šplíchal <psplicha(a)redhat.com> - 1.27.0-1
- Use `testcloud` domain API v2
- Bootstrap before/after test checks (#2210)
commit 960429a4fb08e012c17fcf9f48ea3d70a28a3861
Author: Petr Šplíchal <psplicha(a)redhat.com>
Date: Thu Sep 7 12:18:01 2023 +0200
Install `yq` which is needed by some newer tests
diff --git a/plans/upstream.fmf b/plans/upstream.fmf
index 061f7df..487a06b 100644
--- a/plans/upstream.fmf
+++ b/plans/upstream.fmf
@@ -1,9 +1,21 @@
summary:
Upstream tests working under virtual machine
+
discover:
how: fmf
url:
https://github.com/teemtee/tmt
ref: fedora
filter: "tag:virtual & tier:0,1"
+
+prepare+:
+ - how: install
+ package:
+ - jq
+ - python3-pip
+ - how: shell
+ script:
+ - pip3 install --user yq || pip3 install yq
+ - yq --help
+
execute:
how: tmt
commit 358dfd6abb54cf242652946f7b5225995f2bcbf8
Author: Packit <hello(a)packit.dev>
Date: Thu Sep 7 09:33:16 2023 +0000
[packit] 1.27.0 upstream release
Upstream tag: 1.27.0
Upstream commit: 9c35269a
If you need to do any change in this pull request, you need to locally fetch the
source branch of it and push it (with a fix) to your fork (as it is not possible to push
to the branch created in the Packit’s fork):
```
git fetch
https://src.fedoraproject.org/forks/packit/rpms/tmt.git
refs/heads/*:refs/remotes/packit/*
git checkout packit/1.27.0-rawhide-update-propose_downstream
```
diff --git a/.gitignore b/.gitignore
index 1003363..f9c64f0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -38,3 +38,4 @@
/tmt-1.25.0.tar.gz
/tmt-1.26.0.tar.gz
/tmt-1.26.1.tar.gz
+/tmt-1.27.0.tar.gz
diff --git a/.packit.yaml b/.packit.yaml
index 914c8ec..49ee4bb 100644
--- a/.packit.yaml
+++ b/.packit.yaml
@@ -28,9 +28,11 @@ jobs:
- job: copr_build
trigger: pull_request
targets:
- - fedora-all
- - epel-8
- - epel-9
+ fedora-all: {}
+ epel-9: {}
+ fedora-39:
+ additional_repos:
+ -
https://download.copr.fedorainfracloud.org/results/frantisekz/testcloud-w...
enable_net: False
# Test pull requests
@@ -38,7 +40,6 @@ jobs:
trigger: pull_request
targets:
- fedora-all
- - epel-8
- epel-9
# Test internal plugins
@@ -79,7 +80,6 @@ jobs:
branch: main
targets:
- fedora-all
- - epel-8
- epel-9
enable_net: False
list_on_homepage: True
@@ -92,7 +92,6 @@ jobs:
trigger: release
dist_git_branches:
- fedora-all
- - epel-8
- epel-9
actions:
post-upstream-clone: []
@@ -103,12 +102,10 @@ jobs:
allowed_committers: ["packit", "psss", "lzachar"]
dist_git_branches:
- fedora-all
- - epel-8
- epel-9
- job: bodhi_update
trigger: commit
dist_git_branches:
- fedora-branched
- - epel-8
- epel-9
diff --git a/README.packit b/README.packit
index 0df7e14..ea0650e 100644
--- a/README.packit
+++ b/README.packit
@@ -1,3 +1,3 @@
This repository is maintained by packit.
https://packit.dev/
-The file was generated using packit 0.79.1.post6+g144ce0c.
+The file was generated using packit 0.79.1.post14+g9e876412.
diff --git a/sources b/sources
index a92a87e..b589a61 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (tmt-1.26.1.tar.gz) =
352581ec5a1d67bfd91ca116d39a06fc7bb1fd4c15ced389a3c22b06de59379eb87b67cc148b2f6595e2283d1c0fb2ce47f42972eedea85ba4e10924f3fd0444
+SHA512 (tmt-1.27.0.tar.gz) =
137d57c6eb8c41b92e0f9ccf81ae0e612e8d05e32dc69eb858e00699439b6bebeead6895afea33d19f6106982268c6ee9bb2c832178f6a6d41ac412a85a94528
diff --git a/tmt.spec b/tmt.spec
index 05ab5a0..82df263 100644
--- a/tmt.spec
+++ b/tmt.spec
@@ -1,5 +1,5 @@
Name: tmt
-Version: 1.26.1
+Version: 1.27.0
Release: 1%{?dist}
Summary: Test Management Tool
@@ -17,12 +17,6 @@ Source0:
https://github.com/teemtee/tmt/releases/download/%{version}/tmt-%{versi
%define workdir_root /var/tmp/tmt
-# Hint for shebang fixer, otherwise uses /usr/bin/python3
-# which can be changed by user
-%if 0%{?rhel} == 8
-%global __python3 /usr/bin/python3.6
-%endif
-
# Main tmt package requires the Python module
Requires: python%{python3_pkgversion}-%{name} == %{version}-%{release}
Requires: git-core rsync sshpass
@@ -44,16 +38,15 @@ BuildRequires: python%{python3_pkgversion}-pytest
BuildRequires: python%{python3_pkgversion}-click
BuildRequires: python%{python3_pkgversion}-fmf >= 1.2.0
BuildRequires: python%{python3_pkgversion}-requests
-BuildRequires: python%{python3_pkgversion}-testcloud >= 0.9.2
+BuildRequires: python%{python3_pkgversion}-testcloud >= 0.9.10
BuildRequires: python%{python3_pkgversion}-markdown
BuildRequires: python%{python3_pkgversion}-junit_xml
BuildRequires: python%{python3_pkgversion}-ruamel-yaml
BuildRequires: python%{python3_pkgversion}-jinja2
-# Only needed for rhel-8 (it has python3.6)
-%if 0%{?rhel} == 8
+BuildRequires: python%{python3_pkgversion}-pint
+# TypeAlias is not available with python3.9 on RHEL9
+%if 0%{?rhel} == 9
BuildRequires: python%{python3_pkgversion}-typing-extensions
-BuildRequires: python%{python3_pkgversion}-dataclasses
-BuildRequires: python%{python3_pkgversion}-importlib-metadata
%endif
# Required for tests
BuildRequires: rsync
@@ -90,17 +83,13 @@ Recommends: qemu-system-s390x-core
Recommends: qemu-system-x86-core
%endif
-%if 0%{?rhel} >= 9 || 0%{?fedora}
%package provision-beaker
Summary: Beaker provisioner for the Test Management Tool
Requires: tmt = %{version}-%{release}
Requires: python3-mrack-beaker >= 1.12.1
-%endif
-%if 0%{?rhel} >= 9 || 0%{?fedora}
%description provision-beaker
Dependencies required to run tests in a Beaker environment.
-%endif
%description provision-virtual
Dependencies required to run tests in a local virtual machine.
@@ -156,9 +145,7 @@ Requires: tmt-report-html >= %{version}
Requires: tmt-report-junit >= %{version}
Requires: tmt-report-polarion >= %{version}
Requires: tmt-report-reportportal >= %{version}
-%if 0%{?rhel} >= 9 || 0%{?fedora}
Requires: tmt-provision-beaker >= %{version}
-%endif
%description all
All extra dependencies of the Test Management Tool. Install this
@@ -182,10 +169,8 @@ install -pm 644 tmt.1* %{buildroot}%{_mandir}/man1
install -pm 644 bin/complete %{buildroot}/etc/bash_completion.d/tmt
mkdir -p %{buildroot}%{workdir_root}
chmod 1777 %{buildroot}%{workdir_root}
-%if 0%{?rhel} >= 9 || 0%{?fedora}
mkdir -p %{buildroot}/etc/%{name}/
install -pm 644 %{name}/steps/provision/mrack/mrack* %{buildroot}/etc/%{name}/
-%endif
%check
%{__python3} -m pytest -vv -m 'not web' --ignore=tests/integration
@@ -218,11 +203,9 @@ install -pm 644 %{name}/steps/provision/mrack/mrack*
%{buildroot}/etc/%{name}/
%files provision-container
%{python3_sitelib}/%{name}/steps/provision/{,__pycache__/}podman.*
-%if 0%{?rhel} >= 9 || 0%{?fedora}
%files provision-beaker
%{python3_sitelib}/%{name}/steps/provision/{,__pycache__/}mrack.*
%config(noreplace) %{_sysconfdir}/%{name}/mrack*
-%endif
%files provision-virtual
%{python3_sitelib}/%{name}/steps/provision/{,__pycache__/}testcloud.*
@@ -247,8 +230,47 @@ install -pm 644 %{name}/steps/provision/mrack/mrack*
%{buildroot}/etc/%{name}/
%changelog
-* Fri Sep 01 2023 Lukáš Zachar <lzachar(a)redhat.com> - 1.26.1
+* Wed Sep 06 2023 Petr Šplíchal <psplicha(a)redhat.com> - 1.27.0-1
+- Use `testcloud` domain API v2
+- Bootstrap before/after test checks (#2210)
+- Separate value formatting from key/value nature of tmt.utils.format()
+- Render `link` fields in tmt stories and specs
+- Render default friendly command for guest execution
+- Use consistently plural/singular forms in docs
+- Make file/fmf dependencies hashable
- Rewrite git url for discover fmf: modified-only
+- Refactor Artemis and Beaker provision tests to make room for HW
+- Adjust imported plan to let its adjust rules make changes
+- Get Ansible logging on par with general command execution
+- Support Click versions newer than 8.1.4
+- Teach tmt test create to link relevant issues (#2273)
+- Add story describing CLI for multiple phases
+- When rendering exception, indetation was dropping empty lines
+- Expose tmt version as an environment variable
+- Fix handling of integers and hostname in Beaker plugin
+- Fix bug where polarion component is misinterpreted as list
+- Refactor recording of CLI subcommand invocations (#2188)
+- Put `--help` at the end of the CLI in the step usage
+- Extend the expected `pip install` fail to `f-39`
+- Make `tmt init` add .fmf directory into git index
+- Fix guest data show() and how it displays hardware requirements
+- Add lint check for matching guests, roles and where keys
+- Add -e/--environment/--environment-files to plan show/export
+- No more need to install `pre-commit` using `pip`
+- Ensure that step phases have unique names
+- Verbose regular expression for linter descriptions
+- Initial draft of hardware requirement helpers
+- Simplify the reportportal plugin test using `yq`
+- Add dynamic ref support to library type dependency
+- Remove `epel-8` and `python-3.6` specifics
+- Use the latest `sphinx-rtd-theme` for docs building
+- Full `pip install` expected to fail on `Rawhide`
+- Add missing name attribute to report plugins schema
+- Add missing arguments in polarion report schema
+- Extend sufficiently the full test suite duration
+- Add support for log types to Artemis plugin
+- Fix `tmt run --follow`, add test coverage for it
+- Remove the temporary hotfix for deep libraries
* Mon Jul 31 2023 Lukáš Zachar <lzachar(a)redhat.com> - 1.26.0
- Do not throw an exception on missing mrack.log
@@ -279,11 +301,6 @@ install -pm 644 %{name}/steps/provision/mrack/mrack*
%{buildroot}/etc/%{name}/
* Mon Jul 10 2023 Lukáš Zachar <lzachar(a)redhat.com> - 1.25.0
- Test for pruning needs VM
- Internal anonymous git:// access is deprecated
-- Add tests and some modifications after rebases
-- Clone to tmp and use fmf.Tree.find instead of looping
-- Add clone_dirpath to Common
-- Fix bad usage of path and name
-- Fix multiple clones and inherited fmf metadata
- Beakerlibs pruning and merge
- Add dynamic ref evaluation support to plan import
- Replace self.opt() when looking for debug/verbose/quiet setting
commit b8f07e3a742dfff96aae805c90a838f87f986d75
Author: Packit <hello(a)packit.dev>
Date: Fri Sep 1 18:40:58 2023 +0000
[packit] 1.26.1 upstream release
Upstream tag: 1.26.1
Upstream commit: 2cfb13eb
If you need to do any change in this pull request, you need to locally fetch the
source branch of it and push it (with a fix) to your fork (as it is not possible to push
to the branch created in the Packit’s fork):
```
git fetch
https://src.fedoraproject.org/forks/packit/rpms/tmt.git
refs/heads/*:refs/remotes/packit/*
git checkout packit/1.26.1-rawhide-update-propose_downstream
```
diff --git a/.gitignore b/.gitignore
index 427a8d2..1003363 100644
--- a/.gitignore
+++ b/.gitignore
@@ -37,3 +37,4 @@
/tmt-1.24.1.tar.gz
/tmt-1.25.0.tar.gz
/tmt-1.26.0.tar.gz
+/tmt-1.26.1.tar.gz
diff --git a/README.packit b/README.packit
index 9d6cbbc..0df7e14 100644
--- a/README.packit
+++ b/README.packit
@@ -1,3 +1,3 @@
This repository is maintained by packit.
https://packit.dev/
-The file was generated using packit 0.78.1.
+The file was generated using packit 0.79.1.post6+g144ce0c.
diff --git a/sources b/sources
index e27bb6c..a92a87e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (tmt-1.26.0.tar.gz) =
6010878e45ea24df70f1221565d3cca272312bdddd8c228530206aab9d9424033e0a2e810485e99c7bd092e50a1a360355fbfd3b20252f0e1e4055111e9adbf3
+SHA512 (tmt-1.26.1.tar.gz) =
352581ec5a1d67bfd91ca116d39a06fc7bb1fd4c15ced389a3c22b06de59379eb87b67cc148b2f6595e2283d1c0fb2ce47f42972eedea85ba4e10924f3fd0444
diff --git a/tmt.spec b/tmt.spec
index 8b88f61..05ab5a0 100644
--- a/tmt.spec
+++ b/tmt.spec
@@ -1,5 +1,5 @@
Name: tmt
-Version: 1.26.0
+Version: 1.26.1
Release: 1%{?dist}
Summary: Test Management Tool
@@ -247,6 +247,9 @@ install -pm 644 %{name}/steps/provision/mrack/mrack*
%{buildroot}/etc/%{name}/
%changelog
+* Fri Sep 01 2023 Lukáš Zachar <lzachar(a)redhat.com> - 1.26.1
+- Rewrite git url for discover fmf: modified-only
+
* Mon Jul 31 2023 Lukáš Zachar <lzachar(a)redhat.com> - 1.26.0
- Do not throw an exception on missing mrack.log
- Allow injecting credentials for git clone