pytest-resources 0.2.2__tar.gz → 0.2.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. {pytest_resources-0.2.2 → pytest_resources-0.2.3}/CHANGELOG.md +9 -1
  2. {pytest_resources-0.2.2 → pytest_resources-0.2.3}/PKG-INFO +1 -1
  3. {pytest_resources-0.2.2 → pytest_resources-0.2.3}/src/pytest_resources/synth.py +1 -2
  4. {pytest_resources-0.2.2 → pytest_resources-0.2.3}/tests/unit/test_synth.py +1 -1
  5. {pytest_resources-0.2.2 → pytest_resources-0.2.3}/.gitignore +0 -0
  6. {pytest_resources-0.2.2 → pytest_resources-0.2.3}/LICENSE +0 -0
  7. {pytest_resources-0.2.2 → pytest_resources-0.2.3}/README.md +0 -0
  8. {pytest_resources-0.2.2 → pytest_resources-0.2.3}/pyproject.toml +0 -0
  9. {pytest_resources-0.2.2 → pytest_resources-0.2.3}/src/pytest_resources/__init__.py +0 -0
  10. {pytest_resources-0.2.2 → pytest_resources-0.2.3}/src/pytest_resources/errors.py +0 -0
  11. {pytest_resources-0.2.2 → pytest_resources-0.2.3}/src/pytest_resources/formats.py +0 -0
  12. {pytest_resources-0.2.2 → pytest_resources-0.2.3}/src/pytest_resources/hooks.py +0 -0
  13. {pytest_resources-0.2.2 → pytest_resources-0.2.3}/src/pytest_resources/index.py +0 -0
  14. {pytest_resources-0.2.2 → pytest_resources-0.2.3}/src/pytest_resources/loaders.py +0 -0
  15. {pytest_resources-0.2.2 → pytest_resources-0.2.3}/src/pytest_resources/nodes.py +0 -0
  16. {pytest_resources-0.2.2 → pytest_resources-0.2.3}/src/pytest_resources/plugin.py +0 -0
  17. {pytest_resources-0.2.2 → pytest_resources-0.2.3}/src/pytest_resources/py.typed +0 -0
  18. {pytest_resources-0.2.2 → pytest_resources-0.2.3}/tests/integration/test_library.py +0 -0
  19. {pytest_resources-0.2.2 → pytest_resources-0.2.3}/tests/integration/test_synth_library.py +0 -0
  20. {pytest_resources-0.2.2 → pytest_resources-0.2.3}/tests/resources/binary/blob.dat +0 -0
  21. {pytest_resources-0.2.2 → pytest_resources-0.2.3}/tests/resources/config/app.ini +0 -0
  22. {pytest_resources-0.2.2 → pytest_resources-0.2.3}/tests/resources/config/manifest.jsonc +0 -0
  23. {pytest_resources-0.2.2 → pytest_resources-0.2.3}/tests/resources/config/settings.toml +0 -0
  24. {pytest_resources-0.2.2 → pytest_resources-0.2.3}/tests/resources/data/movies.csv +0 -0
  25. {pytest_resources-0.2.2 → pytest_resources-0.2.3}/tests/resources/structured/nested/deep.json +0 -0
  26. {pytest_resources-0.2.2 → pytest_resources-0.2.3}/tests/resources/structured/sample.json +0 -0
  27. {pytest_resources-0.2.2 → pytest_resources-0.2.3}/tests/resources/structured/sample2.json +0 -0
  28. {pytest_resources-0.2.2 → pytest_resources-0.2.3}/tests/resources/unstructured/sample.md +0 -0
  29. {pytest_resources-0.2.2 → pytest_resources-0.2.3}/tests/resources/unstructured/sample2.md +0 -0
  30. {pytest_resources-0.2.2 → pytest_resources-0.2.3}/tests/unit/test_formats.py +0 -0
  31. {pytest_resources-0.2.2 → pytest_resources-0.2.3}/tests/unit/test_hook.py +0 -0
  32. {pytest_resources-0.2.2 → pytest_resources-0.2.3}/tests/unit/test_index.py +0 -0
  33. {pytest_resources-0.2.2 → pytest_resources-0.2.3}/tests/unit/test_init.py +0 -0
  34. {pytest_resources-0.2.2 → pytest_resources-0.2.3}/tests/unit/test_loaders.py +0 -0
  35. {pytest_resources-0.2.2 → pytest_resources-0.2.3}/tests/unit/test_nodes_synth.py +0 -0
  36. {pytest_resources-0.2.2 → pytest_resources-0.2.3}/tests/unit/test_plugin.py +0 -0
@@ -6,6 +6,13 @@ adheres to [Semantic Versioning](https://semver.org/).
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [0.2.3] - 2026-09-25
10
+
11
+ ### Fixed
12
+
13
+ - `ExtraNotInstalledError` now emits a single **uv-only** install hint (dropped the
14
+ redundant `pip` line), matching the project's toolchain and the docs.
15
+
9
16
  ## [0.2.2] - 2026-09-24
10
17
 
11
18
  ### Changed
@@ -79,7 +86,8 @@ First release.
79
86
  - A module-lifetime decode cache per tree, and typed misses (`EntryNotFoundError` /
80
87
  `KeyError`) that carry a `difflib` "did you mean" hint.
81
88
 
82
- [unreleased]: https://github.com/damvolkov/pytest-resources/compare/v0.2.2...HEAD
89
+ [unreleased]: https://github.com/damvolkov/pytest-resources/compare/v0.2.3...HEAD
90
+ [0.2.3]: https://github.com/damvolkov/pytest-resources/releases/tag/v0.2.3
83
91
  [0.2.2]: https://github.com/damvolkov/pytest-resources/releases/tag/v0.2.2
84
92
  [0.2.1]: https://github.com/damvolkov/pytest-resources/releases/tag/v0.2.1
85
93
  [0.2.0]: https://github.com/damvolkov/pytest-resources/releases/tag/v0.2.0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: pytest-resources
3
- Version: 0.2.2
3
+ Version: 0.2.3
4
4
  Summary: Lazy, typed, attribute-navigable fixtures for test resource files, with pluggable canonical loaders (e-serde by default).
5
5
  Project-URL: Homepage, https://github.com/damvolkov/pytest-resources
6
6
  Project-URL: Source, https://github.com/damvolkov/pytest-resources
@@ -116,8 +116,7 @@ class SynthProvider:
116
116
  return
117
117
  msg = (
118
118
  f"`Resources.{method}()` requires the '{extra}' extra.\n"
119
- f'Install it with: uv add --group test "pytest-resources[{extra}]" '
120
- f'(pip: pip install "pytest-resources[{extra}]")\n'
119
+ f'Install it with: uv add --group test "pytest-resources[{extra}]"\n'
121
120
  f"Underlying import failed: {module}"
122
121
  )
123
122
  raise ExtraNotInstalledError(msg)
@@ -39,7 +39,7 @@ def test_synth_file_without_files_explains_the_extra(monkeypatch: pytest.MonkeyP
39
39
  provider.file(FileType.PDF)
40
40
  msg = str(excinfo.value)
41
41
  assert "pytest-resources[files]" in msg
42
- assert "pip install" in msg
42
+ assert "uv add" in msg
43
43
  assert "faker-file" in msg
44
44
  assert "file" in msg
45
45