Skip to content

Commit ad6d439

Browse files
author
rllin
authored
bump version to 2.4.2 (#35)
* bump version * update change log * posargs * sleep longer
1 parent fb12d27 commit ad6d439

File tree

5 files changed

+18
-13
lines changed

5 files changed

+18
-13
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 2.4.2 (2020-08-01)
4+
### Fixed
5+
* `Client.upload_data` will now pass the correct `content-length` when uploading data.
6+
37
## Version 2.4.1 (2020-07-22)
48
### Fixed
59
* `Dataset.create_data_row` and `Dataset.create_data_rows` will now upload with content type to ensure the Labelbox editor can show videos.

CONTRIB.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,13 @@ Each release should follow the following steps:
4545
2. Make sure the `CHANGELOG.md` contains appropriate info
4646
3. Commit these changes and tag the commit in Git as `vX.Y`
4747
4. Merge `develop` to `master` (fast-forward only).
48-
5. Generate a GitHub release.
49-
6. Build the library in the [standard
50-
way](https://packaging.python.org/tutorials/packaging-projects/#generating-distribution-archives)
51-
7. Upload the distribution archives in the [standard
52-
way](https://packaging.python.org/tutorials/packaging-projects/#uploading-the-distribution-archives).
53-
You will need credentials for the `labelbox` PyPI user.
54-
8. Run the `REPO_ROOT/tools/api_reference_generator.py` script to update
55-
[HelpDocs documentation](https://labelbox.helpdocs.io/docs/). You will need
56-
to provide a HelpDocs API key for.
48+
5. Create a GitHub release.
49+
6. This will kick off a Github Actions workflow that will:
50+
- Build the library in the [standard
51+
way](https://packaging.python.org/tutorials/packaging-projects/#generating-distribution-archives)
52+
- Upload the distribution archives in the [standard
53+
way](https://packaging.python.org/tutorials/packaging-projects/#uploading-the-distribution-archives)
54+
with credentials for the `labelbox` PyPI user.
55+
- Run the `REPO_ROOT/tools/api_reference_generator.py` script to update
56+
[HelpDocs documentation](https://labelbox.helpdocs.io/docs/). You will need
57+
to provide a HelpDocs API key for.

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
setuptools.setup(
77
name="labelbox",
8-
version="2.4.1",
8+
version="2.4.2",
99
author="Labelbox",
1010
author_email="[email protected]",
1111
description="Labelbox Python API",

tests/integration/test_label.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ def test_label_bulk_deletion(project, rand_gen):
9898
# TODO: the sdk client should really abstract all these timing issues away
9999
# but for now bulk deletes take enough time that this test is flaky
100100
# add sleep here to avoid that flake
101-
time.sleep(2)
101+
time.sleep(5)
102102

103103
assert set(project.labels()) == {l2}
104104

105-
dataset.delete()
105+
dataset.delete()

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ deps =
1313
-rrequirements.txt
1414
pytest
1515
passenv = LABELBOX_TEST_ENDPOINT LABELBOX_TEST_API_KEY LABELBOX_TEST_ENVIRON
16-
commands = pytest
16+
commands = pytest {posargs}

0 commit comments

Comments
 (0)