Skip to content

Commit 6b0f7fd

Browse files
authored
Merge pull request #835 from Labelbox/develop
release 3.35.0
2 parents 3a78bdc + cda1ad9 commit 6b0f7fd

File tree

13 files changed

+3038
-1749
lines changed

13 files changed

+3038
-1749
lines changed

CHANGELOG.md

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

3+
# Version 3.35.0 (2023-01-18)
4+
### Fixed
5+
* Retry 520 errors when uploading files
6+
37
# Version 3.34.0 (2022-12-22)
48
### Added
59
* Added `get_by_name()` method to MetadataOntology object to access both custom and reserved metadata by name.

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.7
1+
FROM python:3.9-slim-bullseye
22

33
RUN pip install pytest pytest-cases pytest-rerunfailures
44
RUN apt-get -y update

Makefile

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,24 @@ build:
44

55

66
test-local: build
7+
8+
@# if PATH_TO_TEST we asuume you know what you are doing
9+
@if [ -z ${PATH_TO_TEST} ]; then \
10+
./scripts/ensure_local_setup.sh; \
11+
fi
12+
713
docker run -it -v ${PWD}:/usr/src -w /usr/src \
814
-e LABELBOX_TEST_ENVIRON="local" \
915
-e DA_GCP_LABELBOX_API_KEY=${DA_GCP_LABELBOX_API_KEY} \
1016
-e LABELBOX_TEST_API_KEY_LOCAL=${LABELBOX_TEST_API_KEY_LOCAL} \
11-
local/labelbox-python:test pytest $(PATH_TO_TEST)
17+
local/labelbox-python:test pytest $(PATH_TO_TEST)
1218

1319
test-staging: build
1420
docker run -it -v ${PWD}:/usr/src -w /usr/src \
1521
-e LABELBOX_TEST_ENVIRON="staging" \
1622
-e DA_GCP_LABELBOX_API_KEY=${DA_GCP_LABELBOX_API_KEY} \
1723
-e LABELBOX_TEST_API_KEY_STAGING=${LABELBOX_TEST_API_KEY_STAGING} \
18-
local/labelbox-python:test pytest $(PATH_TO_TEST)
24+
local/labelbox-python:test pytest $(PATH_TO_TEST)
1925

2026
test-prod: build
2127
docker run -it -v ${PWD}:/usr/src -w /usr/src \
@@ -30,12 +36,12 @@ test-onprem: build
3036
-e DA_GCP_LABELBOX_API_KEY=${DA_GCP_LABELBOX_API_KEY} \
3137
-e LABELBOX_TEST_API_KEY_ONPREM=${LABELBOX_TEST_API_KEY_ONPREM} \
3238
-e LABELBOX_TEST_ONPREM_HOSTNAME=${LABELBOX_TEST_ONPREM_HOSTNAME} \
33-
local/labelbox-python:test pytest $(PATH_TO_TEST)
39+
local/labelbox-python:test pytest $(PATH_TO_TEST)
3440

3541
test-custom: build
3642
docker run -it -v ${PWD}:/usr/src -w /usr/src \
3743
-e LABELBOX_TEST_ENVIRON="custom" \
3844
-e DA_GCP_LABELBOX_API_KEY=${DA_GCP_LABELBOX_API_KEY} \
3945
-e LABELBOX_TEST_API_KEY_CUSTOM=${LABELBOX_TEST_API_KEY_CUSTOM} \
4046
-e LABELBOX_TEST_GRAPHQL_API_ENDPOINT=${LABELBOX_TEST_GRAPHQL_API_ENDPOINT} \
41-
local/labelbox-python:test pytest $(PATH_TO_TEST)
47+
local/labelbox-python:test pytest $(PATH_TO_TEST)

docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
copyright = '2021, Labelbox'
2222
author = 'Labelbox'
2323

24-
release = '3.34.0'
24+
release = '3.35.0'
2525

2626
# -- General configuration ---------------------------------------------------
2727

0 commit comments

Comments
 (0)