Skip to content

Commit b342f59

Browse files
author
Adrian Chang
committed
Update depdenencies + add support for rye 0.34
1 parent b3e285a commit b342f59

File tree

4 files changed

+80
-69
lines changed

4 files changed

+80
-69
lines changed

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

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -56,21 +56,16 @@ jobs:
5656
with:
5757
token: ${{ secrets.ACTIONS_ACCESS_TOKEN }}
5858
ref: ${{ github.head_ref }}
59-
- name: Install the latest version of rye
60-
uses: eifinger/setup-rye@v2
59+
- uses: ./.github/actions/python-package-shared-setup
6160
with:
62-
version: '0.32.0'
63-
enable-cache: true
64-
- name: Rye Setup
65-
run: |
66-
rye config --set-bool behavior.use-uv=true
61+
rye-version: ${{ vars.RYE_VERSION }}
62+
python-version: '3.8'
6763
- name: Create build
6864
id: create-build
6965
working-directory: libs/labelbox
7066
run: |
7167
VERSION=$(date +"%Y.%m.%d.%H.%M")
7268
echo "pip install --index-url https://test.pypi.org/simple/ --extra-index-url=https://pypi.org/simple/ labelbox-test@$VERSION" >> "$GITHUB_STEP_SUMMARY"
73-
rye sync
7469
rye version "$VERSION"
7570
rye run toml set --toml-path pyproject.toml project.name labelbox-test
7671
rye build
@@ -138,4 +133,4 @@ jobs:
138133
linux/arm64
139134
140135
tags: |
141-
${{ env.CONTAINER_IMAGE }}:${{ github.sha }}
136+
${{ env.CONTAINER_IMAGE }}:${{ github.sha }}

libs/labelbox/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ENV LANG="C.UTF-8" \
55
LC_ALL="C.UTF-8" \
66
PATH="/home/python/.local/bin:/home/python/.rye/shims:$PATH" \
77
PIP_NO_CACHE_DIR="false" \
8-
RYE_VERSION="0.32.0" \
8+
RYE_VERSION="0.34.0" \
99
RYE_INSTALL_OPTION="--yes" \
1010
LABELBOX_TEST_ENVIRON="prod"
1111

@@ -41,4 +41,4 @@ RUN rye config --set-bool behavior.global-python=true && \
4141
rye pin 3.8 && \
4242
rye sync
4343

44-
CMD cd libs/labelbox && rye run integration && rye sync -f --features labelbox/data && rye run unit && rye run data
44+
CMD cd libs/labelbox && rye run integration && rye sync -f --features labelbox/data && rye run unit && rye run data

requirements-dev.lock

