Skip to content

Bump python-can from 4.3.1 to 4.6.1#174

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/python-can-4.6.1
Open

Bump python-can from 4.3.1 to 4.6.1#174
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/python-can-4.6.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 24, 2025

Copy link
Copy Markdown
Contributor

Bumps python-can from 4.3.1 to 4.6.1.

Release notes

Sourced from python-can's releases.

4.6.1

Version v4.6.1 - 2025-08-12

Fixed

  • Fix initialisation of an slcan bus, when setting a bitrate. When using CAN 2.0 (not FD), the default setting for data_bitrate was invalid, causing an exception. (#1978)

v4.6.0

🚀 Highlights

  • 🆕 New CLI tool: can_bridge — bridge two physical CAN buses in software via python -m can.bridge.
  • 📡 Expanded protocol support:
    • 11-bit identifiers, remote frames, and error frames in the serial interface.
    • CAN FD support in slcan for CANable 2.0 devices.
    • Error message support in the socketcand interface.
    • Remote frame support in TRCReader.
  • 🖥 Windows support: Added support for the udp_multicast interface on Windows.
  • 🔔 Notifier improvements:
    • Track active Notifiers and use them as context managers.
    • New helper: Notifier.find_instances(bus) to discover active Notifiers.
  • 🛠 Better CLI integration: Public functions can.cli.add_bus_arguments and can.cli.create_bus_from_namespace for downstream packages to easily configure and parse python-can bus options.

Added

  • Add support for 11-bit identifiers in the serial interface. (#1758)
  • Add context manager support and active instance tracking to Notifier, plus Notifier.find_instances(bus). (#1890)
  • Add Windows support to udp_multicast interface. (#1914)
  • Add FD support to slcan according to CANable 2.0 implementation. (#1920)
  • Add support for error messages to the socketcand interface. (#1941)
  • Add support for remote and error frames in the serial interface. (#1948)
  • Add public functions can.cli.add_bus_arguments and can.cli.create_bus_from_namespace for creating bus command line options. Currently downstream packages need to implement their own logic to configure python-can buses. Now python-can can create and parse bus options for third party packages. (#1949)
  • Add support for remote frames to TRCReader. (#1953)
  • Mention the python-can-candle package in the plugin interface section of the documentation. (#1954)
  • Add new CLI tool python -m can.bridge (or just can_bridge) to create a software bridge between two physical buses. (#1961)

🔧 Changed

  • Allow sending Classic CAN frames with a DLC value larger than 8 using the socketcan interface. (#1851)
  • Rename the gs_usb extra dependency to gs-usb. (#1945)
  • New PEP 735 dependency groups lint, docs and test. (#1945)
  • Update dependency name from zlgcan-driver-py to zlgcan. (#1946)
  • Use ThreadPoolExecutor in detect_available_configs() to reduce runtime and add timeout parameter. (#1947)
  • Update contribution guide. (#1960)

🗑 Removed

... (truncated)

Changelog

Sourced from python-can's changelog.

Version v4.6.1 - 2025-08-12

Fixed

  • Fix initialisation of an slcan bus, when setting a bitrate. When using CAN 2.0 (not FD), the default setting for data_bitrate was invalid, causing an exception. (#1978)

Version v4.6.0 - 2025-08-05

Removed

  • Remove support for Python 3.8. (#1931)
  • Unknown command line arguments ("extra args") are no longer passed down to can.Bus() instantiation. Use the --bus-kwargs argument instead. (#1949)
  • Remove can.io.generic.BaseIOHandler class. Improve can.io.* type annotations by using typing.Generic. (#1951)

Added

  • Support 11-bit identifiers in the serial interface. (#1758)
  • Keep track of active Notifiers and make Notifier usable as a context manager. Add function Notifier.find_instances(bus) to find the active Notifier for a given bus instance. (#1890)
  • Add Windows support to udp_multicast interface. (#1914)
  • Add FD support to slcan according to CANable 2.0 implementation. (#1920)
  • Add support for error messages to the socketcand interface. (#1941)
  • Add support for remote and error frames in the serial interface. (#1948)
  • Add public functions can.cli.add_bus_arguments and can.cli.create_bus_from_namespace for creating bus command line options. Currently downstream packages need to implement their own logic to configure python-can buses. Now python-can can create and parse bus options for third party packages. (#1949)
  • Add support for remote frames to TRCReader. (#1953)
  • Mention the python-can-candle package in the plugin interface section of the documentation. (#1954)
  • Add new CLI tool python -m can.bridge (or just can_bridge) to create a software bridge between two physical buses. (#1961)

Changed

  • Allow sending Classic CAN frames with a DLC value larger than 8 using the socketcan interface. (#1851)
  • The gs_usb extra dependency was renamed to gs-usb. The lint extra dependency was removed and replaced with new PEP 735 dependency groups lint, docs and test. (#1945)
  • Update dependency name from zlgcan-driver-py to zlgcan. (#1946)
  • Use ThreadPoolExecutor in detect_available_configs() to reduce runtime and add timeout parameter. (#1947)
  • Update contribution guide. (#1960)

Fixed

  • Fix a bug in slcanBus.get_version() and slcanBus.get_serial_number(): If any other data was received during the function call, then None was returned. (#1904)
  • Fix incorrect padding of CAN FD payload in BlfReader. (#1906)
  • Set correct message direction for messages received with kvaser interface and receive_own_messages=True. (#1908)
  • Fix timestamp rounding error in BlfWriter. (#1921)
  • Fix timestamp rounding error in BlfReader. (#1927)
  • Handle timer overflow message and build timestamp according to the epoch in the ixxat interface. (#1934)
  • Avoid unsupported ioctl function call to allow usage of the udp_multicast interface on MacOS. (#1940)
  • Fix configuration file parsing for the state bus parameter. (#1957)
  • Mf4Reader: support non-standard CAN_DataFrame.Dir values in mf4 files created by ihedvall/mdflib. (#1967)
  • PcanBus: Set Message.channel attribute in PcanBus.recv(). (#1969)

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [python-can](https://github.com/hardbyte/python-can) from 4.3.1 to 4.6.1.
- [Release notes](https://github.com/hardbyte/python-can/releases)
- [Changelog](https://github.com/hardbyte/python-can/blob/main/CHANGELOG.md)
- [Commits](hardbyte/python-can@v4.3.1...v4.6.1)

---
updated-dependencies:
- dependency-name: python-can
  dependency-version: 4.6.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Sep 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants