Skip to content

Commit

Permalink
Remove supervisely from optional dependencies (activeloopai#889)
Browse files Browse the repository at this point in the history
* fixed failing test test_auto_multiple_dataset_parser

* removed 3.6 from workflows

* Remove supervisely from optional dependencies

Co-authored-by: Diveafall <d.isayan@gmail.com>
  • Loading branch information
kristinagrig06 and Diveafall authored May 26, 2021
1 parent f688b7e commit ac13e3a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 10 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ name: package
on:
push:
branches:
- '**'
- "**"
pull_request:
branches:
- '**'
- "**"

jobs:
test:
Expand All @@ -16,10 +16,9 @@ jobs:
fail-fast: false
matrix:
python-version:
- 3.6
- 3.7
- 3.8
# - 3.9
# - 3.9
os:
- ubuntu-latest
- macOS-latest
Expand Down Expand Up @@ -51,7 +50,6 @@ jobs:
- name: Codecov
uses: codecov/codecov-action@v1


test_with_optional:
name: Python ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} (with optional dependencies)
runs-on: ${{ matrix.os }}
Expand All @@ -60,10 +58,9 @@ jobs:
fail-fast: false
matrix:
python-version:
- 3.6
- 3.7
- 3.8
# - 3.9
# - 3.9
os:
- ubuntu-latest
- macOS-latest
Expand Down
6 changes: 4 additions & 2 deletions hub/auto/tests/test_image_classification.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ def test_auto_multiple_dataset_parser():
"hub/auto/tests/dummy_data/image_classification/class_sample_multiple_folder"
)

assert tuple(
keys = tuple(
multiple_image_parse(path_to_data, scheduler="single", workers=1).keys()
) == ("train", "val")
)

assert keys == ("train", "val") or keys == ("val", "train")
1 change: 0 additions & 1 deletion requirements-optional.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@ transformers>=3.5.1
dask[complete]>=2.30
tensorflow_datasets
ray==1.3.0
supervisely==6.1.64

0 comments on commit ac13e3a

Please sign in to comment.