Skip to content

Commit b34bf5a

Browse files
authored
ARROW-58 Add PyArrow 7.0 Support (#58)
1 parent 945c8a9 commit b34bf5a

File tree

6 files changed

+12
-11
lines changed

6 files changed

+12
-11
lines changed

.github/workflows/release-python.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
strategy:
1515
matrix:
1616
os: [macos-10.15, windows-latest]
17-
python-version: [3.6, 3.7, 3.8, 3.9, "3.10"]
17+
python-version: [3.7, 3.8, 3.9, "3.10"]
1818
name: Build CPython ${{ matrix.python-version }}-${{ matrix.os }}
1919
steps:
2020
- uses: actions/checkout@v2
@@ -40,7 +40,7 @@ jobs:
4040
strategy:
4141
matrix:
4242
os: [macos-10.15, windows-latest]
43-
python-version: [3.6, 3.7, 3.8, 3.9, "3.10"]
43+
python-version: [3.7, 3.8, 3.9, "3.10"]
4444
name: Test CPython ${{ matrix.python-version }}-${{ matrix.os }}
4545
steps:
4646
- name: Setup Python
@@ -64,7 +64,7 @@ jobs:
6464
matrix:
6565
# Cannot have '/' in artifact names, so hardcode 'quay.io/pypa/'
6666
container: ['manylinux2010_x86_64', 'manylinux2014_x86_64']
67-
python-version: ['cp36-cp36m', 'cp37-cp37m', 'cp38-cp38',
67+
python-version: ['cp37-cp37m', 'cp38-cp38',
6868
'cp39-cp39', 'cp310-cp310']
6969
name: Build CPython ${{ matrix.python-version }}-${{ matrix.container }}
7070
steps:
@@ -84,7 +84,7 @@ jobs:
8484
strategy:
8585
matrix:
8686
container: ['manylinux2010_x86_64', 'manylinux2014_x86_64']
87-
python-version: ['cp36-cp36m', 'cp37-cp37m', 'cp38-cp38',
87+
python-version: ['cp37-cp37m', 'cp38-cp38',
8888
'cp39-cp39', 'cp310-cp310']
8989
name: Test CPython ${{ matrix.python-version }}-${{ matrix.container }}
9090
steps:

.github/workflows/test-python.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
strategy:
3333
matrix:
3434
os: ["ubuntu-20.04", "macos-latest", "windows-latest"]
35-
python-version: [3.6, 3.7, 3.8, 3.9, "3.10"]
35+
python-version: [3.7, 3.8, 3.9, "3.10"]
3636
fail-fast: false
3737
name: CPython ${{ matrix.python-version }}-${{ matrix.os }}
3838
steps:

bindings/python/docs/source/changelog.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,12 @@ Changelog
33

44
Changes in Version 0.3.0
55
------------------------
6+
- Support for `PyArrow` 7.0.
67
- Support for `ObjectId` `bson` type.
78
- Improve error message when schema contains an unsupported type.
89
- Add support for BSON string type.
910
- Add support for BSON boolean type.
11+
- Dropped Python 3.6 support (it was dropped in `PyArrow` 7.0).
1012

1113
Changes in Version 0.2.0
1214
------------------------

bindings/python/docs/source/installation.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ PyMongoArrow is regularly built and tested on macOS and Linux
1111
Python Compatibility
1212
--------------------
1313

14-
PyMongoArrow is currently compatible with CPython 3.6, 3.7, 3.8 and 3.9.
14+
PyMongoArrow is currently compatible with CPython 3.7, 3.8 and 3.9.
1515

1616
Using Pip
1717
---------
@@ -46,7 +46,7 @@ Dependencies
4646
PyMongoArrow requires:
4747

4848
- PyMongo>=3.11 (PyMongo 4.0 is supported from 0.2)
49-
- PyArrow>=3,<3.1
49+
- PyArrow>=7,<7.1
5050

5151
To use PyMongoArrow with a PyMongo feature that requires an optional
5252
dependency, users must install PyMongo with the given dependency manually.

bindings/python/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ requires = [
44
"wheel>=0.37",
55
"cython>=0.29",
66
# Must be kept in sync with the `install_requires` in `setup.cfg`
7-
"pyarrow>=6.0.0,<6.1.0",
7+
"pyarrow>=7.0.0,<7.1.0",
88
]

bindings/python/setup.cfg

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ classifiers =
2020
Operating System :: POSIX
2121
Programming Language :: Python :: 3
2222
Programming Language :: Python :: 3 :: Only
23-
Programming Language :: Python :: 3.6
2423
Programming Language :: Python :: 3.7
2524
Programming Language :: Python :: 3.8
2625
Programming Language :: Python :: 3.9
@@ -32,10 +31,10 @@ classifiers =
3231
zip_safe = False
3332
include_package_data = True
3433
packages = find:
35-
python_requires = >=3.6
34+
python_requires = >=3.7
3635
install_requires =
3736
# keep versions in sync with pyproject.toml "requires"
38-
pyarrow >=6,<6.1
37+
pyarrow >=7,<7.1
3938
pymongo >=3.11,<5
4039

4140
[options.package_data]

0 commit comments

Comments
 (0)