Skip to content

Commit

Permalink
feat(Python): Support Python 3.11 (#5492)
Browse files Browse the repository at this point in the history
  • Loading branch information
zundertj committed Nov 14, 2022
1 parent 45d4b6e commit a01b8a7
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
python-version: '3.11'
cache: 'pip'
cache-dependency-path: 'py-polars/docs/requirements-docs.txt'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
python-version: '3.11'
cache: 'pip'
cache-dependency-path: 'py-polars/docs/requirements-docs.txt'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint-python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
python-version: '3.11'
cache: 'pip'
cache-dependency-path: 'py-polars/requirements-lint.txt'
- name: Install Python dependencies
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.7', '3.10']
python-version: ['3.7', '3.11']

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -92,7 +92,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.10']
python-version: ['3.11']

steps:
- uses: actions/checkout@v3
Expand Down
5 changes: 5 additions & 0 deletions py-polars/docs/requirements-docs.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# for PyArrow, as PyArrow 10.0.0 does not have wheels for Python 3.11
--extra-index-url https://pypi.fury.io/arrow-nightlies/
--pre
--prefer-binary

numpy
pandas
pyarrow
Expand Down
5 changes: 5 additions & 0 deletions py-polars/requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
# We're not pinning package dependencies, because our tests need to pass with the
# latest version of the packages.

# for PyArrow, as PyArrow 10.0.0 does not have wheels for Python 3.11
--extra-index-url https://pypi.fury.io/arrow-nightlies/
--pre
--prefer-binary

# Dependencies
numpy
pandas
Expand Down

0 comments on commit a01b8a7

Please sign in to comment.