Skip to content

Fix fileno error on Windows (Serial bus)#1333

Merged
zariiii9003 merged 4 commits into
hardbyte:developfrom
MattWoodhead:develop
Jun 22, 2022
Merged

Fix fileno error on Windows (Serial bus)#1333
zariiii9003 merged 4 commits into
hardbyte:developfrom
MattWoodhead:develop

Conversation

@MattWoodhead

Copy link
Copy Markdown
Contributor

I was having issues with the Async example from the docs using the Serial interface: io.UnsupportedOperation: fileno

I looked back through the issues and found that several people have hit the fileno error over the years (#760, #877, #902). I have implemented the most recent fix from #1313 on the serial_bus.py interface and added a test case to the test_serial.py file.

Change implemented similar to that made in hardbyte#1313. This means notifiers will now work with the Serial interface.
@codecov

codecov Bot commented Jun 19, 2022

Copy link
Copy Markdown

Codecov Report

Merging #1333 (899cbb7) into develop (1430154) will decrease coverage by 6.44%.
The diff coverage is 60.00%.

@@             Coverage Diff             @@
##           develop    #1333      +/-   ##
===========================================
- Coverage    65.92%   59.48%   -6.45%     
===========================================
  Files           86       86              
  Lines         8955     8866      -89     
===========================================
- Hits          5904     5274     -630     
- Misses        3051     3592     +541     

@zariiii9003

Copy link
Copy Markdown
Collaborator

Thank you! Could you undo the Readme changes? The conda-forge version seems unmaintained.

@MattWoodhead

Copy link
Copy Markdown
Contributor Author

Sorry @zariiii9003, I have reverted the readme change. That must have snuck in when I rebased my local repository. I made a pull request to the conda-forge feedstock repository some time ago, but as you noted it appears to be unmainained.

@zariiii9003 zariiii9003 merged commit ec06452 into hardbyte:develop Jun 22, 2022
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.

2 participants