8000 feat: support python 3.7 by samsja · Pull Request #1055 · docarray/docarray · GitHub
[go: up one dir, main page]

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.5.0
- name: Set up Python 3.8
- name: Set up Python 3.7
uses: actions/setup-python@v4
with:
python-version: 3.8
python-version: 3.7
- name: Lint with ruff
run: |
python -m pip install --upgrade pip
Expand All @@ -32,10 +32,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.5.0
- name: Set up Python 3.8
- name: Set up Python 3.7
uses: actions/setup-python@v4
with:
python-version: 3.8
python-version: 3.7
- name: check black
run: |
python -m pip install --upgrade pip
Expand All @@ -50,10 +50,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.5.0
- name: Set up Python 3.8
- name: Set up Python 3.7
uses: actions/setup-python@v4
with:
python-version: 3.8
python-version: 3.7
- name: Prepare enviroment
run: |
python -m pip install --upgrade pip
Expand All @@ -67,10 +67,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.5.0
- name: Set up Python 3.8
- name: Set up Python 3.7
uses: actions/setup-python@v4
with:
python-version: 3.8
python-version: 3.7
- name: check mypy
run: |
python -m pip install --upgrade pip
Expand All @@ -97,7 +97,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [3.8]
python-version: [3.7]
# test-path: ${{fromJson(needs.prep-testbed.outputs.matrix)}}
test-path: [tests/integrations, tests/units]
steps:
Expand Down Expand Up @@ -126,7 +126,7 @@ jobs:
# files: "coverage.xml"
# - name: Upload coverage from test to Codecov
# uses: codecov/codecov-action@v3.1.1
# if: steps.check_files.outputs.files_exists == 'true' && ${{ matrix.python-version }} == '3.8'
# if: steps.check_files.outputs.files_exists == 'true' && ${{ matrix.python-version }} == '3.7'
# with:
# file: coverage.xml
# flags: ${{ steps.test.outputs.codecov_flag }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci_only_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
ref: ${{ env.BRANCH_NAME }}
- uses: actions/setup-python@v4
with:
python-version: 3.8
python-version: 3.7
- uses: actions/setup-node@v2
with:
node-version: '14'
Expand Down
4 changes: 2 additions & 2 deletions docarray/utils/_typing.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from typing import Any, get_args
from typing import Any

from typing_inspect import is_union_type
from typing_inspect import get_args, is_union_type

from docarray.typing.tensor.abstract_tensor import AbstractTensor

Expand Down
Loading
0