Accepting request 1057062 from devel:languages:python:pytest

- update to 0.7.0:
  * Make smtp support an optional extra
  * Update some obsolete syntax to drop support for Python 2
  * Add linting for code and workflow actions using pre-commit hooks
  * Expand the range of pytest versions known to be compatible, with tests
  * Add badges to README

OBS-URL: https://build.opensuse.org/request/show/1057062
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-localserver?expand=0&rev=5
This commit is contained in:
Dominique Leuenberger 2023-01-10 13:58:54 +00:00 committed by Git OBS Bridge
commit 942fa4a0c7
4 changed files with 18 additions and 5 deletions

View File

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

View File

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

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Mon Jan 9 12:18:38 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 0.7.0:
* Make smtp support an optional extra
* Update some obsolete syntax to drop support for Python 2
* Add linting for code and workflow actions using pre-commit hooks
* Expand the range of pytest versions known to be compatible, with tests
* Add badges to README
-------------------------------------------------------------------
Mon Aug 1 15:00:37 UTC 2022 - Ben Greiner <code@bnavigator.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-pytest-localserver
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2015 LISA GmbH, Bingen, Germany.
#
# All modifications and additions to the file contributed by third parties
@ -19,15 +19,18 @@
%{?!python_module:%define python_module() python3-%{**}}
%define skip_python2 1
%bcond_with extras
Name: python-pytest-localserver
Version: 0.6.0
Version: 0.7.0
Release: 0
Summary: Plugin for py.test to test server connections locally
License: MIT
URL: https://github.com/pytest-dev/pytest-localserver
Source: https://files.pythonhosted.org/packages/source/p/pytest-localserver/pytest-localserver-%{version}.tar.gz
BuildRequires: %{python_module Werkzeug >= 0.10}
%if %{with extras}
BuildRequires: %{python_module aiosmtpd}
%endif
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest >= 2.0.0}
BuildRequires: %{python_module requests}