Lines changed: 56 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@
1010
-e file:libs/labelbox
1111
alabaster==0.7.13
1212
# via sphinx
13-
annotated-types==0.6.0
13+
annotated-types==0.7.0
1414
# via pydantic
1515
attrs==23.2.0
1616
# via jsonschema
1717
# via referencing
18-
babel==2.14.0
18+
babel==2.15.0
1919
# via sphinx
2020
beautifulsoup4==4.12.3
2121
# via nbconvert
@@ -29,7 +29,7 @@ charset-normalizer==3.3.2
2929
# via requests
3030
click==8.1.7
3131
# via typer
32-
coverage==7.4.4
32+
coverage==7.5.1
3333
# via pytest-cov
3434
decopatch==1.4.10
3535
# via pytest-cases
@@ -38,42 +38,42 @@ defusedxml==0.7.1
3838
docutils==0.20.1
3939
# via sphinx
4040
# via sphinx-rtd-theme
41-
exceptiongroup==1.2.0
41+
exceptiongroup==1.2.1
4242
# via pytest
43-
execnet==2.0.2
43+
execnet==2.1.1
4444
# via pytest-xdist
4545
fastjsonschema==2.19.1
4646
# via nbformat
4747
geojson==3.1.0
4848
# via labelbox
49-
google-api-core==2.17.1
49+
google-api-core==2.19.0
5050
# via labelbox
51-
google-auth==2.28.2
51+
google-auth==2.29.0
5252
# via google-api-core
5353
googleapis-common-protos==1.63.0
5454
# via google-api-core
55-
idna==3.6
55+
idna==3.7
5656
# via requests
5757
imagesize==1.4.1
5858
# via sphinx
59-
importlib-metadata==7.0.2
59+
importlib-metadata==7.1.0
6060
# via jupyter-client
6161
# via nbconvert
6262
# via sphinx
6363
# via yapf
64-
importlib-resources==6.3.1
64+
importlib-resources==6.4.0
6565
# via jsonschema
6666
# via jsonschema-specifications
6767
iniconfig==2.0.0
6868
# via pytest
69-
jinja2==3.1.3
69+
jinja2==3.1.4
7070
# via nbconvert
7171
# via sphinx
72-
jsonschema==4.21.1
72+
jsonschema==4.22.0
7373
# via nbformat
7474
jsonschema-specifications==2023.12.1
7575
# via jsonschema
76-
jupyter-client==8.6.1
76+
jupyter-client==8.6.2
7777
# via nbclient
7878
jupyter-core==5.7.2
7979
# via jupyter-client
@@ -85,18 +85,22 @@ jupyterlab-pygments==0.3.0
8585
makefun==1.15.2
8686
# via decopatch
8787
# via pytest-cases
88+
markdown-it-py==3.0.0
89+
# via rich
8890
markupsafe==2.1.5
8991
# via jinja2
9092
# via nbconvert
93+
mdurl==0.1.2
94+
# via markdown-it-py
9195
mistune==3.0.2
9296
# via nbconvert
93-
mypy==1.9.0
97+
mypy==1.10.0
9498
mypy-extensions==1.0.0
9599
# via mypy
96100
nbclient==0.10.0
97101
# via nbconvert
98-
nbconvert==7.16.2
99-
nbformat==5.10.3
102+
nbconvert==7.16.4
103+
nbformat==5.10.4
100104
# via nbclient
101105
# via nbconvert
102106
packaging==24.0
@@ -109,57 +113,65 @@ pandocfilters==1.5.1
109113
# via nbconvert
110114
pkgutil-resolve-name==1.3.10
111115
# via jsonschema
112-
platformdirs==4.2.0
116+
platformdirs==4.2.2
113117
# via jupyter-core
114118
# via yapf
115-
pluggy==1.4.0
119+
pluggy==1.5.0
116120
# via pytest
121+
proto-plus==1.23.0
122+
# via google-api-core
117123
protobuf==4.25.3
118124
# via google-api-core
119125
# via googleapis-common-protos
120-
pyasn1==0.5.1
126+
# via proto-plus
127+
pyasn1==0.6.0
121128
# via pyasn1-modules
122129
# via rsa
123-
pyasn1-modules==0.3.0
130+
pyasn1-modules==0.4.0
124131
# via google-auth
125-
pydantic==2.6.4
132+
pydantic==2.7.1
126133
# via labelbox
127-
pydantic-core==2.16.3
134+
pydantic-core==2.18.2
128135
# via pydantic
129-
pygments==2.17.2
136+
pygments==2.18.0
130137
# via nbconvert
138+
# via rich
131139
# via sphinx
132-
pytest==8.1.1
140+
pytest==8.2.1
133141
# via pytest-cov
134142
# via pytest-rerunfailures
135143
# via pytest-snapshot
136144
# via pytest-xdist
137-
pytest-cases==3.8.4
138-
pytest-cov==4.1.0
145+
pytest-cases==3.8.5
146+
pytest-cov==5.0.0
139147
pytest-rerunfailures==14.0
140148
pytest-snapshot==0.9.0
141-
pytest-xdist==3.5.0
149+
pytest-xdist==3.6.1
142150
python-dateutil==2.8.2
143151
# via jupyter-client
144152
# via labelbox
145153
pytz==2024.1
146154
# via babel
147-
pyzmq==25.1.2
155+
pyzmq==26.0.3
148156
# via jupyter-client
149-
referencing==0.34.0
157+
referencing==0.35.1
150158
# via jsonschema
151159
# via jsonschema-specifications
152-
regex==2023.12.25
160+
regex==2024.5.15
153161
# via toml-cli
154-
requests==2.31.0
162+
requests==2.32.2
155163
# via google-api-core
156164
# via labelbox
157165
# via sphinx
158-
rpds-py==0.18.0
166+
rich==13.7.1
167+
# via typer
168+
rpds-py==0.18.1
159169
# via jsonschema
160170
# via referencing
161171
rsa==4.9
162172
# via google-auth
173+
shellingham==1.5.4
174+
# via typer
163175
six==1.16.0
164176
# via bleach
165177
# via python-dateutil
@@ -188,37 +200,38 @@ sphinxcontrib-serializinghtml==1.1.5
188200
# via sphinx
189201
strenum==0.4.15
190202
# via labelbox
191-
tinycss2==1.2.1
203+
tinycss2==1.3.0
192204
# via nbconvert
193-
toml-cli==0.6.0
205+
toml-cli==0.6.1
194206
tomli==2.0.1
195207
# via coverage
196208
# via mypy
197209
# via pytest
198210
# via yapf
199-
tomlkit==0.12.4
211+
tomlkit==0.12.5
200212
# via toml-cli
201213
tornado==6.4
202214
# via jupyter-client
203-
tqdm==4.66.2
215+
tqdm==4.66.4
204216
# via labelbox
205-
traitlets==5.14.2
217+
traitlets==5.14.3
206218
# via jupyter-client
207219
# via jupyter-core
208220
# via nbclient
209221
# via nbconvert
210222
# via nbformat
211-
typer==0.9.0
223+
typer==0.12.3
212224
# via toml-cli
213-
types-pillow==10.2.0.20240311
225+
types-pillow==10.2.0.20240520
214226
types-python-dateutil==2.9.0.20240316
215-
types-requests==2.31.0.20240311
216-
types-tqdm==4.66.0.20240106
217-
typing-extensions==4.10.0
227+
types-requests==2.32.0.20240523
228+
types-tqdm==4.66.0.20240417
229+
typing-extensions==4.11.0
218230
# via annotated-types
219231
# via mypy
220232
# via pydantic
221233
# via pydantic-core
234+
# via rich
222235
# via typer
223236
urllib3==2.2.1
224237
# via requests
@@ -227,6 +240,6 @@ webencodings==0.5.1
227240
# via bleach
228241
# via tinycss2
229242
yapf==0.40.2
230-
zipp==3.18.1
243+
zipp==3.18.2
231244
# via importlib-metadata
232245
# via importlib-resources

