Skip to content

Commit bc28d5b

Browse files
authored
ARROW-232 Support PyArrow 16.0 (#211)
* ARROW-232 Support PyArrow 16.0 * fix install on macos * remove deprecation workarounds
1 parent 214978a commit bc28d5b

File tree

2 files changed

+7
-11
lines changed

2 files changed

+7
-11
lines changed

.github/workflows/test-python.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@ jobs:
5757
- name: Start MongoDB on MacOS
5858
if: ${{ startsWith(runner.os, 'macOS') }}
5959
run: |
60+
brew tap mongodb/brew
61+
brew update
62+
brew install [email protected]
6063
mkdir data
6164
mongod --fork --dbpath=$(pwd)/data --logpath=$PWD/mongo.log
6265
# Install pkg-config

bindings/python/pyproject.toml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
[build-system]
22
requires = [
3-
"setuptools>=47.9",
4-
"wheel>=0.37",
5-
"cython>=0.29",
3+
"setuptools>=61.0",
4+
"cython>=3.0",
65
# Must be kept in sync with "project.dependencies" below.
7-
"pyarrow>=15.0,<15.1.0",
6+
"pyarrow>=16.0,<16.1.0",
87
]
98

109
[project]
@@ -35,7 +34,7 @@ readme = "README.md"
3534
requires-python = ">=3.8"
3635
dependencies = [
3736
# Must be kept in sync with "build_sytem.requires" above.
38-
"pyarrow >=15.0,<15.1",
37+
"pyarrow >=16.0,<16.1",
3938
"pymongo >=4.4,<5",
4039
"pandas >=1.3.5,<3",
4140
"packaging >=23.2,<24",
@@ -102,12 +101,6 @@ faulthandler_timeout = 1500
102101
xfail_strict = true
103102
filterwarnings = [
104103
"error",
105-
# https://github.com/dateutil/dateutil/issues/1314
106-
"module:datetime.datetime.utc:DeprecationWarning",
107-
# https://jira.mongodb.org/browse/ARROW-204
108-
'ignore:Passing a BlockManager to DataFrame is deprecated and will raise in a future version. Use public APIs instead.',
109-
# https://jira.mongodb.org/browse/ARROW-206
110-
'ignore:DatetimeTZBlock is deprecated and will be removed in a future version. Use public APIs instead.'
111104
]
112105

113106
[tool.ruff]

0 commit comments

Comments
 (0)