17
0

Compare commits

7 Commits

Author SHA256 Message Date
9e63b96649 Accepting request 1166127 from devel:languages:python:pytest
- update to 2.1.0:
  * Drop support for python 3.7
  * Add support for python 3.11 - 3.12
  * Add support for pytest-metadata 3.x
  * Switch to Hatch

OBS-URL: https://build.opensuse.org/request/show/1166127
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-base-url?expand=0&rev=4
2024-04-08 15:40:02 +00:00
07bba19148 - update to 2.1.0:
* Drop support for python 3.7
  * Add support for python 3.11 - 3.12
  * Add support for pytest-metadata 3.x
  * Switch to Hatch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-base-url?expand=0&rev=7
2024-04-08 09:38:55 +00:00
fe863b70e7 Accepting request 1093885 from devel:languages:python:pytest
- Skip one test that requires network.
- Stop using greedy globbing in %files.

OBS-URL: https://build.opensuse.org/request/show/1093885
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-base-url?expand=0&rev=3
2023-06-20 14:49:10 +00:00
aea15836da - Skip one test that requires network.
- Stop using greedy globbing in %files.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-base-url?expand=0&rev=5
2023-06-20 07:14:57 +00:00
aa59369020 Accepting request 973966 from devel:languages:python:pytest
OBS-URL: https://build.opensuse.org/request/show/973966
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-base-url?expand=0&rev=2
2022-04-29 22:46:21 +00:00
95f0c358a1 Accepting request 973899 from home:mcalabkova:branches:devel:languages:python:pytest
- Update to 2.0.0
  * Drop python 2.7 and 3.6 support
  * Switch to pyproject.toml and Poetry

OBS-URL: https://build.opensuse.org/request/show/973899
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-base-url?expand=0&rev=3
2022-04-29 16:00:02 +00:00
c46fd0a0dc Accepting request 839728 from devel:languages:python:pytest
OBS-URL: https://build.opensuse.org/request/show/839728
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-base-url?expand=0&rev=1
2020-10-06 15:13:40 +00:00
4 changed files with 40 additions and 18 deletions

View File

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

View File

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

View File

@@ -1,3 +1,25 @@
-------------------------------------------------------------------
Mon Apr 8 09:38:48 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 2.1.0:
* Drop support for python 3.7
* Add support for python 3.11 - 3.12
* Add support for pytest-metadata 3.x
* Switch to Hatch
-------------------------------------------------------------------
Tue Jun 20 07:14:23 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
- Skip one test that requires network.
- Stop using greedy globbing in %files.
-------------------------------------------------------------------
Fri Apr 29 10:14:27 UTC 2022 - Markéta Machová <mmachova@suse.com>
- Update to 2.0.0
* Drop python 2.7 and 3.6 support
* Switch to pyproject.toml and Poetry
-------------------------------------------------------------------
Tue Jul 21 06:46:56 PM UTC 2020 - John Vandenberg <jayvdb@gmail.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pytest-base-url
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,24 +16,23 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pytest-base-url
Version: 1.4.2
Version: 2.1.0
Release: 0
Summary: Pytest plugin for URL based testing
License: MPL-2.0
Group: Development/Languages/Python
URL: https://github.com/pytest-dev/pytest-base-url
Source: https://files.pythonhosted.org/packages/source/p/pytest-base-url/pytest-base-url-%{version}.tar.gz
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools}
Source: https://files.pythonhosted.org/packages/source/p/pytest-base-url/pytest_base_url-%{version}.tar.gz
BuildRequires: %{python_module hatch_vcs}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-pytest >= 2.7.3
Requires: python-pytest >= 3.0.0
Requires: python-requests >= 2.9
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module pytest >= 2.7.3}
BuildRequires: %{python_module pytest >= 3.0.0}
BuildRequires: %{python_module pytest-localserver}
BuildRequires: %{python_module requests >= 2.9}
# /SECTION
@@ -43,21 +42,22 @@ BuildRequires: %{python_module requests >= 2.9}
pytest plugin for URL based testing.
%prep
%setup -q -n pytest-base-url-%{version}
%setup -q -n pytest_base_url-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
%pytest -k 'not (test_url_fails or test_metadata)'
%files %{python_files}
%doc CHANGES.rst README.rst
%doc README.rst
%license LICENSE
%{python_sitelib}/*
%{python_sitelib}/pytest_base_url
%{python_sitelib}/pytest_base_url-%{version}.dist-info
%changelog