Bug 290555 - www/py-websocket-client: Update to 1.9.2
Summary: www/py-websocket-client: Update to 1.9.2
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Alfred Perlstein
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-10-27 05:43 UTC by takefu
Modified: 2026-10-08 15:45 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (alfred)


Attachments
py-websocket-client-1.9.0.patch (969 bytes, patch)
2025-10-27 05:43 UTC, takefu
no flags Details | Diff
py-websocket-client-1.9.0.patch (1013 bytes, patch)
2025-11-16 00:27 UTC, Mark Linimon
no flags Details | Diff
py-websocket-client-1.9.2.patch (1.00 KB, patch)
2026-10-08 15:45 UTC, takefu
takefu: maintainer-approval?
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description takefu 2025-10-27 05:43:22 UTC
Created attachment 264924 [details]
py-websocket-client-1.9.0.patch

Update to 1.9.0

https://github.com/websocket-client/websocket-client/blob/v1.9.0/ChangeLog
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2025-11-16 00:27:09 UTC
Created attachment 265438 [details]
py-websocket-client-1.9.0.patch

^Triage: rebase patch.
Comment 2 takefu 2026-10-08 15:45:34 UTC
Created attachment 275506 [details]
py-websocket-client-1.9.2.patch

Update to 1.9.2

- 1.9.2
  - Fix race in `WebSocketApp.close()` when `run_forever()` thread clears the socket during the close handshake (#1057, fixes #1055 and #1056)


- 1.9.1
  - Add Python 3.14 support to setup config and CI (f2bc97a)
  - Fix `close()` dropping close frame when reason is str (2f22e2e)
  - Fix `close()` type annotation and docstring for timeout and reason (d69f730)
  - Make `abort()` robust for sockets that cannot shutdown, same logic as `shutdown()` (1904e3d)
  - Raise `WebSocketException` for redirects missing a `Location` header (97e34db)
  - Raise when WebSocket connect redirect limit is exhausted (be0d38d)
  - Raise `WebSocketException` for redirects to invalid targets (62ef6af)
  - Fix unformatted ABNF validation error messages (0145b7b)
  - Fix `validate_utf8()` crash on str input (4a8e6ed)
  - Store `status_message` on `WebSocketBadStatusException` (368aeda)
  - Raise `WebSocketException` for `check_hostname` with `CERT_NONE` (0232aca)
  - Fix `handleDisconnect` type annotation: None default requires Optional (20f3712)
  - Remove unreachable `not frame` check in `recv_data_frame()` (b684242)
  - Set `proxy_timeout` on `proxy_info` without a proxy host (68f0aed)
  - Fix `_wsdump.py` bytes annotations and remove dead code (5ecc6e4)
  - Export `STATUS_SERVICE_RESTART` and `STATUS_TRY_AGAIN_LATER` close codes (22279c4)
  - Fix `extract_err_message()` to always return str (e2091bd)
  - Raise `WebSocketProxyException` for SOCKS proxy without a port, correct proxy port docs (3c62bdf)
  - Raise `WebSocketException` for malformed HTTP responses (04f4d94)
  - Fix docs examples using dead or unreachable endpoints (2fc92c0)
  - Add pyproject.toml, drop deprecated setup.py metadata (8b34f50)
  - Apply linting (3b4ffab)

- 1.9.0
  - Remove Python 3.8 support (EOL), add Python 3.13 (5f25030)
  - Remove localhost and 127.0.0.1 from default NO_PROXY list (#994)
  - Support IPv6 CIDRs in the no_proxy option (#1033)
  - Fix thread safety condition in `teardown()` to improve `run_forever()` (#1015)
  - Fix #1024 by chunking data, recursion in on_error callback, thread leak in `_stop_ping_thread()`, avoid implicit None in `recv()` (#1036)
  - Avoid bare except clauses for better error handling (#1036)
  - Fix async (#983)
  - Resolve mypy type errors (#996, #1006, 813d570)
  - Test coverage improvements (#1035, #1036)
  - flake8 linting improvements (#1034)


https://github.com/websocket-client/websocket-client/compare/3dc494588c4bc6ca1cbb745e9d110108f6bf04f0...12225f5#diff-91c5b46dc84a94604a4e4d0caed9bf85590a2eddbb12d2e8dc80badf324a9dfb