Skip to content

Commit ee21294

Browse files
authored
Merge pull request #26 from bp100a/first-release
cleanup for 1.0 release
2 parents 71f17e4 + 55e9cb7 commit ee21294

File tree

6 files changed

+16
-21
lines changed

6 files changed

+16
-21
lines changed

CHANGES

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# CHANGES
2+
3+
## [0.1.7] - 2024-09-03
4+
### Added
5+
- updated SOUP to include typing-extensions
6+
- typos fixed in comments

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,11 @@ response: bytes = connections[0].response_data(size=0) # reads until delimiter
5757
SOUP
5858
--------------------------------------------------------------------------
5959
___
60-
| Module | Version | comments |
61-
|-----------------|------------|---------------------------------------------|
62-
| Python | 3.11, 3.12 | Python interpreter |
63-
| py-datastruct | 1.0.0 | Serialization of binary to/from dataclasses |
60+
| Module | Version | comments |
61+
|-----------------|------------|----------------------------------------------|
62+
| Python | 3.11, 3.12 | Python interpreter |
63+
| py-datastruct | 1.0.0 | Serialization of binary to/from dataclasses |
64+
| type-extensions | 4.12.2 | extensions for typing (SocketWrapper typing) |
6465

6566

6667
Useful Resources

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ readme = "README.md"
1111
license = {text = "BSD License"}
1212
dependencies = [
1313
"py-datastruct>=1.0.0",
14+
"typing-extensions>=4.12",
1415
]
1516
requires-python = ">= 3.11"
1617
keywords = ["usb", "usbipd", "serial"]
@@ -21,7 +22,7 @@ classifiers = [
2122
# 3 - Alpha
2223
# 4 - Beta
2324
# 5 - Production/Stable
24-
"Development Status :: 4 - Beta",
25+
"Development Status :: 5 - Production/Stable",
2526
# Indicate who your project is intended for
2627
"Intended Audience :: Developers",
2728
"Topic :: System :: Hardware :: Universal Serial Bus (USB) :: Communications Device Class (CDC)",
@@ -34,7 +35,6 @@ classifiers = [
3435

3536
# Specify the Python versions you support here.
3637
"Programming Language :: Python :: Implementation :: CPython",
37-
"Programming Language :: Python :: Implementation :: PyPy",
3838
"Programming Language :: Python",
3939
"Programming Language :: Python :: 3.11",
4040
"Programming Language :: Python :: 3.12",
@@ -48,7 +48,7 @@ Repository = "https://github.com/bp100a/serial-usbipclient"
4848
name = "serial-usbipclient"
4949
authors = ["Harry J. Collins <bp100a@gmail.com>"]
5050
maintainers = ["Harry J. Collins <bp100a@gmail.com>"]
51-
version = "0.1.6"
51+
version = "1.0.0"
5252
description = "Simple serial connectivity to CDC (serial) USB devices exposed by a USBIPD service."
5353
readme = "README.md"
5454
package-mode = true

serial_usbipclient/socket_wrapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def __init__(self, family: AddressFamily, kind: SocketKind):
1515
self._address: tuple[str, int] = ('', 0)
1616

1717
def raw_socket(self) -> socket:
18-
"""return the underly, raw socket"""
18+
"""return the underlying, raw socket"""
1919
return self._socket
2020

2121
def settimeout(self, timeout: float | None) -> None:

serial_usbipclient/tests/mock_usbip.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -660,7 +660,7 @@ def wait_for_message(self, conn: Optional[USBIPClient] = None) -> tuple[USBIPCli
660660
"""wait for a response (or a shutdown)"""
661661
self.logger.info(f"wait_for_message({conn=}), {self._clients=}")
662662
if self._wakeup is None or self.server_socket is None:
663-
raise ValueError("neither the wakeup or server socket can be emptyed!")
663+
raise ValueError("neither the wakeup or server socket can be emptied!")
664664

665665
rlist: list[socket.socket | USBIPClient] = [self._wakeup.listener, self.server_socket]
666666
if conn:

tool_requirements.txt

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)