Compare commits

...

No commits in common. "c8s" and "c10s" have entirely different histories.
c8s ... c10s

7 changed files with 112 additions and 38 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

3
.gitignore vendored
View File

@ -1 +1,4 @@
/into-dbus-python-0.06.tar.gz
/into-dbus-python-0.07.tar.gz
/into-dbus-python-0.08.tar.gz
/into-dbus-python-0.8.2.tar.gz

View File

@ -1,7 +1,7 @@
--- !Policy
product_versions:
- rhel-8
decision_context: osci_compose_gate
- fedora-*
decision_context: bodhi_update_push_stable
subject_type: koji_build
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1.functional}
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}

17
plans/unit.fmf Normal file
View File

@ -0,0 +1,17 @@
summary: deterministic (not Hypothesis-based) unit tests
prepare:
- name: Install package
how: install
package: python-into-dbus-python
discover:
how: shell
url: https://github.com/stratis-storage/into-dbus-python
ref: v0.8.2
tests:
- name: unit
test: python3 -m unittest -v tests/test_deterministic.py
execute:
how: tmt

View File

@ -1,11 +1,11 @@
%global srcname into-dbus-python
Name: python-%{srcname}
Version: 0.06
Release: 2%{?dist}
Version: 0.8.2
Release: 7%{?dist}
Summary: Transformer to dbus-python types
License: ASL 2.0
License: Apache-2.0
URL: https://github.com/stratis-storage/into-dbus-python
Source0: %{url}/archive/v%{version}/%{srcname}-%{version}.tar.gz
@ -23,13 +23,7 @@ Summary: %{summary}
%{?python_provide:%python_provide python3-%{srcname}}
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pytest
BuildRequires: python3-dbus-signature-pyparsing
BuildRequires: python3-dbus
BuildRequires: python3-hypothesis
BuildRequires: python3-hs-dbus-signature
Requires: python3-dbus-signature-pyparsing
Requires: python3-dbus
%description -n python3-%{srcname} %{_description}
@ -44,9 +38,6 @@ Python 3 version.
%install
%py3_install
%check
PYTHONPATH=%{buildroot}%{python3_sitelib} pytest-%{python3_version} -v tests
%files -n python3-%{srcname}
%license LICENSE
%doc README.rst
@ -54,6 +45,88 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} pytest-%{python3_version} -v tests
%{python3_sitelib}/into_dbus_python-*.egg-info/
%changelog
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 0.8.2-7
- Bump release for October 2024 mass rebuild:
Resolves: RHEL-64018
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 0.8.2-6
- Bump release for June 2024 mass rebuild
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.2-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 0.8.2-2
- Rebuilt for Python 3.12
* Thu May 4 2023 mulhern <amulhern@redhat.com> - 0.8.2-1
- Upgrade to new release; fix license field; use TMT format tests
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.08-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.08-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.08-7
- Rebuilt for Python 3.11
* Fri Feb 25 2022 mulhern <amulhern@redhat.com> - 0.08.6
- Add gating tests
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.08-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Thu Jul 29 2021 mulhern <amulhern@redhat.com> - 0.08-5
- Remove redundant requires
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.08-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.08-3
- Rebuilt for Python 3.10
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.08-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Mon Dec 7 2020 mulhern<amulhern@redhat.com> - 0.08-1
- New version: 0.08
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.07-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.07-4
- Rebuilt for Python 3.9
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.07-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri Sep 6 2019 mulhern <amulhern@redhat.com> - 0.07-2
- Use tracing profile for tests
* Fri Sep 6 2019 mulhenr <amulhern@redhat.com> - 0.07-1
- New version: 0.07
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.06-7
- Rebuilt for Python 3.8
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.06-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.06-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.06-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.06-3
- Rebuilt for Python 3.7
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.06-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (into-dbus-python-0.06.tar.gz) = 1ed28b5fbc9914f90731a7d37a683d1dd48da6464b7058fde64a15173df5aceb883b3524bbb42025be7162cef2a75c8e4a273de020955a9726299e8d84e933bd
SHA512 (into-dbus-python-0.8.2.tar.gz) = 87d556f8da76d0d3f4293fd94b4a814e63abd15c63d27b1a7c53febc9c359e8ab6a98b8c05277dc859914b125484d8c4d77f73b90d1f4746f73714207b0027ab

View File

@ -1,20 +0,0 @@
---
- hosts: localhost
roles:
- role: standard-test-source
tags:
- always
- role: standard-test-basic
tags:
- classic
required_packages:
- python3-hs-dbus-signature
- python3-into-dbus-python
- python3-pytest
- python3-hypothesis
tests:
- simple:
dir: ./
run: py.test-3 source/tests -rsx -v