Commit Graph

14 Commits

Author SHA1 Message Date
Javier Marcet 84658c5ea8 python-websocket-client: update to 1.7.0
- Renamed `mask` variable in ABNF to prevent name collision with
  `mask()` function (9b51f73)
  - Fixed old http import of HTTPStatus in _handshake.py (9b51f73)
  - Add `send_text()` and `send_bytes()` to _app.py
  - Improved typehint support (9b51f73, 8b73d00)
  - General readability improvements, made all string concatenations
  use f-strings (780584f, 3eabc6e)
  - Applied black formatting style to code (da7f286)

Signed-off-by: Javier Marcet <javier@marcet.info>
2024-01-02 15:16:38 -08:00
Javier Marcet 5340e9d7d8 python-websocket-client: update to 1.6.4
- 1.6.4
  - Add support for HTTP 307 and 308 redirect codes

- 1.6.3
  - Fix type hints issues
  - Add support for Python beta release 3.12 in CI
  - Add maintainer email in setup.py

Signed-off-by: Javier Marcet <javier@marcet.info>
2023-10-14 11:21:09 +08:00
Javier Marcet 49ea9e0412 python-websocket-client: update to 1.6.2
- Add support for SSLKEYLOGFILE environment variable
 - Add support for callable header arguments
 - Change handling of proxy environment variables, is_secure set to
 true now prevents http_proxy from getting used

Signed-off-by: Javier Marcet <javier@marcet.info>
2023-09-03 22:58:53 +08:00
Javier Marcet db1c50e1ca python-websocket-client: update to 1.6.1
- 1.6.1
  - Fix Dispatcher keyboard interrupt. Should solve reconnect loop
  with rel

- 1.6.0
  - Fix teardown issue when ping thread is not properly ended
  - Fix double ping wait time on first ping
  - Minor typehints improvements

- 1.5.3
  - Add logic to avoid error in the case where content-length header
  does not exist, bug introduced in 1.5.2
  - Fix wsdump.py script typing, bug introduced in 1.5.2

- 1.5.2
  - Add typehints
  - Fix pytype errors
  - Fix args passed to logging function
  - Standardize PEP 3101 formatting
  - Add more verbose exception for unsuccessful handshake

Signed-off-by: Javier Marcet <javier@marcet.info>
2023-07-02 16:30:20 +02:00
Javier Marcet b064f6b5db python-websocket-client: update to 1.5.1
- 1.5.1
  - Fix logic bug that can cause disconnects

- 1.5.0
  - Refactor and improve ping/pong logic to resolve several issues,
  including an infinite loop issue during reconnect
  - Fix issue where `skip_utf8_validation = True` is ignored
  - Fix issue where sslopt `is_ssl` is ignored
  - Downgrade "websocket connected" message from logging.warning to
  logging.info
  - Update github actions to newer versions (669fe1b)

Signed-off-by: Javier Marcet <javier@marcet.info>
2023-02-12 12:01:30 +02:00
Javier Marcet 21a558522d python-websocket-client: update to 1.4.2
Signed-off-by: Javier Marcet <javier@marcet.info>
2023-01-01 11:12:08 +08:00
Javier Marcet 1c49d1a309 python-websocket-client: update to 1.4.1
- Fix stack growth bug when `run_forever` reconnects
  - Add doctest CI for sphinx docs code examples (d150099)
  - General docs improvements
  - Fix automatic reconnect with `run_forever`
  - Allow a timeout to be set when using a proxy

Signed-off-by: Javier Marcet <javier@marcet.info>
2022-09-09 15:18:12 -07:00
Javier Marcet 766cfa19cf python-websocket-client: update to 1.3.3
- Fix unclosed socket error
 - Update header dict access
 - Add utf8 workaround to docs

Signed-off-by: Javier Marcet <javier@marcet.info>
2022-06-25 10:42:22 -07:00
Javier Marcet a39470c44d python-websocket-client: update to 1.3.2
- Add support for pre-initialized stream socket in new WebSocketApp
 - Remove rel.saferead() in examples (f0bf03d)
 - Increase scope of linting checks (dca4022)
 - Start adding type hints (a8a4099)

Signed-off-by: Javier Marcet <javier@marcet.info>
2022-04-05 11:10:58 +02:00
Javier Marcet 0395f9d2a4 python-websocket-client: update to 1.3.1
- 1.3.1:
  - Fix 10 year old bug and improve dispatcher handling for
  run_forever
  - Fix run_forever to never return None, only return True or False,
  and add two tests
  - Remove Python 3.6 support, EOL in Dec 2021

- 1.3.0:
  - BREAKING: Set Origin header to use https:// scheme when wss://
  WebSocket URL is passed
  - Replace deprecated/broken WebSocket URLs with working ones
  (6ad5197)
  - Add documentation referencing rel for automatic reconnection with
  run_forever()
  - Add missing opcodes 1012, 1013
  - Add errno.ENETUNREACH to improve error handling (da1b050)
  - Minor documentation improvements and typo fixes

- 1.2.3:
  - Fix broken run_forever() functionality

- 1.2.2:
  - Migrate wsdump script in setup.py from scripts to newer
  entry_points
  - Add support for ssl.SSLContext for arbitrary SSL parameters
  - Remove keep_running variable
  - Remove HAVE_CONTEXT_CHECK_HOSTNAME variable (dac1692)
  - Replace deprecated ssl.PROTOCOL_TLS with ssl.PROTOCOL_TLS_CLIENT
  - Simplify code and improve Python 3 support
  - Fill default license template fields
  - Update CI tests
  - Improve documentation

Signed-off-by: Javier Marcet <javier@marcet.info>
2022-03-08 21:54:19 -08:00
Michal Vasilek d7163a8607
python-websocket-client: update to 1.2.1
* update license (changed in 1.2.0)
* removed python3-six dependency (removed in 1.0.0)
* do not install tests

Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
2021-08-27 13:02:58 +02:00
Javier Marcet d58c921c9a python3-websocket-client: update to 0.58.0
Signed-off-by: Javier Marcet <javier@marcet.info>
2021-03-09 23:52:14 +00:00
Jeffery To 836b67db90
python-packages: Remove variants
These packages were in the PR stage when the cleanup occurred and so
still had VARIANT:=python3.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-06-14 03:29:59 +08:00
Javier Marcet d69b0091c0 python3-websocket-client: add a new package
Signed-off-by: Javier Marcet <javier@marcet.info>
2020-06-08 13:51:04 +02:00