diff --git a/docs/requirements_for_docs.txt b/docs/requirements_for_docs.txt index 00c42b29..e4211f8b 100644 --- a/docs/requirements_for_docs.txt +++ b/docs/requirements_for_docs.txt @@ -1,4 +1,4 @@ -sphinx>=4.1.2 -sphinx-autoapi>=1.8.4 -sphinx-rtd-theme>=0.5.2 -tomli>=2.0.0 \ No newline at end of file +sphinx==4.* +sphinx-autoapi==1.* +sphinx-rtd-theme==1.3.0 +tomli==2.* \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 728f2a55..37adb6c2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,6 +11,7 @@ classifiers = [ "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Natural Language :: English", @@ -19,7 +20,7 @@ classifiers = [ "Topic :: Scientific/Engineering :: Interface Engine/Protocol Translator", "Topic :: Software Development :: Embedded Systems", "Topic :: System :: Monitoring", - "Topic :: System :: Networking" + "Topic :: System :: Networking", ] keywords = [ "uds", @@ -29,7 +30,7 @@ keywords = [ "obd", "on-board-diagnostic", "vehicle-diagnostic", - "automotive" + "automotive", ] authors = [ {name="Maciej Dąbrowski", email="maciej.dabrowski@software-quality.pl"}, @@ -47,34 +48,45 @@ dynamic = ["version"] [project.urls] -Homepage = "https://github.com/mdabrowski1990/uds" +"Homepage" = "https://github.com/mdabrowski1990/uds" "User Documentation" = "https://uds.readthedocs.io/en/latest/" -Repository = "https://github.com/mdabrowski1990/uds" +"Repository" = "https://github.com/mdabrowski1990/uds" "Issues Tracking System" = "https://github.com/mdabrowski1990/uds/issues" "Releases and Changelogs" = "https://github.com/mdabrowski1990/uds/releases" "Security Policy" = "https://github.com/mdabrowski1990/uds/security/policy" "PyPI" = "https://pypi.org/project/py-uds/" -Wiki = "https://github.com/mdabrowski1990/uds/wiki" +"Wiki" = "https://github.com/mdabrowski1990/uds/wiki" "Code Download" = "https://github.com/mdabrowski1990/uds/archive/refs/heads/main.zip" [project.optional-dependencies] test = [ + "mock == 5.*", "pytest == 7.*", "pytest-cov", "pytest-asyncio", - "mock == 5.*" ] docs = [ "sphinx", "sphinx-autoapi", - "sphinx-rtd-theme" + "sphinx-rtd-theme", + "tomli", +] +static-code-analysis = [ + "prospector == 1.10.3", + "mypy == 1.6.1", + "vulture == 2.10", + "bandit == 1.7.5", + "pyroma == 4.2", +] +dependency-scan = [ + "safety == 2.3.5", ] [build-system] requires = [ - "setuptools>=42", + "setuptools >= 42", "wheel" ] build-backend = "setuptools.build_meta" @@ -95,7 +107,8 @@ docs = [ "source/*.rst", "source/pages/*.rst", "source/*.png", - "source/*.drawio" + "source/*.drawio", + "source/*.tgn", ] @@ -113,6 +126,7 @@ markers = [ ] testpaths = [ "tests/software_tests", + "tests/system_tests", ] filterwarnings = "ignore:::.*uds*" asyncio_mode = "strict" diff --git a/tests/requirements_for_dependency_scanning.txt b/tests/requirements_for_dependency_scanning.txt index 0a636ad4..4fc0c157 100644 --- a/tests/requirements_for_dependency_scanning.txt +++ b/tests/requirements_for_dependency_scanning.txt @@ -1 +1 @@ -safety>=1.10.3 \ No newline at end of file +safety==2.3.5 \ No newline at end of file diff --git a/uds/__init__.py b/uds/__init__.py index bfba0e4d..28e80a01 100644 --- a/uds/__init__.py +++ b/uds/__init__.py @@ -17,7 +17,7 @@ - `K-Line `_ """ -__version__ = "0.2.0" +__version__ = "0.3.0" __author__ = "Maciej Dąbrowski" __maintainer__ = "Maciej Dąbrowski" __credits__ = ["Maciej Dąbrowski (https://www.linkedin.com/in/maciej-dabrowski-test-engineer/)",