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

Fix fileno error on Windows (Serial bus) #1333

Merged
merged 4 commits into from Jun 22, 2022

Conversation

MattWoodhead
Copy link
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
Copy link

codecov bot commented Jun 19, 2022

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
Collaborator

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

@MattWoodhead
Copy link
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.

None yet

2 participants