Skip to content

Commit

Permalink
Add "typing_extensions"
Browse files Browse the repository at this point in the history
for Python versions lower than 3.8
  • Loading branch information
ritchie46 committed Dec 11, 2021
1 parent b0d7d33 commit 533ee5e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/benchmark.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.7
python-version: 3.9
- name: Install dependencies
shell: bash
run: |
Expand All @@ -29,7 +29,6 @@ jobs:
python -m venv venv
source venv/bin/activate
pip install -r py-polars/build.requirements.txt
pip install --only-binary all pyarrow
cd py-polars
rustup override set nightly-2021-12-02 && RUSTFLAGS="-C embed-bitcode" maturin develop --rustc-extra-args="-C codegen-units=8 -C lto=thin -C target-cpu=native" --release
cd tests/db-benchmark
Expand Down
3 changes: 2 additions & 1 deletion py-polars/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ build-backend = "maturin"
[project]
name = "polars"
dependencies = [
"numpy",
"numpy >= 1.16.0",
"typing_extensions; python_version < '3.8'",
]
requires-python = ">=3.6"

Expand Down

0 comments on commit 533ee5e

Please sign in to comment.