8 Commits

Author SHA256 Message Date
4647b9c8fc - update to 3.1.1:
* Add environment variables for AWS CodeBuild CI
- Remove python_module macro definition

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-metadata?expand=0&rev=21
2024-03-03 14:02:18 +00:00
d6274cea30 - update to 3.1.0:
* Support Pytest 8.0

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-metadata?expand=0&rev=19
2024-02-04 12:14:59 +00:00
7e51ee584f - update to 3.0.0:
* Group CLI options
  * Switch to Hatch
  * Use `pytest.stash` internally instead of `_metadata`
  * Simplify code

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-metadata?expand=0&rev=17
2023-07-24 19:09:39 +00:00
bce5582148 Accepting request 1085721 from home:ojkastl_buildservice:Branch_devel_languages_python_pytest
add sle15_python_module_pythons

OBS-URL: https://build.opensuse.org/request/show/1085721
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-metadata?expand=0&rev=15
2023-05-09 20:57:36 +00:00
c44222b62d - Remove python_module macro definition
- Update to 2.0.4:
  * Fix deprecated pytest.mark.optionalhook marker.
- 2.0.3:
  * Remove py dependency. Thanks to @Czaki for reporting.
- 2.0.2:
  * Allow all python versions above 3.7
- 2.0.1:
  * Fix issues with switching to pyproject.toml
    Thanks to @dvzrv and @eltrufas for raising issues and providing fixes.
- 2.0.0:
  * Drop support for python 2.7 and 3.6
  * Add support for python 3.9 and 3.10
  * Introduce pyproject.toml
  * Provide metadata via JSON file
    Thanks to @digitalorder for the PR
- 1.11.0:
  * Provide a session fixture to include metadata in Junit XMLs as property
    tags. Thanks to @sanga for the PR

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-metadata?expand=0&rev=13
2022-11-30 11:18:22 +00:00
Tomáš Chvátal
2b9f753a3c Accepting request 817700 from home:mcalabkova:branches:devel:languages:python:pytest
- Update to 1.10.0
  * Compatible with pytest-xdist 1.22.3+, now including 2.0+

OBS-URL: https://build.opensuse.org/request/show/817700
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-metadata?expand=0&rev=11
2020-06-29 12:33:07 +00:00
Tomáš Chvátal
16b0911b8c - Update to 1.9.0:
* Add --metadata-from-json argument to support passing metadata as json.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-metadata?expand=0&rev=9
2020-05-18 09:17:27 +00:00
Tomáš Chvátal
d735626366 - Update to 1.8.0:
* Add environment variables for Bitbucket pipelines (CI).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-metadata?expand=0&rev=7
2019-02-14 14:28:47 +00:00
4 changed files with 87 additions and 18 deletions

View File

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

View File

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

View File

@@ -1,3 +1,70 @@
-------------------------------------------------------------------
Sun Mar 3 14:02:03 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 3.1.1:
* Add environment variables for AWS CodeBuild CI
-------------------------------------------------------------------
Sun Feb 4 12:14:54 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 3.1.0:
* Support Pytest 8.0
-------------------------------------------------------------------
Mon Jul 24 19:09:25 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 3.0.0:
* Group CLI options
* Switch to Hatch
* Use `pytest.stash` internally instead of `_metadata`
* Simplify code
-------------------------------------------------------------------
Tue May 9 13:10:34 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>
- add sle15_python_module_pythons
-------------------------------------------------------------------
Wed Nov 30 11:13:54 UTC 2022 - Daniel Garcia <daniel.garcia@suse.com>
- Remove python_module macro definition
- Update to 2.0.4:
* Fix deprecated pytest.mark.optionalhook marker.
- 2.0.3:
* Remove py dependency. Thanks to @Czaki for reporting.
- 2.0.2:
* Allow all python versions above 3.7
- 2.0.1:
* Fix issues with switching to pyproject.toml
Thanks to @dvzrv and @eltrufas for raising issues and providing fixes.
- 2.0.0:
* Drop support for python 2.7 and 3.6
* Add support for python 3.9 and 3.10
* Introduce pyproject.toml
* Provide metadata via JSON file
Thanks to @digitalorder for the PR
- 1.11.0:
* Provide a session fixture to include metadata in Junit XMLs as property
tags. Thanks to @sanga for the PR
-------------------------------------------------------------------
Mon Jun 29 11:52:00 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
- Update to 1.10.0
* Compatible with pytest-xdist 1.22.3+, now including 2.0+
-------------------------------------------------------------------
Mon May 18 09:15:04 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 1.9.0:
* Add --metadata-from-json argument to support passing metadata as json.
-------------------------------------------------------------------
Thu Feb 14 14:28:31 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 1.8.0:
* Add environment variables for Bitbucket pipelines (CI).
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Nov 22 10:43:12 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com> Thu Nov 22 10:43:12 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-pytest-metadata # spec file for package python-pytest-metadata
# #
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2024 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -16,23 +16,24 @@
# #
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?sle15_python_module_pythons}
Name: python-pytest-metadata Name: python-pytest-metadata
Version: 1.7.0 Version: 3.1.1
Release: 0 Release: 0
Summary: Pytest plugin for test session metadata Summary: Pytest plugin for test session metadata
License: MPL-2.0 License: MPL-2.0
Group: Development/Languages/Python
URL: https://github.com/pytest-dev/pytest-metadata URL: https://github.com/pytest-dev/pytest-metadata
Source: https://files.pythonhosted.org/packages/source/p/pytest-metadata/pytest-metadata-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/p/pytest-metadata/pytest_metadata-%{version}.tar.gz
BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module hatch_vcs}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module pip}
BuildRequires: %{python_module poetry-core}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-pytest >= 2.9.0 Requires: python-pytest >= 3.0.0
BuildArch: noarch BuildArch: noarch
# SECTION test requirements # SECTION test requirements
BuildRequires: %{python_module pytest >= 2.9.0} BuildRequires: %{python_module pytest >= 3.0.0}
# /SECTION # /SECTION
%python_subpackages %python_subpackages
@@ -40,21 +41,22 @@ BuildRequires: %{python_module pytest >= 2.9.0}
Pytest plugin for test session metadata. Pytest plugin for test session metadata.
%prep %prep
%setup -q -n pytest-metadata-%{version} %setup -q -n pytest_metadata-%{version}
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} -v %pytest
%files %{python_files} %files %{python_files}
%license LICENSE %license LICENSE
%doc CHANGES.rst README.rst %doc README.rst
%{python_sitelib}/* %{python_sitelib}/pytest_metadata
%{python_sitelib}/pytest_metadata-%{version}*-info
%changelog %changelog