requirements.lock

Lines changed: 18 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
-e file:libs/labelbox
1111
alabaster==0.7.13
1212
# via sphinx
13-
annotated-types==0.6.0
13+
annotated-types==0.7.0
1414
# via pydantic
15-
babel==2.14.0
15+
babel==2.15.0
1616
# via sphinx
1717
cachetools==5.3.3
1818
# via google-auth
@@ -25,43 +25,46 @@ docutils==0.20.1
2525
# via sphinx-rtd-theme
2626
geojson==3.1.0
2727
# via labelbox
28-
google-api-core==2.17.1
28+
google-api-core==2.19.0
2929
# via labelbox
30-
google-auth==2.28.2
30+
google-auth==2.29.0
3131
# via google-api-core
3232
googleapis-common-protos==1.63.0
3333
# via google-api-core
34-
idna==3.6
34+
idna==3.7
3535
# via requests
3636
imagesize==1.4.1
3737
# via sphinx
3838
importlib-metadata==7.1.0
3939
# via sphinx
40-
jinja2==3.1.3
40+
jinja2==3.1.4
4141
# via sphinx
4242
markupsafe==2.1.5
4343
# via jinja2
4444
packaging==24.0
4545
# via sphinx
46+
proto-plus==1.23.0
47+
# via google-api-core
4648
protobuf==4.25.3
4749
# via google-api-core
4850
# via googleapis-common-protos
49-
pyasn1==0.5.1
51+
# via proto-plus
52+
pyasn1==0.6.0
5053
# via pyasn1-modules
5154
# via rsa
52-
pyasn1-modules==0.3.0
55+
pyasn1-modules==0.4.0
5356
# via google-auth
54-
pydantic==2.6.4
57+
pydantic==2.7.1
5558
# via labelbox
56-
pydantic-core==2.16.3
59+
pydantic-core==2.18.2
5760
# via pydantic
58-
pygments==2.17.2
61+
pygments==2.18.0
5962
# via sphinx
6063
python-dateutil==2.8.2
6164
# via labelbox
6265
pytz==2024.1
6366
# via babel
64-
requests==2.31.0
67+
requests==2.32.2
6568
# via google-api-core
6669
# via labelbox
6770
# via sphinx
@@ -92,13 +95,13 @@ sphinxcontrib-serializinghtml==1.1.5
9295
# via sphinx
9396
strenum==0.4.15
9497
# via labelbox
95-
tqdm==4.66.2
98+
tqdm==4.66.4
9699
# via labelbox
97-
typing-extensions==4.10.0
100+
typing-extensions==4.11.0
98101
# via annotated-types
99102
# via pydantic
100103
# via pydantic-core
101104
urllib3==2.2.1
102105
# via requests
103-
zipp==3.18.1
106+
zipp==3.18.2
104107
# via importlib-metadata

0 commit comments

Comments
 (0)