Skip to content

Commit 4b792c6

Browse files
author
Val Brodsky
committed
Add configuration support for python 3.13
1 parent df66bcd commit 4b792c6

File tree

5 files changed

+21
-7
lines changed

5 files changed

+21
-7
lines changed

.github/actions/lbox-matrix/index.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26830,7 +26830,12 @@ try {
2683026830
"python-version": "3.12",
2683126831
"api-key": "STAGING_LABELBOX_API_KEY_5",
2683226832
"da-test-key": "DA_GCP_LABELBOX_API_KEY"
26833-
}
26833+
},
26834+
{
26835+
"python-version": "3.13",
26836+
"api-key": "STAGING_LABELBOX_API_KEY_2",
26837+
"da-test-key": "DA_GCP_LABELBOX_API_KEY"
26838+
},
2683426839
];
2683526840
const testMatrix = [];
2683626841
const packages = files.map(file => {

.github/workflows/publish.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ jobs:
8989
- python-version: 3.9
9090
prod-key: PROD_LABELBOX_API_KEY_3
9191
da-test-key: DA_GCP_LABELBOX_API_KEY
92-
- python-version: "3.10"
92+
- python-version: 3.10
9393
prod-key: PROD_LABELBOX_API_KEY_4
9494
da-test-key: DA_GCP_LABELBOX_API_KEY
9595
- python-version: 3.11
@@ -98,6 +98,9 @@ jobs:
9898
- python-version: 3.12
9999
prod-key: PROD_LABELBOX_API_KEY_5
100100
da-test-key: DA_GCP_LABELBOX_API_KEY
101+
- python-version: 3.13
102+
prod-key: PROD_LABELBOX_API_KEY_2
103+
da-test-key: DA_GCP_LABELBOX_API_KEY
101104
steps:
102105
- uses: actions/checkout@v4
103106
with:

.github/workflows/python-package-develop.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
- name: Get Latest SDK versions
4545
id: get_sdk_versions
4646
run: |
47-
sdk_versions=$(git tag --list --sort=-version:refname "v.*" | head -n 3 | jq -R -s -c 'split("\n")[:-1]')
47+
sdk_versions=$(git tag --list --sort=-version:refname "v.*" | head -n 4 | jq -R -s -c 'split("\n")[:-1]')
4848
if [ -z "$sdk_versions" ]; then
4949
echo "No tags found"
5050
exit 1
@@ -61,18 +61,22 @@ jobs:
6161
- python-version: 3.9
6262
api-key: STAGING_LABELBOX_API_KEY_3
6363
da-test-key: DA_GCP_LABELBOX_API_KEY
64-
sdk-version: ${{ fromJson(needs.get_sdk_versions.outputs.sdk_versions)[2] }}
65-
- python-version: "3.10"
64+
sdk-version: ${{ fromJson(needs.get_sdk_versions.outputs.sdk_versions)[3] }}
65+
- python-version: 3.10
6666
api-key: STAGING_LABELBOX_API_KEY_4
6767
da-test-key: DA_GCP_LABELBOX_API_KEY
68-
sdk-version: ${{ fromJson(needs.get_sdk_versions.outputs.sdk_versions)[1] }}
68+
sdk-version: ${{ fromJson(needs.get_sdk_versions.outputs.sdk_versions)[2] }}
6969
- python-version: 3.11
7070
api-key: STAGING_LABELBOX_API_KEY
7171
da-test-key: DA_GCP_LABELBOX_API_KEY
72-
sdk-version: ${{ fromJson(needs.get_sdk_versions.outputs.sdk_versions)[0] }}
72+
sdk-version: ${{ fromJson(needs.get_sdk_versions.outputs.sdk_versions)[1] }}
7373
- python-version: 3.12
7474
api-key: STAGING_LABELBOX_API_KEY_5
7575
da-test-key: DA_GCP_LABELBOX_API_KEY
76+
sdk-version: ${{ fromJson(needs.get_sdk_versions.outputs.sdk_versions)[0] }}
77+
- python-version: 3.13
78+
api-key: STAGING_LABELBOX_API_KEY_2
79+
da-test-key: DA_GCP_LABELBOX_API_KEY
7680
uses: ./.github/workflows/python-package-shared.yml
7781
with:
7882
python-version: ${{ matrix.python-version }}

libs/labelbox/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ classifiers = [
3333
"Programming Language :: Python :: 3.10",
3434
"Programming Language :: Python :: 3.11",
3535
"Programming Language :: Python :: 3.12",
36+
"Programming Language :: Python :: 3.13",
3637
]
3738
keywords = ["ml", "ai", "labelbox", "labeling", "llm", "machinelearning", "edu"]
3839

libs/lbox-clients/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ classifiers=[
2929
"Programming Language :: Python :: 3.10",
3030
"Programming Language :: Python :: 3.11",
3131
"Programming Language :: Python :: 3.12",
32+
"Programming Language :: Python :: 3.13",
3233
]
3334
keywords = ["ml", "ai", "labelbox", "labeling", "llm", "machinelearning", "edu"]
3435

0 commit comments

Comments
 (0)