pytest-resources 0.3.1__tar.gz → 0.3.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.
- {pytest_resources-0.3.1 → pytest_resources-0.3.3}/CHANGELOG.md +30 -8
- {pytest_resources-0.3.1 → pytest_resources-0.3.3}/PKG-INFO +8 -8
- {pytest_resources-0.3.1 → pytest_resources-0.3.3}/pyproject.toml +8 -8
- {pytest_resources-0.3.1 → pytest_resources-0.3.3}/.gitignore +0 -0
- {pytest_resources-0.3.1 → pytest_resources-0.3.3}/LICENSE +0 -0
- {pytest_resources-0.3.1 → pytest_resources-0.3.3}/README.md +0 -0
- {pytest_resources-0.3.1 → pytest_resources-0.3.3}/src/pytest_resources/__init__.py +0 -0
- {pytest_resources-0.3.1 → pytest_resources-0.3.3}/src/pytest_resources/errors.py +0 -0
- {pytest_resources-0.3.1 → pytest_resources-0.3.3}/src/pytest_resources/formats.py +0 -0
- {pytest_resources-0.3.1 → pytest_resources-0.3.3}/src/pytest_resources/hooks.py +0 -0
- {pytest_resources-0.3.1 → pytest_resources-0.3.3}/src/pytest_resources/index.py +0 -0
- {pytest_resources-0.3.1 → pytest_resources-0.3.3}/src/pytest_resources/loaders.py +0 -0
- {pytest_resources-0.3.1 → pytest_resources-0.3.3}/src/pytest_resources/nodes.py +0 -0
- {pytest_resources-0.3.1 → pytest_resources-0.3.3}/src/pytest_resources/plugin.py +0 -0
- {pytest_resources-0.3.1 → pytest_resources-0.3.3}/src/pytest_resources/py.typed +0 -0
- {pytest_resources-0.3.1 → pytest_resources-0.3.3}/src/pytest_resources/synth.py +0 -0
- {pytest_resources-0.3.1 → pytest_resources-0.3.3}/tests/integration/test_library.py +0 -0
- {pytest_resources-0.3.1 → pytest_resources-0.3.3}/tests/integration/test_synth_library.py +0 -0
- {pytest_resources-0.3.1 → pytest_resources-0.3.3}/tests/resources/binary/blob.dat +0 -0
- {pytest_resources-0.3.1 → pytest_resources-0.3.3}/tests/resources/config/app.ini +0 -0
- {pytest_resources-0.3.1 → pytest_resources-0.3.3}/tests/resources/config/manifest.jsonc +0 -0
- {pytest_resources-0.3.1 → pytest_resources-0.3.3}/tests/resources/config/settings.toml +0 -0
- {pytest_resources-0.3.1 → pytest_resources-0.3.3}/tests/resources/data/movies.csv +0 -0
- {pytest_resources-0.3.1 → pytest_resources-0.3.3}/tests/resources/structured/nested/deep.json +0 -0
- {pytest_resources-0.3.1 → pytest_resources-0.3.3}/tests/resources/structured/sample.json +0 -0
- {pytest_resources-0.3.1 → pytest_resources-0.3.3}/tests/resources/structured/sample2.json +0 -0
- {pytest_resources-0.3.1 → pytest_resources-0.3.3}/tests/resources/unstructured/sample.md +0 -0
- {pytest_resources-0.3.1 → pytest_resources-0.3.3}/tests/resources/unstructured/sample2.md +0 -0
- {pytest_resources-0.3.1 → pytest_resources-0.3.3}/tests/unit/test_formats.py +0 -0
- {pytest_resources-0.3.1 → pytest_resources-0.3.3}/tests/unit/test_hook.py +0 -0
- {pytest_resources-0.3.1 → pytest_resources-0.3.3}/tests/unit/test_index.py +0 -0
- {pytest_resources-0.3.1 → pytest_resources-0.3.3}/tests/unit/test_init.py +0 -0
- {pytest_resources-0.3.1 → pytest_resources-0.3.3}/tests/unit/test_loaders.py +0 -0
- {pytest_resources-0.3.1 → pytest_resources-0.3.3}/tests/unit/test_nodes_synth.py +0 -0
- {pytest_resources-0.3.1 → pytest_resources-0.3.3}/tests/unit/test_plugin.py +0 -0
- {pytest_resources-0.3.1 → pytest_resources-0.3.3}/tests/unit/test_synth.py +0 -0
|
@@ -6,6 +6,26 @@ adheres to [Semantic Versioning](https://semver.org/).
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [0.3.3] - 2026-11-04
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
|
|
13
|
+
- The `[serde]` extra now requires `e-serde>=0.6.5,<0.7`. Before 0.6.5, e-serde dumped a control character inside a
|
|
14
|
+
quoted YAML scalar as `\u{1b}`, which YAML (e-serde's own `load` included) could not read back; the old `<0.6` cap
|
|
15
|
+
held every consumer on the broken line.
|
|
16
|
+
|
|
17
|
+
### Changed
|
|
18
|
+
|
|
19
|
+
- The project's home is `edamlabs/pytest-resources` (moved from `damvolkov`): URLs, authors and docs point there.
|
|
20
|
+
|
|
21
|
+
## [0.3.2] - 2026-09-27
|
|
22
|
+
|
|
23
|
+
### Fixed
|
|
24
|
+
|
|
25
|
+
- The `[serde]` extra pinned `e-serde>=0.2.0,<0.3`, which made the plugin unresolvable
|
|
26
|
+
against current e-serde (0.5.x). Widened to `<0.6`; the codec table (`eserde_loaders()`)
|
|
27
|
+
was verified against `e-serde 0.5.1` on all formats (json, jsonc, yaml, toml, ini, ndjson).
|
|
28
|
+
|
|
9
29
|
## [0.3.1] - 2026-09-25
|
|
10
30
|
|
|
11
31
|
### Changed
|
|
@@ -110,11 +130,13 @@ First release.
|
|
|
110
130
|
- A module-lifetime decode cache per tree, and typed misses (`EntryNotFoundError` /
|
|
111
131
|
`KeyError`) that carry a `difflib` "did you mean" hint.
|
|
112
132
|
|
|
113
|
-
[unreleased]: https://github.com/
|
|
114
|
-
[0.3.
|
|
115
|
-
[0.3.
|
|
116
|
-
[0.
|
|
117
|
-
[0.
|
|
118
|
-
[0.2.
|
|
119
|
-
[0.2.
|
|
120
|
-
[0.1
|
|
133
|
+
[unreleased]: https://github.com/edamlabs/pytest-resources/compare/v0.3.3...HEAD
|
|
134
|
+
[0.3.3]: https://github.com/edamlabs/pytest-resources/releases/tag/v0.3.3
|
|
135
|
+
[0.3.2]: https://github.com/edamlabs/pytest-resources/releases/tag/v0.3.2
|
|
136
|
+
[0.3.1]: https://github.com/edamlabs/pytest-resources/releases/tag/v0.3.1
|
|
137
|
+
[0.3.0]: https://github.com/edamlabs/pytest-resources/releases/tag/v0.3.0
|
|
138
|
+
[0.2.3]: https://github.com/edamlabs/pytest-resources/releases/tag/v0.2.3
|
|
139
|
+
[0.2.2]: https://github.com/edamlabs/pytest-resources/releases/tag/v0.2.2
|
|
140
|
+
[0.2.1]: https://github.com/edamlabs/pytest-resources/releases/tag/v0.2.1
|
|
141
|
+
[0.2.0]: https://github.com/edamlabs/pytest-resources/releases/tag/v0.2.0
|
|
142
|
+
[0.1.0]: https://github.com/edamlabs/pytest-resources/releases/tag/v0.1.0
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: pytest-resources
|
|
3
|
-
Version: 0.3.
|
|
4
|
-
Summary: Lazy, typed, attribute-navigable fixtures for test resource files, with pluggable canonical loaders (e-serde
|
|
5
|
-
Project-URL: Homepage, https://github.com/
|
|
6
|
-
Project-URL: Source, https://github.com/
|
|
7
|
-
Project-URL: Issues, https://github.com/
|
|
8
|
-
Project-URL: Changelog, https://github.com/
|
|
9
|
-
Author
|
|
3
|
+
Version: 0.3.3
|
|
4
|
+
Summary: Lazy, typed, attribute-navigable fixtures for test resource files, with pluggable canonical loaders (stdlib default, e-serde opt-in).
|
|
5
|
+
Project-URL: Homepage, https://github.com/edamlabs/pytest-resources
|
|
6
|
+
Project-URL: Source, https://github.com/edamlabs/pytest-resources
|
|
7
|
+
Project-URL: Issues, https://github.com/edamlabs/pytest-resources/issues
|
|
8
|
+
Project-URL: Changelog, https://github.com/edamlabs/pytest-resources/blob/main/CHANGELOG.md
|
|
9
|
+
Author: EDamLabs
|
|
10
10
|
License-Expression: MIT
|
|
11
11
|
License-File: LICENSE
|
|
12
12
|
Keywords: config,e-serde,fixtures,json,pytest,pytest-plugin,resources,testing,toml,yaml
|
|
@@ -28,7 +28,7 @@ Provides-Extra: random
|
|
|
28
28
|
Requires-Dist: faker-file[common]>=0.19; extra == 'random'
|
|
29
29
|
Requires-Dist: polyfactory>=2.22; extra == 'random'
|
|
30
30
|
Provides-Extra: serde
|
|
31
|
-
Requires-Dist: e-serde<0.
|
|
31
|
+
Requires-Dist: e-serde<0.7,>=0.6.5; extra == 'serde'
|
|
32
32
|
Description-Content-Type: text/markdown
|
|
33
33
|
|
|
34
34
|
# pytest-resources
|
|
@@ -7,12 +7,12 @@ build-backend = "hatchling.build"
|
|
|
7
7
|
[project]
|
|
8
8
|
name = "pytest-resources"
|
|
9
9
|
dynamic = ["version"]
|
|
10
|
-
description = "Lazy, typed, attribute-navigable fixtures for test resource files, with pluggable canonical loaders (e-serde
|
|
10
|
+
description = "Lazy, typed, attribute-navigable fixtures for test resource files, with pluggable canonical loaders (stdlib default, e-serde opt-in)."
|
|
11
11
|
readme = "README.md"
|
|
12
12
|
requires-python = ">=3.14"
|
|
13
13
|
license = "MIT"
|
|
14
14
|
license-files = ["LICEN[CS]E*"]
|
|
15
|
-
authors = [{ name = "
|
|
15
|
+
authors = [{ name = "EDamLabs" }]
|
|
16
16
|
keywords = ["pytest", "pytest-plugin", "fixtures", "resources", "config", "e-serde", "json", "yaml", "toml", "testing"]
|
|
17
17
|
classifiers = [
|
|
18
18
|
"Development Status :: 4 - Beta",
|
|
@@ -27,16 +27,16 @@ classifiers = [
|
|
|
27
27
|
dependencies = ["pytest>=8.0"]
|
|
28
28
|
|
|
29
29
|
[project.optional-dependencies]
|
|
30
|
-
serde = ["e-serde>=0.
|
|
30
|
+
serde = ["e-serde>=0.6.5,<0.7"]
|
|
31
31
|
objects = ["polyfactory>=2.22"]
|
|
32
32
|
files = ["faker-file[common]>=0.19"]
|
|
33
33
|
random = ["pytest-resources[objects,files]"]
|
|
34
34
|
|
|
35
35
|
[project.urls]
|
|
36
|
-
Homepage = "https://github.com/
|
|
37
|
-
Source = "https://github.com/
|
|
38
|
-
Issues = "https://github.com/
|
|
39
|
-
Changelog = "https://github.com/
|
|
36
|
+
Homepage = "https://github.com/edamlabs/pytest-resources"
|
|
37
|
+
Source = "https://github.com/edamlabs/pytest-resources"
|
|
38
|
+
Issues = "https://github.com/edamlabs/pytest-resources/issues"
|
|
39
|
+
Changelog = "https://github.com/edamlabs/pytest-resources/blob/main/CHANGELOG.md"
|
|
40
40
|
|
|
41
41
|
[project.entry-points."pytest11"]
|
|
42
42
|
resources = "pytest_resources.plugin"
|
|
@@ -56,7 +56,7 @@ test = [
|
|
|
56
56
|
"pytest-cov>=7.1",
|
|
57
57
|
"pytest-randomly>=5.0",
|
|
58
58
|
"pytest-timeout>=2.4",
|
|
59
|
-
"e-serde>=0.
|
|
59
|
+
"e-serde>=0.6.5,<0.7",
|
|
60
60
|
"polyfactory>=2.22",
|
|
61
61
|
"faker-file[common]>=0.19",
|
|
62
62
|
"pydantic>=2.13.5",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pytest_resources-0.3.1 → pytest_resources-0.3.3}/tests/resources/structured/nested/deep.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|