dagster-k8s 0.25.6__py3-none-any.whl → 0.25.8__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of dagster-k8s might be problematic. Click here for more details.
- dagster_k8s/client.py +3 -3
- dagster_k8s/executor.py +3 -2
- dagster_k8s/version.py +1 -1
- {dagster_k8s-0.25.6.dist-info → dagster_k8s-0.25.8.dist-info}/METADATA +2 -2
- {dagster_k8s-0.25.6.dist-info → dagster_k8s-0.25.8.dist-info}/RECORD +8 -8
- {dagster_k8s-0.25.6.dist-info → dagster_k8s-0.25.8.dist-info}/LICENSE +0 -0
- {dagster_k8s-0.25.6.dist-info → dagster_k8s-0.25.8.dist-info}/WHEEL +0 -0
- {dagster_k8s-0.25.6.dist-info → dagster_k8s-0.25.8.dist-info}/top_level.txt +0 -0
dagster_k8s/client.py
CHANGED
|
@@ -468,7 +468,7 @@ class DagsterKubernetesClient:
|
|
|
468
468
|
try:
|
|
469
469
|
job = self.batch_api.read_namespaced_job_status(job_name, namespace=namespace)
|
|
470
470
|
except kubernetes.client.rest.ApiException as e:
|
|
471
|
-
if e.
|
|
471
|
+
if e.status == 404:
|
|
472
472
|
return None
|
|
473
473
|
else:
|
|
474
474
|
raise
|
|
@@ -518,14 +518,14 @@ class DagsterKubernetesClient:
|
|
|
518
518
|
for error in errors:
|
|
519
519
|
if not (
|
|
520
520
|
isinstance(error, kubernetes.client.rest.ApiException)
|
|
521
|
-
and error.
|
|
521
|
+
and error.status == 404
|
|
522
522
|
):
|
|
523
523
|
raise error
|
|
524
524
|
raise errors[0]
|
|
525
525
|
|
|
526
526
|
return True
|
|
527
527
|
except kubernetes.client.rest.ApiException as e:
|
|
528
|
-
if e.
|
|
528
|
+
if e.status == 404:
|
|
529
529
|
return False
|
|
530
530
|
raise e
|
|
531
531
|
|
dagster_k8s/executor.py
CHANGED
|
@@ -237,9 +237,10 @@ class K8sStepHandler(StepHandler):
|
|
|
237
237
|
user_defined_k8s_config = get_user_defined_k8s_config(
|
|
238
238
|
step_handler_context.step_tags[step_key]
|
|
239
239
|
)
|
|
240
|
-
|
|
240
|
+
step_context = step_handler_context.get_step_context(step_key)
|
|
241
|
+
op_name = step_context.step.op_name
|
|
241
242
|
per_op_override = UserDefinedDagsterK8sConfig.from_dict(
|
|
242
|
-
self._per_step_k8s_config.get(
|
|
243
|
+
self._per_step_k8s_config.get(op_name, {})
|
|
243
244
|
)
|
|
244
245
|
|
|
245
246
|
return context.merge(K8sContainerContext(run_k8s_config=user_defined_k8s_config)).merge(
|
dagster_k8s/version.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "0.25.
|
|
1
|
+
__version__ = "0.25.8"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: dagster-k8s
|
|
3
|
-
Version: 0.25.
|
|
3
|
+
Version: 0.25.8
|
|
4
4
|
Summary: A Dagster integration for k8s
|
|
5
5
|
Home-page: https://github.com/dagster-io/dagster/tree/master/python_modules/libraries/dagster-k8s
|
|
6
6
|
Author: Dagster Labs
|
|
@@ -14,7 +14,7 @@ Classifier: License :: OSI Approved :: Apache Software License
|
|
|
14
14
|
Classifier: Operating System :: OS Independent
|
|
15
15
|
Requires-Python: >=3.9,<3.13
|
|
16
16
|
License-File: LICENSE
|
|
17
|
-
Requires-Dist: dagster ==1.9.
|
|
17
|
+
Requires-Dist: dagster ==1.9.8
|
|
18
18
|
Requires-Dist: kubernetes <32
|
|
19
19
|
Requires-Dist: google-auth !=2.23.1
|
|
20
20
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
dagster_k8s/__init__.py,sha256=7LyrMxxhXKdGQYClq7OJwMiVJW0KYPP-8lTDrWLwyzU,750
|
|
2
|
-
dagster_k8s/client.py,sha256=
|
|
2
|
+
dagster_k8s/client.py,sha256=OiYQmjtX1_pvyCcwsRXrcJgA8rEs3Eayo-aO7rxs7ro,40020
|
|
3
3
|
dagster_k8s/container_context.py,sha256=47gts4BKPrlL624rT8MMKOn8kQtY3_f2FI2nmgsDPvU,22637
|
|
4
|
-
dagster_k8s/executor.py,sha256=
|
|
4
|
+
dagster_k8s/executor.py,sha256=CioPhq2nrILR1A1zPAuQdqQts-0o-Q4vCCbIkH_0FSw,14832
|
|
5
5
|
dagster_k8s/job.py,sha256=-GzUcz80cwF9NwDAv3QdE6GezSSpUzF0kLRkj1oTO34,43046
|
|
6
6
|
dagster_k8s/kubernetes_version.py,sha256=jIBF12yvVweYUCmhC5AJ2Lb1JPcHxJfohJ1_hHfzS4o,38
|
|
7
7
|
dagster_k8s/launcher.py,sha256=6PIlu8b9NyXAFRlw2OKhF-Mb6-QO5gL9mkXmdmlXoCw,16589
|
|
@@ -10,11 +10,11 @@ dagster_k8s/pipes.py,sha256=kRHLYJfZi23GJe1_TW3Z3FglEpMrMLT43UV7YpTmKr8,30439
|
|
|
10
10
|
dagster_k8s/py.typed,sha256=la67KBlbjXN-_-DfGNcdOcjYumVpKG_Tkw-8n5dnGB4,8
|
|
11
11
|
dagster_k8s/test.py,sha256=cNtcbzxytiZtd01wY5ip7KPi01y0BUQuQhohoIfAFUM,684
|
|
12
12
|
dagster_k8s/utils.py,sha256=c1bHqh5f1p5RZ0JCT6WEbPPjDvbgUp3pl4nYZRaaI4s,786
|
|
13
|
-
dagster_k8s/version.py,sha256=
|
|
13
|
+
dagster_k8s/version.py,sha256=bkf--LdvzFbtaf_d7GSQn5A2t-yDZ-SX33wKaaeqHsY,23
|
|
14
14
|
dagster_k8s/ops/__init__.py,sha256=ur-9GrE_DRfnsFCpYan03qOY9cWbjagC8KHZFZuiCmc,113
|
|
15
15
|
dagster_k8s/ops/k8s_job_op.py,sha256=ZZUz_fYXL6cxOmKJfL56wa_q6Kvh-qjYYBaYEZIMK2s,21815
|
|
16
|
-
dagster_k8s-0.25.
|
|
17
|
-
dagster_k8s-0.25.
|
|
18
|
-
dagster_k8s-0.25.
|
|
19
|
-
dagster_k8s-0.25.
|
|
20
|
-
dagster_k8s-0.25.
|
|
16
|
+
dagster_k8s-0.25.8.dist-info/LICENSE,sha256=TMatHW4_G9ldRdodEAp-l2Xa2WvsdeOh60E3v1R2jis,11349
|
|
17
|
+
dagster_k8s-0.25.8.dist-info/METADATA,sha256=-7jPgGPswBKuaKPlWpAzzbhMxkpKlGVkZ5xABkidpqI,732
|
|
18
|
+
dagster_k8s-0.25.8.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
|
|
19
|
+
dagster_k8s-0.25.8.dist-info/top_level.txt,sha256=wFPjskoWPlk2hOLugYCaoZhSiZdUcbCA1QZe9I4dals,12
|
|
20
|
+
dagster_k8s-0.25.8.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|