FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

feat: support python 3.7 by samsja · Pull Request #1055 · docarray/docarray · GitHub

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

Filter by extension

Filter by extension .lock  (1) .py  (1) .toml  (1) .yml  (2) All 4 file types selected
Only manifest files
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
20 changes: 10 additions & 10 deletions .github/workflows/ci.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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

Back | FazBrowse Home | New Git URL