Skip to content

Commit 54c89a4

Browse files
author
Matt Sokoloff
committed
merge with annotation-types
2 parents 2d7ac80 + 692ea6f commit 54c89a4

File tree

114 files changed

+8504
-573
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

114 files changed

+8504
-573
lines changed

.github/workflows/publish-mea.yaml

Lines changed: 0 additions & 33 deletions
This file was deleted.

.github/workflows/python-package.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,21 @@ jobs:
4747
uses: AlexanderMelde/yapf-action@master
4848
with:
4949
args: --verbose --recursive --parallel --style "google"
50-
50+
- name: dependencies
51+
run: |
52+
sudo apt-get -y update
53+
sudo apt install -y libsm6 \
54+
libxext6 \
55+
ffmpeg \
56+
libfontconfig1 \
57+
libxrender1 \
58+
libgl1-mesa-glx
5159
- name: install labelbox package
5260
run: |
53-
python setup.py install
61+
python -m pip install --upgrade pip
62+
python -m pip install .
5463
- name: mypy
5564
run: |
56-
python -m pip install --upgrade pip
5765
pip install mypy==0.782
5866
mypy -p labelbox --pretty --show-error-codes
5967
- name: Install package and test dependencies

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# Changelog
22

3+
# Next Release
4+
## Removed
5+
* Deprecated functions
6+
- project.reviews()
7+
- project.create_prediction()
8+
- project.create_prediction_model()
9+
- project.create_label()
10+
11+
312
# Version 2.7b1+mea (2021-06-27)
413
## Fix
514
* No longer convert `ModelRun.created_by_id` to cuid on construction of a `ModelRun`.

Dockerfile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,17 @@
11
FROM python:3.7
22

33
RUN pip install pytest pytest-cases
4+
RUN apt-get -y update
5+
RUN apt install -y libsm6 \
6+
libxext6 \
7+
ffmpeg \
8+
libfontconfig1 \
9+
libxrender1 \
10+
libgl1-mesa-glx
411

512
WORKDIR /usr/src/labelbox
613
COPY requirements.txt /usr/src/labelbox
714
RUN pip install -r requirements.txt
815
COPY . /usr/src/labelbox
916

10-
1117
RUN python setup.py install

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ test-staging: build
66
docker run -it -v ${PWD}:/usr/src -w /usr/src \
77
-e LABELBOX_TEST_ENVIRON="staging" \
88
-e LABELBOX_TEST_API_KEY_STAGING=${LABELBOX_TEST_API_KEY_STAGING} \
9-
local/labelbox-python:test pytest $(PATH_TO_TEST) -svvx
9+
local/labelbox-python:test pytest $(PATH_TO_TEST) -svv
1010

1111
test-prod: build
1212
docker run -it -v ${PWD}:/usr/src -w /usr/src \

examples/annotation_types/annotation_type_basics.ipynb

Lines changed: 1495 additions & 0 deletions
Large diffs are not rendered by default.

examples/annotation_types/converters.ipynb

Lines changed: 416 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)