summaryrefslogtreecommitdiff
path: root/pyproject.toml
diff options
context:
space:
mode:
authorroberto berto <rberto@deepcausa.com>2025-11-02 22:54:44 +0000
committerroberto berto <rberto@deepcausa.com>2025-11-02 22:54:44 +0000
commit6b4e9015744ab8c9f17a6b8e23387cd676b1d827 (patch)
tree4c0a634730df2123ff506252cbec050de006dac8 /pyproject.toml
parent1ada32975f0bb559ec7526e0dd545700dde1cb94 (diff)
downloadpyvyos-6b4e9015744ab8c9f17a6b8e23387cd676b1d827.tar.gz
pyvyos-6b4e9015744ab8c9f17a6b8e23387cd676b1d827.zip
feat: v0.4.0 - Architecture refactor, bug fixes, and quality improvementsfeat/architecture-and-quality-improvements
- Fixed #25: config_file_save/load now include path: [] in payload - Added exception hierarchy (SDKError, HttpError, ApiError, ValidationError) - Added utility functions (json, ids, paths) - Added structured logging with request ID tracking - Added optional Pydantic validation models - Refactored to pyvyos.core.* structure with backward compatibility shims - Moved JSON specs to docs/development/vyos_api/ - Added comprehensive test suite (19 shim tests, 16 utils tests, 6 exception tests) - Updated pyproject.toml for uv sync editable installation - Added development documentation (architecture, roadmap, quality guidelines) Maintains 100% backward compatibility with 0.3.0
Diffstat (limited to 'pyproject.toml')
-rw-r--r--pyproject.toml17
1 files changed, 15 insertions, 2 deletions
diff --git a/pyproject.toml b/pyproject.toml
index 6d3eb7f..e931092 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
[project]
name = "pyvyos"
-version = "0.3.0"
+version = "0.4.0"
authors = [
{ name="Roberto Berto", email="463349+robertoberto@users.noreply.github.com" },
]
@@ -28,6 +28,9 @@ dev = [
"pytest-cov>=4.1,<6.0",
"pytest-env>=0.6.2,<0.7",
]
+validation = [
+ "pydantic>=2.0,<3.0",
+]
[project.urls]
Homepage = "https://github.com/vyos-contrib/pyvyos"
@@ -59,4 +62,14 @@ env = [
[tool.coverage.run]
omit = [
"tests/*",
-] \ No newline at end of file
+]
+
+[dependency-groups]
+dev = [
+ "pytest>=8.4.2",
+ "pytest-cov>=5.0.0",
+ "pytest-env>=0.6.2",
+]
+
+[tool.uv]
+package = true