Skip to content

Sync with 3.29.2 - #443

Merged
dkropachev merged 20 commits into
scylladb:masterfrom
dkropachev:dk/sync-with-3.29.2
Mar 5, 2025
Merged

Sync with 3.29.2#443
dkropachev merged 20 commits into
scylladb:masterfrom
dkropachev:dk/sync-with-3.29.2

Conversation

@dkropachev

@dkropachevdkropachev commented Mar 5, 2025

Copy link
Copy Markdown

Sync with upstream 3.29.2

Fixes: #415

  • I have split my patch into logically separate commits.
  • All commit messages clearly explain what they change and why.
  • I added relevant tests for new features and bug fixes.
  • All commits compile, pass static checks and pass test.
  • PR description sums up the changes and reasons why they should be introduced.
  • I have provided docstrings for the public items that I want to introduce.
  • I have adjusted the documentation in ./docs/source/.
  • I added appropriate Fixes: annotations to PR description.

Closes DRIVER-162

@dkropachev
dkropachevforce-pushed the dk/sync-with-3.29.2 branch 2 times, most recently from d68c6f3 to b191682CompareMarch 5, 2025 17:22
bschoeningand others added 9 commits March 5, 2025 14:07
before this change, when testing with cqlsh, we have warnings like:
```
<frozen importlib._bootstrap>:488: DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC).
````
in this change, we replace the deprecated API with timezone-aware API,
to avoid this warning.
to keep the backward compatibility, `DateTime.to_python()` still
returns an offset-naive timestamp.
Signed-off-by: Kefu Chai <kefu.chai@scylladb.com>
@dkropachev
dkropachev marked this pull request as ready for review March 5, 2025 18:10
@dkropachevdkropachev self-assigned this Mar 5, 2025
@dkropachev
dkropachev merged commit fed644a into scylladb:masterMar 5, 2025
@dkropachevdkropachev mentioned this pull request Mar 6, 2025
4 tasks
Sign up for freeto 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.

Extend driver vector support to arbitrary subtypes and fix handling of variable length types.

6 participants

@dkropachev@absurdfarce@a-detiste@weisslj@bschoening@tchaikov