diff --git a/pytest_env-1.1.5.tar.gz b/pytest_env-1.1.5.tar.gz deleted file mode 100644 index 927a090..0000000 --- a/pytest_env-1.1.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:91209840aa0e43385073ac464a554ad2947cc2fd663a9debf88d03b01e0cc1cf -size 8911 diff --git a/pytest_env-1.3.2.tar.gz b/pytest_env-1.3.2.tar.gz new file mode 100644 index 0000000..4e9ad46 --- /dev/null +++ b/pytest_env-1.3.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f091a2c6a8eb91befcae2b4c1bd2905a51f33bc1c6567707b7feed4e51b76b47 +size 12009 diff --git a/python-pytest-env.changes b/python-pytest-env.changes index 5a513bc..9f25461 100644 --- a/python-pytest-env.changes +++ b/python-pytest-env.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Mon Feb 16 07:15:38 UTC 2026 - Steve Kowalik + +- 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 diff --git a/python-pytest-env.spec b/python-pytest-env.spec index fdd8a81..ea32a05 100644 --- a/python-pytest-env.spec +++ b/python-pytest-env.spec @@ -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