json-schema-utils 0.9.10.dev5__tar.gz → 0.9.12__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 (29) hide show
  1. {json_schema_utils-0.9.10.dev5/json_schema_utils.egg-info → json_schema_utils-0.9.12}/PKG-INFO +1 -1
  2. {json_schema_utils-0.9.10.dev5 → json_schema_utils-0.9.12/json_schema_utils.egg-info}/PKG-INFO +1 -1
  3. json_schema_utils-0.9.12/jsutils/VERSION +1 -0
  4. {json_schema_utils-0.9.10.dev5 → json_schema_utils-0.9.12}/jsutils/convert.py +1 -1
  5. {json_schema_utils-0.9.10.dev5 → json_schema_utils-0.9.12}/jsutils/scripts.py +1 -1
  6. {json_schema_utils-0.9.10.dev5 → json_schema_utils-0.9.12}/pyproject.toml +5 -1
  7. json_schema_utils-0.9.10.dev5/jsutils/VERSION +0 -1
  8. {json_schema_utils-0.9.10.dev5 → json_schema_utils-0.9.12}/.gitignore +0 -0
  9. {json_schema_utils-0.9.10.dev5 → json_schema_utils-0.9.12}/LICENSE +0 -0
  10. {json_schema_utils-0.9.10.dev5 → json_schema_utils-0.9.12}/MANIFEST.in +0 -0
  11. {json_schema_utils-0.9.10.dev5 → json_schema_utils-0.9.12}/README.md +0 -0
  12. {json_schema_utils-0.9.10.dev5 → json_schema_utils-0.9.12}/json_schema_utils.egg-info/SOURCES.txt +0 -0
  13. {json_schema_utils-0.9.10.dev5 → json_schema_utils-0.9.12}/json_schema_utils.egg-info/dependency_links.txt +0 -0
  14. {json_schema_utils-0.9.10.dev5 → json_schema_utils-0.9.12}/json_schema_utils.egg-info/entry_points.txt +0 -0
  15. {json_schema_utils-0.9.10.dev5 → json_schema_utils-0.9.12}/json_schema_utils.egg-info/not-zip-safe +0 -0
  16. {json_schema_utils-0.9.10.dev5 → json_schema_utils-0.9.12}/json_schema_utils.egg-info/requires.txt +0 -0
  17. {json_schema_utils-0.9.10.dev5 → json_schema_utils-0.9.12}/json_schema_utils.egg-info/top_level.txt +0 -0
  18. {json_schema_utils-0.9.10.dev5 → json_schema_utils-0.9.12}/jsutils/__init__.py +0 -0
  19. {json_schema_utils-0.9.10.dev5 → json_schema_utils-0.9.12}/jsutils/inline.py +0 -0
  20. {json_schema_utils-0.9.10.dev5 → json_schema_utils-0.9.12}/jsutils/recurse.py +0 -0
  21. {json_schema_utils-0.9.10.dev5 → json_schema_utils-0.9.12}/jsutils/resolver.py +0 -0
  22. {json_schema_utils-0.9.10.dev5 → json_schema_utils-0.9.12}/jsutils/restruct.py +0 -0
  23. {json_schema_utils-0.9.10.dev5 → json_schema_utils-0.9.12}/jsutils/schemas.py +0 -0
  24. {json_schema_utils-0.9.10.dev5 → json_schema_utils-0.9.12}/jsutils/simplify.py +0 -0
  25. {json_schema_utils-0.9.10.dev5 → json_schema_utils-0.9.12}/jsutils/stats.py +0 -0
  26. {json_schema_utils-0.9.10.dev5 → json_schema_utils-0.9.12}/jsutils/types.py +0 -0
  27. {json_schema_utils-0.9.10.dev5 → json_schema_utils-0.9.12}/jsutils/utils.py +0 -0
  28. {json_schema_utils-0.9.10.dev5 → json_schema_utils-0.9.12}/jsutils/vocab.py +0 -0
  29. {json_schema_utils-0.9.10.dev5 → json_schema_utils-0.9.12}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: json_schema_utils
3
- Version: 0.9.10.dev5
3
+ Version: 0.9.12
4
4
  Summary: JSON Schema Utils
5
5
  Author: Fabien Coelho, Claire Yannou-Medrala
6
6
  License-Expression: CC0-1.0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: json_schema_utils
3
- Version: 0.9.10.dev5
3
+ Version: 0.9.12
4
4
  Summary: JSON Schema Utils
5
5
  Author: Fabien Coelho, Claire Yannou-Medrala
6
6
  License-Expression: CC0-1.0
@@ -0,0 +1 @@
1
+ 0.9.12
@@ -1069,7 +1069,7 @@ def schema2model(
1069
1069
  del schema["properties"]
1070
1070
  for s in lof:
1071
1071
  if "properties" not in s:
1072
- s["properties"] = props
1072
+ s["properties"] = copy.deepcopy(props)
1073
1073
  else:
1074
1074
  eprops = s["properties"]
1075
1075
  assert isinstance(eprops, dict)
@@ -553,7 +553,7 @@ def jsu_compile(xargs: list[str]|None = None) -> int:
553
553
  arg("--map", "-m", default=[], action="append", help="url local mapping \"src=dst\"")
554
554
 
555
555
  # how to run the jmc backend
556
- arg("--backend", type=str, default="p", choices=["p", "f"],
556
+ arg("--backend", "-b", type=str, default="p", choices=["p", "f"],
557
557
  help="how to run the backend: p=process, f=function")
558
558
 
559
559
  # forwarded to backend
@@ -1,5 +1,5 @@
1
1
  [build-system]
2
- requires = ["setuptools>=41", "setuptools-scm", "setuptools-git-versioning>=3,<4"]
2
+ requires = ["setuptools>=41", "setuptools-scm", "vcs-versioning", "setuptools-git-versioning>=3,<4"]
3
3
  build-backend = "setuptools.build_meta"
4
4
 
5
5
  [tool.setuptools]
@@ -9,6 +9,10 @@ zip-safe = false
9
9
  include = ["jsutils"]
10
10
  exclude = ["tests", "*.md", "*.sh", "Makefile"]
11
11
 
12
+ [tool.setuptools-scm]
13
+
14
+ [tool.vcs-versioning]
15
+
12
16
  [tool.setuptools-git-versioning]
13
17
  enabled = true
14
18
  version_file = "jsutils/VERSION"
@@ -1 +0,0 @@
1
- 0.9.10