This is an automated email from the ASF dual-hosted git repository.

jiayuliu pushed a commit to branch use-python-311
in repository https://gitbox.apache.org/repos/asf/arrow-datafusion-python.git


The following commit(s) were added to refs/heads/use-python-311 by this push:
     new 4633d9a  version update of python and maturin
4633d9a is described below

commit 4633d9a06aa023a2f687d1a89b2638f43fd7db78
Author: Jiayu Liu <[email protected]>
AuthorDate: Wed Nov 2 17:19:00 2022 +0800

    version update of python and maturin
    
    - python 3.11
    - maturin 0.13.7
---
 .github/workflows/build.yml |  6 +++---
 .github/workflows/dev.yml   |  2 +-
 .github/workflows/test.yaml | 12 ++++++------
 pyproject.toml              |  1 +
 4 files changed, 11 insertions(+), 10 deletions(-)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index ffefa25..2829293 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -45,7 +45,7 @@ jobs:
     strategy:
       fail-fast: false
       matrix:
-        python-version: ["3.10"]
+        python-version: ["3.11"]
         os: [macos-latest, windows-latest]
     steps:
       - uses: actions/checkout@v2
@@ -61,7 +61,7 @@ jobs:
       - name: Install dependencies
         run: |
           python -m pip install --upgrade pip
-          pip install maturin==0.13.1
+          pip install maturin==0.13.7
 
       - run: rm LICENSE.txt
       - name: Download LICENSE.txt
@@ -105,7 +105,7 @@ jobs:
           export RUSTFLAGS='-C target-cpu=skylake'
           docker run --rm -v $(pwd):/io \
             --workdir /io \
-            ghcr.io/pyo3/maturin:v0.13.1 \
+            ghcr.io/pyo3/maturin:v0.13.7 \
             build --release --manylinux 2010 --locked
       - name: Archive wheels
         uses: actions/upload-artifact@v2
diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml
index 05cf8ce..6457ff4 100644
--- a/.github/workflows/dev.yml
+++ b/.github/workflows/dev.yml
@@ -29,6 +29,6 @@ jobs:
       - name: Setup Python
         uses: actions/setup-python@v4
         with:
-          python-version: "3.10"
+          python-version: "3.11"
       - name: Audit licenses
         run: ./dev/release/run-rat.sh .
diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml
index 5280310..60174a2 100644
--- a/.github/workflows/test.yaml
+++ b/.github/workflows/test.yaml
@@ -33,7 +33,7 @@ jobs:
       fail-fast: false
       matrix:
         python-version:
-          - "3.10"
+          - "3.11"
         toolchain:
           - "stable"
           - "beta"
@@ -66,20 +66,20 @@ jobs:
 
       - name: Check Formatting
         uses: actions-rs/cargo@v1
-        if: ${{ matrix.python-version == '3.10' && matrix.toolchain == 
'stable' }}
+        if: ${{ matrix.python-version == '3.11' && matrix.toolchain == 
'stable' }}
         with:
           command: fmt
           args: -- --check
 
       - name: Run Clippy
         uses: actions-rs/cargo@v1
-        if: ${{ matrix.python-version == '3.10' && matrix.toolchain == 
'stable' }}
+        if: ${{ matrix.python-version == '3.11' && matrix.toolchain == 
'stable' }}
         with:
           command: clippy
           args: --all-targets --all-features -- -D clippy::all
 
-      - name: Create Virtualenv (3.10)
-        if: ${{ matrix.python-version == '3.10' }}
+      - name: Create Virtualenv (3.11)
+        if: ${{ matrix.python-version == '3.11' }}
         run: |
           python -m venv venv
           source venv/bin/activate
@@ -93,7 +93,7 @@ jobs:
           pip install -r requirements-37.txt
 
       - name: Run Python Linters
-        if: ${{ matrix.python-version == '3.10' && matrix.toolchain == 
'stable' }}
+        if: ${{ matrix.python-version == '3.11' && matrix.toolchain == 
'stable' }}
         run: |
           source venv/bin/activate
           flake8 --exclude venv --ignore=E501
diff --git a/pyproject.toml b/pyproject.toml
index 6658a68..8185a9e 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -39,6 +39,7 @@ classifier = [
     "Programming Language :: Python :: 3.8",
     "Programming Language :: Python :: 3.9",
     "Programming Language :: Python :: 3.10",
+    "Programming Language :: Python :: 3.11",
     "Programming Language :: Python",
     "Programming Language :: Rust",
 ]

Reply via email to