Skip to content

Commit 69ebf70

Browse files
authored
Chore: Release datafusion-python 45 (#1024)
* Bump version number to prepare for release * Add changelog 45.0.0 * Add deprecated marker from either typing or typing_extensions based on the python version * Limit pyarrow version per issue # 1023 * Bumping the version number to support new release candidate * There was no guarantee that the record batches would be returned in a single partition, so update the unit test to check all partitions. * Revert "Limit pyarrow version per issue # 1023" This reverts commit b48d587. * Correct import for python 3.13 and above * Bump minor version due to pypi requirement * Update cargo lock
1 parent 3f3983c commit 69ebf70

File tree

8 files changed

+118
-81
lines changed

8 files changed

+118
-81
lines changed

Cargo.lock

+44-69
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
[package]
1919
name = "datafusion-python"
20-
version = "44.0.0"
20+
version = "45.2.0"
2121
homepage = "https://datafusion.apache.org/python"
2222
repository = "https://github.com/apache/datafusion-python"
2323
authors = ["Apache DataFusion <[email protected]>"]

dev/changelog/45.0.0.md

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
<!--
2+
Licensed to the Apache Software Foundation (ASF) under one
3+
or more contributor license agreements. See the NOTICE file
4+
distributed with this work for additional information
5+
regarding copyright ownership. The ASF licenses this file
6+
to you under the Apache License, Version 2.0 (the
7+
"License"); you may not use this file except in compliance
8+
with the License. You may obtain a copy of the License at
9+
10+
http://www.apache.org/licenses/LICENSE-2.0
11+
12+
Unless required by applicable law or agreed to in writing,
13+
software distributed under the License is distributed on an
14+
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
KIND, either express or implied. See the License for the
16+
specific language governing permissions and limitations
17+
under the License.
18+
-->
19+
20+
# Apache DataFusion Python 45.0.0 Changelog
21+
22+
This release consists of 2 commits from 2 contributors. See credits at the end of this changelog for more information.
23+
24+
**Fixed bugs:**
25+
26+
- fix: add to_timestamp_nanos [#1020](https://github.com/apache/datafusion-python/pull/1020) (chenkovsky)
27+
28+
**Other:**
29+
30+
- Chore/upgrade datafusion 45 [#1010](https://github.com/apache/datafusion-python/pull/1010) (kevinjqliu)
31+
32+
## Credits
33+
34+
Thank you to everyone who contributed to this release. Here is a breakdown of commits (PRs merged) per contributor.
35+
36+
```
37+
1 Kevin Liu
38+
1 Tim Saucer
39+
```
40+
41+
Thank you also to everyone who contributed in other ways such as filing issues, reviewing PRs, and providing feedback on this release.
42+

python/datafusion/context.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,10 @@
2121

2222
from typing import TYPE_CHECKING, Any, Protocol
2323

24-
from typing_extensions import deprecated
24+
try:
25+
from warnings import deprecated # Python 3.13+
26+
except ImportError:
27+
from typing_extensions import deprecated # Python 3.12
2528

2629
from datafusion.catalog import Catalog, Table
2730
from datafusion.dataframe import DataFrame

python/datafusion/dataframe.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,10 @@
3333
overload,
3434
)
3535

36-
from typing_extensions import deprecated
36+
try:
37+
from warnings import deprecated # Python 3.13+
38+
except ImportError:
39+
from typing_extensions import deprecated # Python 3.12
3740

3841
from datafusion.plan import ExecutionPlan, LogicalPlan
3942
from datafusion.record_batch import RecordBatchStream

0 commit comments

Comments
 (0)