Skip to content

Commit bf30914

Browse files
committed
Merge branch 'dev' into etl-other-providers
2 parents 7a53381 + 57153ec commit bf30914

File tree

8 files changed

+135
-35
lines changed

8 files changed

+135
-35
lines changed

.github/workflows/az_acr_push.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: 'ACR: Docker Push'
2+
3+
on:
4+
workflow_dispatch:
5+
6+
push:
7+
branches:
8+
- "**"
9+
- "!dev"
10+
tags-ignore:
11+
- "**"
12+
13+
jobs:
14+
call-az-acr-push:
15+
uses: code-kern-ai/cicd-deployment-scripts/.github/workflows/az_acr_push.yml@dev
16+
secrets: inherit

.github/workflows/k8s_deploy.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: 'K8: Prepare Deployment' # rename
2+
3+
on:
4+
# workflow_dispatch:
5+
release:
6+
types: [prereleased]
7+
pull_request:
8+
branches:
9+
- dev
10+
types: [closed]
11+
12+
# Special permissions required for OIDC authentication
13+
permissions:
14+
id-token: write
15+
contents: read
16+
actions: read
17+
18+
jobs:
19+
call-k8-release:
20+
uses: code-kern-ai/cicd-deployment-scripts/.github/workflows/k8s_release.yml@dev
21+
if: github.event_name == 'pull_request' && github.event.pull_request.merged || github.event_name == 'release'
22+
secrets: inherit

.github/workflows/k8s_test.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: 'K8: Test'
2+
3+
on:
4+
pull_request:
5+
types: [opened, synchronize, reopened]
6+
7+
# Special permissions required for OIDC authentication
8+
permissions:
9+
id-token: write
10+
contents: read
11+
actions: read
12+
13+
14+
jobs:
15+
call-k8-test:
16+
uses: code-kern-ai/cicd-deployment-scripts/.github/workflows/k8s_test.yml@dev
17+
secrets: inherit
18+
with:
19+
test_cmd: 'pytest'

CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.github/ @code-kern-ai/devops-admin @code-kern-ai/dev-admin

controller/task_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def start_rats_task(
8787
only_uploaded_attributes: bool = False,
8888
attribute_id: Optional[str] = None,
8989
) -> int:
90-
if tokenization.is_doc_bin_creation_running(project_id):
90+
if tokenization.is_doc_bin_creation_running_or_queued(project_id, only_running=True):
9191
# at the end of doc bin creation rats will be calculated
9292
return
9393

requirements.txt

