Skip to content

Commit

Permalink
feat: make release 0.28.0 (#467)
Browse files Browse the repository at this point in the history
  • Loading branch information
yannpoupon committed Mar 28, 2024
1 parent fb6c362 commit f1e6657
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 68 deletions.
1 change: 1 addition & 0 deletions docs/whats_new/index.rst
Expand Up @@ -4,6 +4,7 @@ What's New In Pykiso?
.. toctree::

version_ongoing
version_0_28_0
version_0_27_0
version_0_26_0
version_0_25_1
Expand Down
14 changes: 14 additions & 0 deletions docs/whats_new/version_0_28_0.rst
@@ -0,0 +1,14 @@
Version 0.28.0
--------------

Communication Auxiliary
^^^^^^^^^^^^^^^^^^^^^^^

Receive method of the Communication Auxiliary can now also return the message timestamp
if the corresponding parameter is set to True.

PCAN Connector
^^^^^^^^^^^^^^

Trace file can be stopped and started by the function ``stop_pcan_trace`` and ``start_pcan_trace``
to create logfiles on the fly.
12 changes: 0 additions & 12 deletions docs/whats_new/version_ongoing.rst
@@ -1,14 +1,2 @@
Version ongoing
---------------

Communication Auxiliary
^^^^^^^^^^^^^^^^^^^^^^^

Receive method of the Communication Auxiliary can now also return the message timestamp
if the corresponding parameter is set to True.

PCAN Connector
^^^^^^^^^^^^^^

Trace file can be stopped and started by the function ``stop_pcan_trace`` and ``start_pcan_trace``
to create logfiles on the fly.
89 changes: 33 additions & 56 deletions pyproject.toml
@@ -1,26 +1,19 @@
[tool.poetry]
name = "pykiso"
version = "0.27.1"
version = "0.28.0"
description = "Embedded integration testing framework."
authors = ["Sebastian Fischer <sebastian.fischer@de.bosch.com>"]
license = "Eclipse Public License - v 2.0"
readme = "README.md"
homepage = "https://pypi.org/project/pykiso/"
repository = "https://github.com/eclipse/kiso-testing"
documentation = "https://kiso-testing.readthedocs.io/en/latest/"
packages = [
{ include = "pykiso", from = "src" }
]
packages = [{ include = "pykiso", from = "src" }]
include = [
"src/pykiso/test_result/templates/report_template.html.j2",
"src/pykiso/test_result/templates/report_template.css",
]
keywords = [
"testing",
"integration testing",
"framework",
"testing framework",
]
keywords = ["testing", "integration testing", "framework", "testing framework"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
Expand Down Expand Up @@ -48,24 +41,24 @@ click = ">=7.0.0,<9.0.0"
tabulate = ">=0.8.9,<0.10.0"
Jinja2 = ">=2.11.0,<4.0.0"
MarkupSafe = "~2.0.1" # Allow support for Jinja2 between 2.11 < x < 3
importlib-metadata = {version = ">=4.12,<7.0", python = "<3.8"}
pyreadline3 = {version = "^3.4.1", python = "^3.5"}
importlib-metadata = { version = ">=4.12,<7.0", python = "<3.8" }
pyreadline3 = { version = "^3.4.1", python = "^3.5" }
hidapi = ">=0.12,<0.15"
rich = {version = "^13.2.0", optional = true}
requests = {version = "^2.28.2", optional = true}
isort = {version = ">=5.11.4",optional = true}
black = {version = "*",optional = true}
pylink-square = {version = "~1.2.0", optional = true}
pykiso-python-uds = {version = "~3.2.0", optional = true}
pyserial = {version = "^3.0", optional = true}
PyVISA = {version = "^1.12.0", optional = true}
PyVISA-py = {version = "~0.5.3", optional = true}
python-can = {version = "^4.2.1", optional = true, extras = ["pcan,vector"]}
rich = { version = "^13.2.0", optional = true }
requests = { version = "^2.28.2", optional = true }
isort = { version = ">=5.11.4", optional = true }
black = { version = "*", optional = true }
pylink-square = { version = "~1.2.0", optional = true }
pykiso-python-uds = { version = "~3.2.0", optional = true }
pyserial = { version = "^3.0", optional = true }
PyVISA = { version = "^1.12.0", optional = true }
PyVISA-py = { version = "~0.5.3", optional = true }
python-can = { version = "^4.2.1", optional = true, extras = ["pcan,vector"] }
defusedxml = "^0.7.1"
packaging = "*"
grpcio = {version = "^1.0.0", optional = true}
protobuf = {version = "^4.24.2", optional = true}
cantools = {version = "^39.4.2", python = ">=3.8,<4.0"}
grpcio = { version = "^1.0.0", optional = true }
protobuf = { version = "^4.24.2", optional = true }
cantools = { version = "^39.4.2", python = ">=3.8,<4.0" }

[tool.poetry.extras]
plugins = [
Expand All @@ -76,32 +69,13 @@ plugins = [
"PyVISA",
"PyVISA-py",
]
can = [
"pykiso-python-uds",
"python-can",
]
debugger = [
"pylink-square",
]
instrument = [
"PyVISA",
"PyVISA-py",
]
serial = [
"pyserial",
]
grpc = [
"grpcio",
"protobuf",
]
testrail = [
"rich",
"requests",
]
pykitest = [
"black",
"isort",
]
can = ["pykiso-python-uds", "python-can"]
debugger = ["pylink-square"]
instrument = ["PyVISA", "PyVISA-py"]
serial = ["pyserial"]
grpc = ["grpcio", "protobuf"]
testrail = ["rich", "requests"]
pykitest = ["black", "isort"]
all = [
"pylink-square",
"pykiso-python-uds",
Expand Down Expand Up @@ -144,9 +118,7 @@ testrail = "pykiso.tool.testrail.cli:cli_testrail"
pytest11 = { pytest_kiso = "pykiso.pytest_plugin" }

[tool.pytest.ini_options]
testpaths = [
"./tests"
]
testpaths = ["./tests"]
addopts = """\
--verbose \
--log-level=DEBUG \
Expand All @@ -171,7 +143,12 @@ omit = [
]

[tool.coverage.report]
exclude_lines = ["pass", "def __repr__" ,"pragma: no cover","if TYPE_CHECKING:"]
exclude_lines = [
"pass",
"def __repr__",
"pragma: no cover",
"if TYPE_CHECKING:",
]

[build-system]
requires = ["poetry-core>=1.0.0"]
Expand All @@ -180,4 +157,4 @@ build-backend = "poetry.core.masonry.api"
[tool.ruff]
# Linelength according to PEP 8.
line-length = 120
exclude = ['examples', 'tests','tasks.py']
exclude = ['examples', 'tests', 'tasks.py']

0 comments on commit f1e6657

Please sign in to comment.