Skip to content

Conversation

@hardbyte
Copy link
Owner

@hardbyte hardbyte commented Aug 6, 2020

Would appreciate a few people testing out the beta before we release the (hopefully) final 3.x release.

Happy for any last features or fixes to make it in too.

pip install python-can==3.3.4b0

hardbyte and others added 9 commits June 18, 2020 21:28
socket.error is a deprecated alias of OSError used on Python versions
lower than 3.3.

Also cherry pick over the relevant cyclic SocketCAN tests and enable
Travis CI for SocketCAN tests on Python 2.

Fixes #845
the line can.interfaces.interface gave the error "ModuleNotFoundError: No module named 'can.interfaces.interface'
Hence propose to remove 'interfaces'
__getattr__ incorrectly assumes that self._dict always exists. However,
if self._dict doesn't exist, the function attempts to call __getattr__
again, which results in infinite recursion when serializing the object
via pickle.

This fixes the implementation of __getattr__ and adds a test to exercise
pickling/unpickling the Message.

Fixes #804
@codecov
Copy link

codecov bot commented Aug 6, 2020

Codecov Report

Merging #887 into master will increase coverage by 1.22%.
The diff coverage is 47.61%.

@@            Coverage Diff             @@
##           master     #887      +/-   ##
==========================================
+ Coverage   64.63%   65.85%   +1.22%     
==========================================
  Files          63       63              
  Lines        5822     5852      +30     
==========================================
+ Hits         3763     3854      +91     
+ Misses       2059     1998      -61     

@tamenol
Copy link
Contributor

tamenol commented Aug 11, 2020

I see nothing wrong in my application when using the latest beta version. I'm using the PCAN interface.

karlding and others added 3 commits August 26, 2020 22:38
Fix iteration in Bus.stop_all_periodic_tasks so tasks are properly
stopped.

In addition, add a test in order to verify that Cyclic Tasks are
correctly stopped when multiple tasks are active on a particular bus.
The test is carried out via the SocketCAN interface.

Note: This is a squashed cherry pick of the following commits from
develop:
  - 8112d13
  - 1aa0bc6

Addresses #634
* Use inter-process mutex to prevent concurrent neoVI device open

When neoVI server is enabled, there is an issue with concurrent device open.

* Move neoVI open lock to module level

* Adding dummy file lock when importing FileLock fails

* Grammar fix

* Raising more precise API error when set bitrate fails

Also calling shutdown before raising exception from the init if the device is opened

* Simplified if fd condition in init

* Moving filelock to neovi extras_require

* Adding comma back

* Update CHANGELOG.txt

Co-authored-by: Pierre-Luc Tessier Gagné <[email protected]>
@hardbyte
Copy link
Owner Author

This will automatically publish the release if/when someone else approves the PR.

@felixdivo
Copy link
Collaborator

I currently do not have any CAN hardware at all in my home office. So I can only say that the changes look fine, not that they actually work.

karlding and others added 2 commits September 30, 2020 21:33
Skip any channels that don't have support for CAN (ex. LIN,
Digital/Analog IO) instead of accepting everything when using
auto-detection.

Note: This is a backport of #641 to 3.3.4

Addresses #908
vector: Skip channels without CAN support
Copy link
Collaborator

@zariiii9003 zariiii9003 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would remove the platform import in setup.py (unless i missed something). Otherwise this looks good.

@hardbyte hardbyte requested a review from zariiii9003 October 4, 2020 03:44
@mergify mergify bot merged commit ab793f6 into master Oct 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants