- Update 1.8.1:

* Correct httpd command line
  * Minor bugfix now that workspace.workspace is a Path object.
- Drop patch fix-httpd-fixture-path.patch, now included.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-server-fixtures?expand=0&rev=22
This commit is contained in:
2025-02-04 04:14:37 +00:00
committed by Git OBS Bridge
parent 7d80250372
commit 971d40e72b
5 changed files with 14 additions and 21 deletions

View File

@@ -1,13 +0,0 @@
Index: pytest-server-fixtures-1.8.0/pytest_server_fixtures/httpd.py
===================================================================
--- pytest-server-fixtures-1.8.0.orig/pytest_server_fixtures/httpd.py
+++ pytest-server-fixtures-1.8.0/pytest_server_fixtures/httpd.py
@@ -161,7 +161,7 @@ class HTTPDServer(HTTPTestServer):
@property
def run_cmd(self):
- return [CONFIG.httpd_executable, '-f', self.config]
+ return [CONFIG.httpd_executable, '-f', str(self.config)]
def kill(self, retries=5):
pid = self.pid

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0b1786087f481c7dfa03678090fc57ec7cff7e61f41f28960c188af219a14280
size 9810031

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3d02893dced1ea8d1490a2f8dafcbf4c291bca002ddc375c7b29039745b99fdd
size 9807101

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Tue Feb 4 04:07:03 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Update 1.8.1:
* Correct httpd command line
* Minor bugfix now that workspace.workspace is a Path object.
- Drop patch fix-httpd-fixture-path.patch, now included.
-------------------------------------------------------------------
Tue Oct 22 06:08:51 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pytest-server-fixtures
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: python-pytest-server-fixtures
Version: 1.8.0
Version: 1.8.1
Release: 0
Summary: Extensible server fixtures for pytest
License: MIT
@@ -25,10 +25,8 @@ URL: https://github.com/man-group/pytest-plugins
Source: https://files.pythonhosted.org/packages/source/p/pytest-server-fixtures/pytest-server-fixtures-%{version}.tar.gz
# PATCH-FIX-UPSTREAM gh#github.com/man-group/pytest-plugins#221
Patch0: remove-six-and-future.patch
# PATCH-FIX-UPSTREAM gh#man-group/pytest-plugins#249
Patch1: fix-httpd-fixture-path.patch
# PATCH-FIX-UPSTREAM gh#man-group/pytest-plugins#250
Patch2: support-64-bit-pids-xvfb.patch
Patch1: support-64-bit-pids-xvfb.patch
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools-git}
BuildRequires: %{python_module setuptools}