- Update to 1.3.2: #1

Merged
StevenK merged 1 commits from update-to-1.3.2 into main 2026-02-16 08:25:28 +01:00
4 changed files with 27 additions and 8 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,17 @@
-------------------------------------------------------------------
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>

View File

@@ -18,19 +18,21 @@
%{?sle15_python_module_pythons}
Name: python-pytest-env
Version: 1.1.5
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