Compare commits

...

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

7 changed files with 81 additions and 34 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,6 @@
--- !Policy
product_versions:
- rhel-8
- rhel-9
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1.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: 1%{?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,11 @@ Summary: %{summary}
%{?python_provide:%python_provide python3-%{srcname}}
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pytest
# Required due to a setuptools bug that was fixed in setuptools 61.0.
# Previous to that version, setuptools loads the __init__.py module to
# obtain the value of the __version__ attribute.
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 +42,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 +49,58 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} pytest-%{python3_version} -v tests
%{python3_sitelib}/into_dbus_python-*.egg-info/
%changelog
* Fri May 05 2023 Bryan Gurney <bgurney@redhat.com> - 0.8.2-1
- Update to 0.8.2
- Resolves: rhbz#2193199
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 0.08-5
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Thu Jul 29 2021 Bryan Gurney <bgurney@redhat.com> - 0.08-4
- Remove check test
- Remove BuildRequires for python3-dbus-signature-pyparsing and python3-dbus
- Resolves: rhbz#1986609
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.08-3
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* 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