Skip to content

Commit affc812

Browse files
sfendell-labelboxadrian-changAdrian Changmnoszczakovalle15
authored
Release v.3.64.0 (#1447)
Co-authored-by: Adrian Chang <[email protected]> Co-authored-by: Adrian Chang <[email protected]> Co-authored-by: mnoszczak <[email protected]> Co-authored-by: Andrea Ovalle <[email protected]> Co-authored-by: Aaron Bacchi <[email protected]> Co-authored-by: Aaron Bacchi <[email protected]> Co-authored-by: Tomiii <[email protected]> Co-authored-by: paulnoirel <[email protected]> Co-authored-by: tomislav-peharda <[email protected]> Co-authored-by: Val Brodsky <[email protected]>
1 parent 549568a commit affc812

Some content is hidden

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

41 files changed

+1984
-942
lines changed

.github/workflows/publish.yaml

Lines changed: 36 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -4,39 +4,46 @@ name: Publish Python Package
44

55
on:
66
release:
7-
types: [created, updated]
7+
types: [created]
88

99
jobs:
10-
deploy:
11-
10+
build:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
15+
- uses: actions/setup-python@v5
16+
with:
17+
python-version: '3.x'
18+
19+
- name: Install dependencies
20+
run: |
21+
python -m pip install --upgrade pip
22+
pip install setuptools wheel
23+
24+
- name: Build
25+
run: |
26+
python setup.py sdist bdist_wheel
27+
28+
- uses: actions/upload-artifact@v4
29+
with:
30+
path: ./dist
31+
32+
pypi-publish:
33+
needs: ['build']
34+
environment:
35+
name: publish
36+
url: 'https://pypi.org/project/labelbox/'
1237
runs-on: ubuntu-latest
13-
1438
permissions:
1539
# IMPORTANT: this permission is mandatory for trusted publishing
1640
id-token: write
17-
1841
steps:
19-
- uses: actions/checkout@v2
20-
21-
- name: Set up Python
22-
uses: actions/setup-python@v2
23-
with:
24-
python-version: '3.x'
25-
26-
- name: Install dependencies
27-
run: |
28-
python -m pip install --upgrade pip
29-
pip install setuptools wheel twine
30-
31-
- name: Build
32-
run: |
33-
python setup.py sdist bdist_wheel
34-
35-
# - name: Publish
36-
# env:
37-
# TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
38-
# TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
39-
# run: |
40-
# twine upload dist/*
41-
- name: Publish package distributions to PyPI
42-
uses: pypa/gh-action-pypi-publish@release/v1
42+
- uses: actions/download-artifact@v4
43+
44+
- name: Publish package distributions to PyPI
45+
uses: pypa/gh-action-pypi-publish@release/v1
46+
with:
47+
packages-dir: artifact/
48+
49+
# Note that the build and pypi-publish jobs are split so that the additional permissions are only granted to the pypi-publish job.

.github/workflows/python-package.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333

3434
steps:
3535
- name: Cancel previous workflow
36-
uses: styfle/cancel-workflow-action@0.4.0
36+
uses: styfle/cancel-workflow-action@0.12.1
3737
with:
3838
access_token: ${{ github.token }}
3939

@@ -46,13 +46,13 @@ jobs:
4646
echo "FIXTURE_PROFILE=true" >> $GITHUB_ENV
4747
fi
4848
49-
- uses: actions/checkout@v2
49+
- uses: actions/checkout@v4
5050
with:
5151
token: ${{ secrets.ACTIONS_ACCESS_TOKEN }}
5252
ref: ${{ github.head_ref }}
5353

5454
- name: Set up Python ${{ matrix.python-version }}
55-
uses: actions/setup-python@v2
55+
uses: actions/setup-python@v5
5656
with:
5757
python-version: ${{ matrix.python-version }}
5858

.github/workflows/release-container.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,17 @@ jobs:
1919
echo "CONTAINER_IMAGE=${CONTAINER_IMAGE,,}" >> ${GITHUB_ENV}
2020
2121
- name: Set up Docker Buildx
22-
uses: docker/setup-buildx-action@v2
22+
uses: docker/setup-buildx-action@v3
2323

2424
- name: Log in to the Container registry
25-
uses: docker/login-action@v2
25+
uses: docker/login-action@v3
2626
with:
2727
registry: ghcr.io
2828
username: ${{ github.actor }}
2929
password: ${{ secrets.GITHUB_TOKEN }}
3030

3131
- name: Build and push
32-
uses: docker/build-push-action@v4
32+
uses: docker/build-push-action@v5
3333
with:
3434
github-token: ${{ secrets.GITHUB_TOKEN }}
3535
push: true

.github/workflows/team-labeler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ jobs:
44
team-labeler:
55
runs-on: ubuntu-latest
66
steps:
7-
- uses: JulienKode/team-labeler-action@v0.1.0
7+
- uses: JulienKode/team-labeler-action@v1.1.0
88
with:
99
repo-token: '${{ secrets.GITHUB_TOKEN }}'

.github/workflows/testing-container.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,17 @@ jobs:
2020
echo "CONTAINER_IMAGE=${CONTAINER_IMAGE,,}" >> ${GITHUB_ENV}
2121
2222
- name: Set up Docker Buildx
23-
uses: docker/setup-buildx-action@v2
23+
uses: docker/setup-buildx-action@v3
2424

2525
- name: Log in to the Container registry
26-
uses: docker/login-action@v2
26+
uses: docker/login-action@v3
2727
with:
2828
registry: ghcr.io
2929
username: ${{ github.actor }}
3030
password: ${{ secrets.GITHUB_TOKEN }}
3131

3232
- name: Build and push
33-
uses: docker/build-push-action@v4
33+
uses: docker/build-push-action@v5
3434
with:
3535
github-token: ${{ secrets.GITHUB_TOKEN }}
3636
push: true

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,17 @@
11
# Changelog
2+
# Version 3.64.0 (2024-02-29)
3+
4+
## Added
5+
* Catalog schema class. Catalog exports can now be made without creating a slice first
6+
7+
## Removed
8+
* Review related WebhookDataSource topics
9+
10+
## Notebooks
11+
* Added get_catalog notebook
12+
* Update custom metrics notebook
13+
* Update notebooks for video and image annotation import
14+
215
# Version 3.63.0 (2024-02-19)
316
## Added
417
* Ability for users to install and use sdk with pydantic v.2.* while still maintaining support for pydantic v1.*

CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# SDK team's approval is required for all code changes (excluding notebook changes)
2-
* @Labelbox/data-io
2+
* @Labelbox/platform
33
*.ipynb

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.63.0'
24+
release = '3.64.0'
2525

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

0 commit comments

Comments
 (0)