Skip to content

Commit

Permalink
Bump min python version to 3.8 (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kimahriman authored Nov 20, 2023
1 parent b53240a commit 5a96327
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 20 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/python-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.7
python-version: 3.12
- name: Install dev dependencies
run: |
pip3 install -r requirements-dev.txt
Expand All @@ -29,6 +29,12 @@ jobs:
mypy python
test:
strategy:
fail-fast: false
matrix:
python-version:
- 3.8
- 3.12
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -50,7 +56,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
python-version: ${{ matrix.python-version }}

- name: Create virtualenv
run: |
Expand Down
33 changes: 17 additions & 16 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion python/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ bytes = "1.4"
env_logger = "0.10"
hdfs-native = { path = "../rust", features=["token", "kerberos", "rs"] }
log = "0.4"
pyo3 = { version = "0.19.0", features = ["extension-module", "abi3", "abi3-py37"] }
pyo3 = { version = "0.20", features = ["extension-module", "abi3", "abi3-py38"] }
thiserror = "1.0.43"
tokio = { version = "1.28", features = ["rt-multi-thread"] }
2 changes: 1 addition & 1 deletion python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "maturin"
name = "hdfs-native"
description = "Python bindings for hdfs-native Rust library"
readme = "README.md"
requires-python = ">=3.7"
requires-python = ">=3.8"
classifiers = [
"Programming Language :: Rust",
"Programming Language :: Python :: Implementation :: CPython",
Expand Down

0 comments on commit 5a96327

Please sign in to comment.