17
0

3 Commits

Author SHA256 Message Date
8e123e3448 - Update to 1.3.2:
* refactor(plugin): consolidate TOML config parsing
  * test(plugin): verify env vars available during conftest imports
  * Support pytest.toml and .pytest.toml
  * feat(config): support [tool.pytest] in pyproject.toml
  * feat(plugin): add U flag to unset env variables
  * fix(config): use inipath for TOML file discovery
  * feat(plugin): add .env file loading support
  * Add support for 3.14 and drop 3.9
- Run the testsuite.
2026-02-16 18:16:15 +11:00
f8b984c0de Accepting request 1219908 from devel:languages:python:pytest
- update to 1.1.5:
  * Improve the CI

OBS-URL: https://build.opensuse.org/request/show/1219908
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-env?expand=0&rev=8
2024-11-01 20:48:54 +00:00
31d68d6870 - update to 1.1.5:
* Improve the CI

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-env?expand=0&rev=20
2024-10-31 16:42:03 +00:00
4 changed files with 34 additions and 9 deletions

Binary file not shown.

BIN
pytest_env-1.3.2.tar.gz LFS Normal file

Binary file not shown.

View File

@@ -1,3 +1,23 @@
-------------------------------------------------------------------
Mon Feb 16 07:15:38 UTC 2026 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 1.3.2:
* refactor(plugin): consolidate TOML config parsing
* test(plugin): verify env vars available during conftest imports
* Support pytest.toml and .pytest.toml
* feat(config): support [tool.pytest] in pyproject.toml
* feat(plugin): add U flag to unset env variables
* fix(config): use inipath for TOML file discovery
* feat(plugin): add .env file loading support
* Add support for 3.14 and drop 3.9
- Run the testsuite.
-------------------------------------------------------------------
Thu Oct 31 16:41:50 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 1.1.5:
* Improve the CI
-------------------------------------------------------------------
Mon Dec 4 10:57:20 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pytest-env
#
# Copyright (c) 2023 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
@@ -18,19 +18,21 @@
%{?sle15_python_module_pythons}
Name: python-pytest-env
Version: 1.1.3
Version: 1.3.2
Release: 0
Summary: Pytest plugin to add environment variables
License: MIT
Group: Development/Languages/Python
URL: https://github.com/pytest-dev/pytest-env
Source: https://files.pythonhosted.org/packages/source/p/pytest-env/pytest_env-%{version}.tar.gz
BuildRequires: %{python_module hatch_vcs}
BuildRequires: %{python_module hatch_vcs >= 0.5}
BuildRequires: %{python_module base >= 3.10}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module wheel}
BuildRequires: %{python_module python-dotenv >= 1.0}
BuildRequires: %{python_module pytest}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-pytest >= 2.6.0
Requires: python-pytest >= 7
Requires: python-python-dotenv >= 1.0
BuildArch: noarch
%python_subpackages
@@ -47,6 +49,9 @@ A py.test plugin that allows you to add environment variables.
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
%files %{python_files}
%license LICENSE
%{python_sitelib}/pytest_env