This is an automated email from the ASF dual-hosted git repository. jiayuliu pushed a commit to branch python-310 in repository https://gitbox.apache.org/repos/asf/arrow-datafusion.git
commit 5d73bd20d37f3243f47f983c1675f96b834edd04 Author: Jiayu Liu <[email protected]> AuthorDate: Thu Oct 7 00:06:18 2021 +0800 update python verion to 3.10 --- .github/workflows/comment_bot.yml | 2 +- .github/workflows/dev.yml | 6 +++--- .github/workflows/rust.yml | 2 +- python/README.md | 6 +++++- python/pyproject.toml | 1 + 5 files changed, 11 insertions(+), 6 deletions(-) diff --git a/.github/workflows/comment_bot.yml b/.github/workflows/comment_bot.yml index 6ca0953..92e1d3c 100644 --- a/.github/workflows/comment_bot.yml +++ b/.github/workflows/comment_bot.yml @@ -37,7 +37,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v2 with: - python-version: 3.8 + python-version: "3.10" - name: Install Archery and Crossbow dependencies run: pip install -e dev/archery[bot] - name: Handle Github comment event diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml index fc8740b..ff4881e 100644 --- a/.github/workflows/dev.yml +++ b/.github/workflows/dev.yml @@ -32,7 +32,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v2 with: - python-version: 3.8 + python-version: "3.10" - name: Setup Archery run: pip install -e dev/archery[lint] - name: Lint @@ -45,9 +45,9 @@ jobs: - name: Checkout uses: actions/checkout@v2 - name: Setup Python - uses: actions/setup-python@v1 + uses: actions/setup-python@v2 with: - python-version: 3.8 + python-version: "3.10" - name: Audit licenses run: ./dev/release/run-rat.sh . diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index a07c95e..6013085 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -149,7 +149,7 @@ jobs: submodules: true - uses: actions/setup-python@v2 with: - python-version: "3.8" + python-version: "3.10" - name: Install Python dependencies run: | python -m pip install --upgrade pip setuptools wheel diff --git a/python/README.md b/python/README.md index 7cb980c..947254a 100644 --- a/python/README.md +++ b/python/README.md @@ -146,6 +146,8 @@ python -m pip install -r requirements-37.txt python -m pip install -r requirements-38.txt # if python -V gives python 3.9 python -m pip install -r requirements-39.txt +# if python -V gives python 3.10 +python -m pip install -r requirements-310.txt ``` Whenever rust code changes (your changes or via `git pull`): @@ -170,12 +172,14 @@ python -m piptools compile --generate-hashes -o requirements-37.txt python -m piptools compile --generate-hashes -o requirements-38.txt # or run this is you are on python 3.9 python -m piptools compile --generate-hashes -o requirements-39.txt +# or run this is you are on python 3.10 +python -m piptools compile --generate-hashes -o requirements-310.txt ``` To update dependencies, run with `-U` ```bash -python -m piptools compile -U --generate-hashes -o requirements-39.txt +python -m piptools compile -U --generate-hashes -o requirements-310.txt ``` More details [here](https://github.com/jazzband/pip-tools) diff --git a/python/pyproject.toml b/python/pyproject.toml index 0f2e050..f366aa9 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -39,6 +39,7 @@ classifier = [ "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", "Programming Language :: Python", "Programming Language :: Rust", ]
