Compare commits

1 Commits
main ... 1.1

4 changed files with 8 additions and 24 deletions

BIN
pytest-localserver-0.8.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

BIN
pytest-localserver-0.8.1.tar.gz (Stored with Git LFS)

Binary file not shown.

View File

@@ -1,16 +1,3 @@
-------------------------------------------------------------------
Wed May 28 12:51:11 UTC 2025 - Bernhard Wiedemann <bwiedemann@suse.com>
- phase out %jobs macro (boo#1237231)
-------------------------------------------------------------------
Tue Nov 7 19:46:14 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 0.8.1:
* Ignore AttributeError when shutting down server
* Add support for Python 3.12 (or at least, list it explicitly
in the classifiers)
-------------------------------------------------------------------
Mon Jul 24 19:05:38 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -17,15 +17,12 @@
#
%{?!python_module:%define python_module() python3-%{**}}
%define skip_python2 1
%bcond_with extras
%{?sle15_python_module_pythons}
%if 0%{suse_version} < 1600
%define pytestjobs %{?jobs: -n %jobs}
%else
%define pytestjobs -n ${RPM_BUILD_NCPUS:-1}
%endif
Name: python-pytest-localserver
Version: 0.8.1
Version: 0.8.0
Release: 0
Summary: Plugin for py.test to test server connections locally
License: MIT
@@ -76,7 +73,7 @@ sed -i "1d" pytest_localserver/{plugin,smtp}.py
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest %{?pytestjobs}
%pytest %{?jobs: -n %jobs}
%files %{python_files}
%doc README.rst