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

Initial Update #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Initial Update #1

wants to merge 2 commits into from

Conversation

pyup-bot
Copy link

@pyup-bot pyup-bot commented Jan 5, 2017

This is my first visit to this fine repo so I have bundled all updates in a single pull request to make things easier for you to merge.

Close this pull request and delete the branch if you want me to start with single pull requests right away

Here's the executive summary:

Updates

Here's a list of all the updates bundled in this pull request. I've added some links to make it easier for you to find all the information you need.

pyserial 3.0b1 » 3.2.1 PyPI | Changelog | Repo | Docs
numpy 1.10.2 » 1.11.3 PyPI | Homepage

Changelogs

pyserial 3.0b1 -> 3.2.1

3.2.1


Improvements:

  • remove serial.aio in favor of separate package, pyserial-asyncio
  • add client mode to example tcp_serial_redirect.py
  • use of monotonic clock for timeouts, when available (Python 3.3 and up)
  • [169] arbitrary baud rate support for BSD family
  • improve tests, improve loop://

Bugfixes:

  • [137] Exception while cancel in miniterm (python3)
  • [143] Class Serial in protocol_loop.py references variable before assigning
    to it
  • [149] Python 3 fix for threaded.FramedPacket

Bugfixes (posix):

  • [133] _update_dtr_state throws Inappropriate ioctl for virtual serial
    port created by socat on OS X
  • [157] Broken handling of CMSPAR in serialposix.py

Bugfixes (win32):

  • [144] Use Unicode API for list_ports
  • [145] list_ports_windows: support devices with only VID
  • [162] Write in non-blocking mode returns incorrect value on windows

3.2.0


See 3.2.1, this one missed a merge request related to removing aio.

3.1.1


Improvements:

  • deprecate nonblocking() method on posix, the port is already in this
    mode.
  • style: use .format() in various places instead of "%" formatting

Bugfixes:

  • [122] fix bug in FramedPacket
  • [127] The Serial class in the .NET/Mono (IronPython) backend does not
    implement the _reconfigure_port method
  • [123, 128] Avoid Python 3 syntax in aio module

Bugfixes (posix):

  • [126] PATCH: Check delay_before_tx/rx for None in serialposix.py
  • posix: retry if interrupted in Serial.read

Bugfixes (win32):

  • win32: handle errors of GetOverlappedResult in read(), fixes 121

3.1.0


Improvements:

  • improve error handling in alt:// handler
  • socket:// internally used select, improves timeout behavior
  • initial state of RTS/DTR: ignore error when setting on open posix
    (support connecting to pty's)
  • code style updates
  • posix: remove "number_to_device" which is not called anymore
  • add cancel_read and cancel_write to win32 and posix implementations

Bugfixes:

  • [68] aio: catch errors and close connection
  • [87] hexlify: update codec for Python 2
  • [100] setPort not implemented
  • [101] bug in serial.threaded.Packetizer with easy fix
  • [104] rfc2217 and socket: set timeout in create_connection
  • [107] miniterm.py fails to exit on failed serial port

Bugfixes (posix):

  • [59] fixes for RTS/DTR handling on open
  • [77] list_ports_osx: add missing import
  • [85] serialposix.py _set_rs485_mode() tries to read non-existing
    rs485_settings.delay_rts_before_send
  • [96] patch: native RS485 is never enabled

Bugfixes (win32):

  • fix bad super call and duplicate old-style init call
  • [80] list_ports: Compatibility issue between Windows/Linux

3.0.1


  • special case for FDTIBUS in list_ports on win32 (61)

Bugfixes:

  • Serial keyword arguments, more on backward compatibility, fix 55
  • list_ports: return name if product is None, fix for 54
  • port_publisher: restore some sorting of ports

3.0


  • minor fixes to setup.py (file list), inter_byte_timeout (not stored when
    passed to init), rfc2217 (behavior of close when open failed),
    list_ports (str), loop://, renamed ReaderThread
  • hwgrep:// added options to pick n'th port, skip busy ports
  • miniterm: --ask option added

Bugfixes (posix):

  • [26/30] always call tcsettattr on open
  • [42] fix disregard read timeout if there is more data
  • [45] check for write timeout, even if EAGAIN was raised

Bugfixes (win32):

  • [27] fix race condition in read(), fix minimal timeout issue
  • race condition in nonblocking case
  • [49] change exception type in case SetCommState fails
  • [50] fixed issue with 0 timeout on windows 10

Once you have closed this pull request, I'll create seperate pull requests for every update as soon as I find them.

That's it for now!

Happy merging! 🤖

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.

1 participant