Compare commits

...
Sign in to create a new pull request.

5 commits

Author SHA1 Message Date
Python Maint
43f0269d3d Rebuilt for Python 3.14.0rc3 bytecode 2025-09-19 13:59:10 +02:00
Python Maint
086736874d Rebuilt for Python 3.14.0rc2 bytecode 2025-08-15 14:22:46 +02:00
Fedora Release Engineering
b9b9101ddb Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 09:21:07 +00:00
Vojtech Trefny
dad4010e50 Migrate tests from STI to TMT (#2383039) 2025-07-24 14:34:37 +02:00
Python Maint
838398badd Rebuilt for Python 3.14 2025-06-03 15:33:45 +02:00
6 changed files with 25 additions and 30 deletions

1
.fmf/version Normal file
View file

@ -0,0 +1 @@
1

10
plans/tests.fmf Normal file
View file

@ -0,0 +1,10 @@
prepare:
how: install
package:
- python3-pidfile
discover:
how: fmf
execute:
how: tmt

View file

@ -2,7 +2,7 @@
%global pypi_name python-%{module_name}
Name: %{pypi_name}
Version: 3.0.0
Release: 11%{?dist}
Release: 15%{?dist}
Summary: Python context manager for managing pid files
License: MIT
URL: https://pypi.org/project/python-pidfile
@ -45,6 +45,18 @@ cp -p %{SOURCE1} .
%license LICENSE
%changelog
* Fri Sep 19 2025 Python Maint <python-maint@redhat.com> - 3.0.0-15
- Rebuilt for Python 3.14.0rc3 bytecode
* Fri Aug 15 2025 Python Maint <python-maint@redhat.com> - 3.0.0-14
- Rebuilt for Python 3.14.0rc2 bytecode
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.0-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Tue Jun 03 2025 Python Maint <python-maint@redhat.com> - 3.0.0-12
- Rebuilt for Python 3.14
* Sat Jan 18 2025 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.0-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild

1
tests/test.fmf Normal file
View file

@ -0,0 +1 @@
test: python3 test_pidfile.py /tmp/test.log

View file

@ -1,28 +0,0 @@
- hosts: localhost
vars:
config:
packagename: python-pidfile
testfilename: test_pidfile.py
logfilepath: /tmp/test.log
artifacts: "{{ lookup('env', 'TEST_ARTIFACTS')|default('./artifacts', true) }}"
tags:
- classic
remote_user: root
tasks:
- name: Install required package
dnf:
name:
- "{{ config.packagename }}"
- python3
- name: Test Execution
block:
- name: Execute the tests
command: python3 {{ config.testfilename }} {{ logfilepath }}
always:
- name: Pull out the artifacts
fetch:
dest: "{{ config.artifacts }}/"
src: "{{ item }}"
flat: yes
with_items:
- "{{ config.logfilepath }}"

View file

@ -1 +0,0 @@
- import_playbook: test_playbook.yml