Skip to content

Commit

Permalink
sdk: Move testing depencies to dev section in pyproject.toml (#369)
Browse files Browse the repository at this point in the history
Previously, some `sdk` dependencies, that are only 
necessary for testing were included in the 
mandatory dependencies.

For improving package footprint, these are moved 
into the `[dev]` section of optional dependencies
in the `pyproject.toml`.

---------

Co-authored-by: s-heppner <iat@s-heppner.com>
  • Loading branch information
JGrothoff and s-heppner authored Jan 20, 2025
1 parent 789cb4b commit 86a8333
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,17 +44,17 @@ The BaSyx Python SDK requires the following Python packages to be installed for
* `pyecma376-2` (Apache License v2.0)
* `urllib3` (MIT License)
* `Werkzeug` (BSD 3-clause License)
* `jsonschema` (MIT License, Apache License, PSF License)
* `types-python-dateutil` (Apache License v2.0)
* `schemathesis` (MIT License)
* `hypothesis` (MPL v2.0)
* `lxml-stubs` (Apache License)

Development/testing/documentation/example dependencies:
* `mypy` (MIT License)
* `pycodestyle` (MIT License)
* `codeblocks` (Apache License v2.0)
* `coverage` (Apache License v2.0)
* `jsonschema` (MIT License, Apache License, PSF License)
* `schemathesis` (MIT License)
* `hypothesis` (MPL v2.0)
* `lxml-stubs` (Apache License)
* `types-python-dateutil` (Apache License v2.0)

Dependencies for building the documentation (see `docs/add-requirements.txt`):
* `Sphinx` and its dependencies (BSD 2-clause License, MIT License, Apache License)
Expand Down
10 changes: 5 additions & 5 deletions sdk/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,11 @@ classifiers = [
]
requires-python = ">=3.9"
dependencies = [
"jsonschema~=4.7",
"lxml>=4.2,<5",
"python-dateutil>=2.8,<3",
"types-python-dateutil",
"pyecma376-2>=1.0.1",
"urllib3>=1.26,<3",
"Werkzeug>=3.0.3,<4",
"schemathesis~=3.7",
"hypothesis~=6.13",
"lxml-stubs~=0.5.1",
]

[project.optional-dependencies]
Expand All @@ -54,6 +49,11 @@ dev = [
"pycodestyle",
"codeblocks",
"coverage",
"schemathesis~=3.7",
"jsonschema~=4.7",
"hypothesis~=6.13",
"types-python-dateutil",
"lxml-stubs~=0.5.1",
]

[project.urls]
Expand Down

0 comments on commit 86a8333

Please sign in to comment.