Skip to content

Backport Jan21 to Apr21 (6f71dd7 to 3f2cbb9)#19

Merged
jovezhong merged 31 commits into
timeplusfrom
port/jan21_apr21
Apr 28, 2025
Merged

Backport Jan21 to Apr21 (6f71dd7 to 3f2cbb9)#19
jovezhong merged 31 commits into
timeplusfrom
port/jan21_apr21

Conversation

@jovezhong
Copy link
Copy Markdown

Port the following changes from clickhouse-connect
image

genzgd and others added 30 commits April 24, 2025 21:58
* update test jwt, ensure query params are final

* tweak test job

* Assume CI "secret" is full JWT

* Fix lint
* Fix memory leak in AsyncClient

* Graceful shutdown

* fix test

* fix tests

* fix tests
* Fix lint

* Exclude pypy 38 build

* Exclude all Python 3.8 builds

* Update changelog re Python 3.8 aarch64 wheels
* Update some tests

* Fix lint

* Skip JSON buggy test
* Don't prevent settings that don't change the value

* Add docker related config file

* Fix typo
* update test jwt, ensure query params are final

* tweak test job

* Assume CI "secret" is full JWT

* Fix lint
* Fix memory leak in AsyncClient

* Graceful shutdown

* fix test

* fix tests

* fix tests
The parameters `host` and `username` of `create_client` actually do
accept None values, as demonstrated by their default values being `None`
and the docstring explaining default behavior when not-set.

Correcting these types (by marking as Optional) allows users using `dsn`
or default behavior to not see type-checking errors.
* Check for optional libraries in client methods

* Log unexpected http next chunk unexpected

* Log unexpected http next chunk unexpected

* Updates for 0.8.16 release
* Fix lint

* Exclude pypy 38 build

* Exclude all Python 3.8 builds

* Update changelog re Python 3.8 aarch64 wheels
* Update some tests

* Fix lint

* Skip JSON buggy test
* Updates for 0.8.17 release

* Update test matrix

* Try to punt on SSL issues

* Update TLS test certificates
* Add param extra_http_headers to query/command methods

* add test, fix dict copy

---------

Co-authored-by: Geoff Genz <geoff@clickhouse.com>
* Don't prevent settings that don't change the value

* Add docker related config file

* Fix typo
update comments
@jovezhong jovezhong merged commit 828f921 into timeplus Apr 28, 2025
14 checks passed
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.

7 participants