Lines changed: 73 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,15 @@
22
# This file is autogenerated by pip-compile with Python 3.9
33
# by the following command:
44
#
5-
# pip-compile --output-file=requirements.txt requirements/requirements.in
5+
# pip-compile --output-file=requirements.txt --strip-extras requirements/requirements.in
66
#
7+
annotated-types==0.7.0
8+
# via pydantic
79
anyio==4.4.0
810
# via
911
# -r requirements/common-requirements.txt
1012
# starlette
11-
blis==0.7.9
13+
blis==0.7.11
1214
# via thinc
1315
boto3==1.25.0
1416
# via -r requirements/common-requirements.txt
@@ -17,7 +19,7 @@ botocore==1.28.5
1719
# -r requirements/common-requirements.txt
1820
# boto3
1921
# s3transfer
20-
catalogue==2.0.8
22+
catalogue==2.0.10
2123
# via
2224
# spacy
2325
# srsly
@@ -36,9 +38,13 @@ click==8.1.7
3638
# -r requirements/common-requirements.txt
3739
# typer
3840
# uvicorn
39-
confection==0.0.3
40-
# via thinc
41-
cymem==2.0.7
41+
cloudpathlib==0.18.1
42+
# via weasel
43+
confection==0.1.5
44+
# via
45+
# thinc
46+
# weasel
47+
cymem==2.0.8
4248
# via
4349
# preshed
4450
# spacy
@@ -49,6 +55,8 @@ exceptiongroup==1.2.1
4955
# anyio
5056
fastapi==0.110.3
5157
# via -r requirements/common-requirements.txt
58+
greenlet==3.0.3
59+
# via sqlalchemy
5260
h11==0.14.0
5361
# via
5462
# -r requirements/common-requirements.txt
@@ -58,20 +66,28 @@ idna==3.7
5866
# -r requirements/common-requirements.txt
5967
# anyio
6068
# requests
61-
jinja2==3.1.3
69+
jinja2==3.1.4
6270
# via spacy
6371
jmespath==1.0.1
6472
# via
6573
# -r requirements/common-requirements.txt
6674
# boto3
6775
# botocore
68-
langcodes==3.3.0
76+
langcodes==3.4.0
6977
# via spacy
70-
markupsafe==2.1.1
78+
language-data==1.2.0
79+
# via langcodes
80+
marisa-trie==1.2.0
81+
# via language-data
82+
markdown-it-py==3.0.0
83+
# via rich
84+
markupsafe==2.1.5
7185
# via jinja2
86+
mdurl==0.1.2
87+
# via markdown-it-py
7288
minio==7.1.12
7389
# via -r requirements/common-requirements.txt
74-
murmurhash==1.0.9
90+
murmurhash==1.0.10
7591
# via
7692
# preshed
7793
# spacy
@@ -83,27 +99,31 @@ numpy==1.23.4
8399
# pandas
84100
# spacy
85101
# thinc
86-
packaging==21.3
87-
# via spacy
102+
packaging==24.1
103+
# via
104+
# spacy
105+
# thinc
106+
# weasel
88107
pandas==1.5.1
89108
# via -r requirements/common-requirements.txt
90-
pathy==0.6.2
91-
# via spacy
92-
preshed==3.0.8
109+
preshed==3.0.9
93110
# via
94111
# spacy
95112
# thinc
96113
psycopg2-binary==2.9.9
97114
# via -r requirements/common-requirements.txt
98-
pydantic==1.10.13
115+
pydantic==2.7.4
99116
# via
100-
# -r requirements/common-requirements.txt
117+
# -r requirements/requirements.in
101118
# confection
102119
# fastapi
103120
# spacy
104121
# thinc
105-
pyparsing==3.0.9
106-
# via packaging
122+
# weasel
123+
pydantic-core==2.18.4
124+
# via pydantic
125+
pygments==2.18.0
126+
# via rich
107127
python-dateutil==2.9.0.post0
108128
# via
109129
# -r requirements/common-requirements.txt
@@ -117,52 +137,69 @@ requests==2.31.0
117137
# via
118138
# -r requirements/common-requirements.txt
119139
# spacy
140+
# weasel
141+
rich==13.7.1
142+
# via typer
120143
s3transfer==0.6.2
121144
# via
122145
# -r requirements/common-requirements.txt
123146
# boto3
147+
shellingham==1.5.4
148+
# via typer
124149
six==1.16.0
125150
# via
126151
# -r requirements/common-requirements.txt
127152
# python-dateutil
128-
smart-open==5.2.1
129-
# via pathy
153+
smart-open==7.0.4
154+
# via weasel
130155
sniffio==1.3.1
131156
# via
132157
# -r requirements/common-requirements.txt
133158
# anyio
134-
spacy==3.4.2
135-
# via -r requirements/requirements.in
136-
spacy-legacy==3.0.10
159+
spacy==3.7.5
160+
# via
161+
# -r requirements/requirements.in
162+
# spacy
163+
spacy-legacy==3.0.12
137164
# via spacy
138-
spacy-loggers==1.0.3
165+
spacy-loggers==1.0.5
139166
# via spacy
140167
sqlalchemy==1.4.42
141168
# via -r requirements/common-requirements.txt
142-
srsly==2.4.5
169+
srsly==2.4.8
143170
# via
144171
# confection
145172
# spacy
146173
# thinc
174+
# weasel
147175
starlette==0.37.2
148176
# via
149177
# -r requirements/common-requirements.txt
150178
# fastapi
151-
thinc==8.1.5
179+
sudachidict-core==20240409
180+
# via spacy
181+
sudachipy==0.6.8
182+
# via
183+
# spacy
184+
# sudachidict-core
185+
thinc==8.2.5
152186
# via spacy
153-
tqdm==4.64.1
187+
tqdm==4.66.4
154188
# via spacy
155-
typer==0.4.2
189+
typer==0.12.3
156190
# via
157-
# pathy
158191
# spacy
192+
# weasel
159193
typing-extensions==4.12.1
160194
# via
161195
# -r requirements/common-requirements.txt
162196
# anyio
197+
# cloudpathlib
163198
# fastapi
164199
# pydantic
200+
# pydantic-core
165201
# starlette
202+
# typer
166203
urllib3==1.26.18
167204
# via
168205
# -r requirements/common-requirements.txt
@@ -171,11 +208,15 @@ urllib3==1.26.18
171208
# requests
172209
uvicorn==0.22.0
173210
# via -r requirements/common-requirements.txt
174-
wasabi==0.10.1
211+
wasabi==1.1.3
175212
# via
176213
# spacy
177-
# spacy-loggers
178214
# thinc
215+
# weasel
216+
weasel==0.4.1
217+
# via spacy
218+
wrapt==1.16.0
219+
# via smart-open
179220

180221
# The following packages are considered to be unsafe in a requirements file:
181222
# setuptools

requirements/common-requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ pandas==1.5.1
4444
# via -r common-requirements.in
4545
psycopg2-binary==2.9.9
4646
# via -r common-requirements.in
47-
pydantic==1.10.13
47+
# pydantic==1.10.13
4848
# via
4949
# -r mini-requirements.in
5050
# fastapi

requirements/requirements.in

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
-r common-requirements.txt
2-
spacy==3.4.2
2+
spacy[ja]==3.7.5
3+
pydantic==2.7.4

0 commit comments

Comments
 (0)