- 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/package/show/devel:languages:python:pytest/python-pytest-localserver?expand=0&rev=11
This commit is contained in:
Dirk Mueller 2023-01-09 12:23:01 +00:00 committed by Git OBS Bridge
parent eada7d8c3f
commit 68ff18216a
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> 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 # spec file for package python-pytest-localserver
# #
# Copyright (c) 2022 SUSE LLC # Copyright (c) 2023 SUSE LLC
# Copyright (c) 2015 LISA GmbH, Bingen, Germany. # Copyright (c) 2015 LISA GmbH, Bingen, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
@ -19,15 +19,18 @@
%{?!python_module:%define python_module() python3-%{**}} %{?!python_module:%define python_module() python3-%{**}}
%define skip_python2 1 %define skip_python2 1
%bcond_with extras
Name: python-pytest-localserver Name: python-pytest-localserver
Version: 0.6.0 Version: 0.7.0
Release: 0 Release: 0
Summary: Plugin for py.test to test server connections locally Summary: Plugin for py.test to test server connections locally
License: MIT License: MIT
URL: https://github.com/pytest-dev/pytest-localserver URL: https://github.com/pytest-dev/pytest-localserver
Source: https://files.pythonhosted.org/packages/source/p/pytest-localserver/pytest-localserver-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/p/pytest-localserver/pytest-localserver-%{version}.tar.gz
BuildRequires: %{python_module Werkzeug >= 0.10} BuildRequires: %{python_module Werkzeug >= 0.10}
%if %{with extras}
BuildRequires: %{python_module aiosmtpd} BuildRequires: %{python_module aiosmtpd}
%endif
BuildRequires: %{python_module pip} BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest >= 2.0.0} BuildRequires: %{python_module pytest >= 2.0.0}
BuildRequires: %{python_module requests} BuildRequires: %{python_module requests}