Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add back PdoBase.export() dependency (canmatrix) #493

Merged
merged 10 commits into from
Jul 9, 2024

Conversation

erlend-aasland
Copy link
Contributor

The canmatrix optional dependency was removed on Oct 10, 2021 with commit
c46228f. It is now added back as an optional dependency, using the same
name as previously: db_export.

To install the dependency:

$ python3 -m pip install 'canopen[db_export]'

Resolves #488

The canmatrix optional dependency was removed on Oct 10, 2021 with commit
c46228f. It is now added back as an optional dependency, using the same
name as previously: db_export.

To install the dependency:

$ python3 -m pip install 'canopen[db_export]'

Resolves christiansandberg#488
@codecov-commenter
Copy link

codecov-commenter commented Jul 3, 2024

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

Attention: Patch coverage is 60.00000% with 2 lines in your changes missing coverage. Please review.

Project coverage is 67.90%. Comparing base (08eba81) to head (5193998).

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #493      +/-   ##
==========================================
+ Coverage   67.71%   67.90%   +0.19%     
==========================================
  Files          26       26              
  Lines        3113     3116       +3     
  Branches      527      527              
==========================================
+ Hits         2108     2116       +8     
+ Misses        864      858       -6     
- Partials      141      142       +1     
Files Coverage Δ
canopen/pdo/base.py 64.97% <60.00%> (+1.63%) ⬆️

canopen/pdo/base.py Outdated Show resolved Hide resolved
@erlend-aasland
Copy link
Contributor Author

FTR, I reused the same feature specifier as before: db_export.

test/test_pdo.py Outdated Show resolved Hide resolved
@erlend-aasland erlend-aasland requested a review from acolomb July 5, 2024 20:20
canopen/pdo/base.py Outdated Show resolved Hide resolved
test/test_pdo.py Outdated Show resolved Hide resolved
test/test_pdo.py Outdated Show resolved Hide resolved
- skip test from within the test method

- raise NotImplementedError from within the export() method
@acolomb
Copy link
Collaborator

acolomb commented Jul 8, 2024

Please fix the conflicts, otherwise ready to merge.

@acolomb acolomb merged commit 6bd39ba into christiansandberg:master Jul 9, 2024
2 checks passed
@erlend-aasland erlend-aasland deleted the fix-pdo-export branch July 9, 2024 06:51
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.

PdoBase.export() is broken bco. broken dependencies
4 participants