Skip to content

Commit

Permalink
python3-cantools: Update version 38.0.2 -> 39.2.0
Browse files Browse the repository at this point in the history
Update the inherit is use the poetry

Changelog
=========
What's Changed
Make cycle_time serialisation more consistent for DBC files by @mon in openembedded#592
User f-strings instead of str.format() by @zariiii9003 in openembedded#599
Add prog option to argparse for help messages by @jack-champagne in openembedded#600

NOTE: This is a major release change with the following API changes:
The initial attribute of Signal objects now always holds the initial signal value as a scaled quantity, unifying its semantics with that of Signal.minimum and Signal.maximum. Previously, initial used raw values for databases loaded from DBC files, while using scaled ones for databases loaded from ARXML. (The loaders for other file formats do not currently set the initial attribute.)
The machinery for storing decimal numbers without rounding errors (*.decimal attributes) has been removed. In its place small rounding errors in load-store-load cycles are now accepted. To remediate this, the resulting database objects can now be compared approximately using the Database.is_similar() method.

Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
  • Loading branch information
derekstraka authored and kraj committed Sep 20, 2023
1 parent 990a400 commit 76aba1c
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 22 deletions.
22 changes: 0 additions & 22 deletions meta-python/recipes-devtools/python/python3-cantools_38.0.2.bb

This file was deleted.

22 changes: 22 additions & 0 deletions meta-python/recipes-devtools/python/python3-cantools_39.2.0.bb
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
DESCRIPTION = "CAN BUS tools in Python 3."
HOMEPAGE = "https://github.com/eerimoq/cantools"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=d9aa4ec07de78abae21c490c9ffe61bd"

SRC_URI[sha256sum] = "24045c5575217bb5331543e6a55cee822c37ad811dc4a08c75aa2eee3c6d529c"

PYPI_PACKAGE = "cantools"

inherit pypi python_poetry_core

RDEPENDS:${PN} += "\
${PYTHON_PN}-can \
${PYTHON_PN}-bitstruct \
${PYTHON_PN}-core \
${PYTHON_PN}-textparser \
${PYTHON_PN}-typing-extensions \
${PYTHON_PN}-diskcache \
${PYTHON_PN}-asyncio \
"

CLEANBROKEN = "1"

0 comments on commit 76aba1c

Please sign in to comment.