Update to version 1.8.0 #1

Manually merged
python-pytest merged 1 commits from mgrossu/python-pytest-datadir:main into main 2025-11-06 13:08:31 +01:00
4 changed files with 14 additions and 4 deletions

BIN
pytest_datadir-1.6.1.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
pytest_datadir-1.8.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Wed Nov 5 18:21:24 UTC 2025 - Marius Grossu <marius.grossu@suse.com>
- Update to 1.8.0:
* New lazy_shared_datadir fixture, which brings the same lazy functionality as lazy_datadir for the shared directory.
* Fix LazyDataDir.joinpath typing to also support Path objects as the right-hand side parameter.
* py.typed was added to the distribution, enabling users to use LazyDataDir in type annotations
* Fixed bug using lazy_datadir to copy a file using a sub-directory
* New lazy_datadir fixture that lazily copies files when accessed via joinpath or / operator
Review

I can see that you squashed all the release changelog into this one. Looks good in this case, as it's small, but I prefer to group changelogs with the release version, something like:


- Update to 1.8.0:
  * New lazy_shared_datadir fixture, which brings the same lazy functionality as lazy_datadir for the shared directory.
  * Fix LazyDataDir.joinpath typing to also support Path objects as the right-hand side parameter.
- 1.7.2:
  * py.typed was added to the distribution, enabling users to use LazyDataDir in type annotations
- 1.7.1:
  * Fixed bug using lazy_datadir to copy a file using a sub-directory 
- 1.7.0:
  * New lazy_datadir fixture that lazily copies files when accessed via joinpath or / operator
I can see that you squashed all the release changelog into this one. Looks good in this case, as it's small, but I prefer to group changelogs with the release version, something like: ``` - Update to 1.8.0: * New lazy_shared_datadir fixture, which brings the same lazy functionality as lazy_datadir for the shared directory. * Fix LazyDataDir.joinpath typing to also support Path objects as the right-hand side parameter. - 1.7.2: * py.typed was added to the distribution, enabling users to use LazyDataDir in type annotations - 1.7.1: * Fixed bug using lazy_datadir to copy a file using a sub-directory - 1.7.0: * New lazy_datadir fixture that lazily copies files when accessed via joinpath or / operator ```
-------------------------------------------------------------------
Mon May 5 02:56:06 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>

View File

@@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-pytest-datadir
Version: 1.6.1
Version: 1.8.0
Release: 0
Summary: Plugin for test data directories and files
License: MIT