ob-metaflow-extensions 1.1.92__py2.py3-none-any.whl → 1.1.93__py2.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 ob-metaflow-extensions might be problematic. Click here for more details.

@@ -123,6 +123,14 @@ class DockerEnvironment(MetaflowEnvironment):
123
123
  # Attach environment decorator as needed. This is done on a step-by-step basis
124
124
  # as we require a conda decorator for fallback steps, but prefer pypi for the baked ones.
125
125
  for step in self.flow:
126
+ # Mixing @pypi/@conda in a single step is not supported yet.
127
+ # We validate this before attaching any new ones as the OSS Conda environment requires an implicit conda decorator for pypi environments which would fail the validation.
128
+ if sum(1 for deco in step.decorators if _is_env_deco(deco)) > 1:
129
+ raise MetaflowException(
130
+ "Mixing and matching PyPI packages and Conda packages within a\n"
131
+ "step is not yet supported. Use one of @pypi or @conda only for the *%s* step."
132
+ % step.name
133
+ )
126
134
  if step.name in self.skipped_steps:
127
135
  # Conda fallback requires a conda decorator as the default for a step
128
136
  decorators._attach_decorators_to_step(step, ["conda"])
@@ -144,14 +152,6 @@ class DockerEnvironment(MetaflowEnvironment):
144
152
  echo,
145
153
  )
146
154
 
147
- # Mixing @pypi/@conda in a single step is not supported yet
148
- if sum(1 for deco in step.decorators if _is_env_deco(deco)) > 1:
149
- raise MetaflowException(
150
- "Mixing and matching PyPI packages and Conda packages within a\n"
151
- "step is not yet supported. Use one of @pypi or @conda only for the *%s* step."
152
- % step.name
153
- )
154
-
155
155
  steps_to_bake = [
156
156
  step
157
157
  for step in self.flow
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ob-metaflow-extensions
3
- Version: 1.1.92
3
+ Version: 1.1.93
4
4
  Summary: Outerbounds Platform Extensions for Metaflow
5
5
  Author: Outerbounds, Inc.
6
6
  License: Commercial
@@ -5,7 +5,7 @@ metaflow_extensions/outerbounds/plugins/__init__.py,sha256=WwvFcN5kserbPwhrE4hXp
5
5
  metaflow_extensions/outerbounds/plugins/auth_server.py,sha256=1v2GBqoMBxp5E7Lejz139w-jxJtPnLDvvHXP0HhEIHI,2361
6
6
  metaflow_extensions/outerbounds/plugins/perimeters.py,sha256=QXh3SFP7GQbS-RAIxUOPbhPzQ7KDFVxZkTdKqFKgXjI,2697
7
7
  metaflow_extensions/outerbounds/plugins/fast_bakery/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
8
- metaflow_extensions/outerbounds/plugins/fast_bakery/docker_environment.py,sha256=7PaCyOcEV71uHZ6mLdgbYSD-qzv_mC04JLlBwOLoQR4,13814
8
+ metaflow_extensions/outerbounds/plugins/fast_bakery/docker_environment.py,sha256=jpEBbdRLq7826LqUKIHqo3cYei2CNeVAxggw6vFmYso,13996
9
9
  metaflow_extensions/outerbounds/plugins/fast_bakery/fast_bakery.py,sha256=MAPRQsfqeEkL1LXqgwPrUJOzZ3kY3C00QjdDgQ7wdIg,5160
10
10
  metaflow_extensions/outerbounds/plugins/fast_bakery/fast_bakery_cli.py,sha256=kqFyu2bJSnc9_9aYfBpz5xK6L6luWFZK_NMuh8f1eVk,1494
11
11
  metaflow_extensions/outerbounds/plugins/fast_bakery/fast_bakery_decorator.py,sha256=EZDbyrfZ7fgcU-P9dMS_hpCxsdDeUE0K5VU3uNM4aW4,1506
@@ -33,7 +33,7 @@ metaflow_extensions/outerbounds/toplevel/global_aliases_for_metaflow_package.py,
33
33
  metaflow_extensions/outerbounds/toplevel/plugins/azure/__init__.py,sha256=WUuhz2YQfI4fz7nIcipwwWq781eaoHEk7n4GAn1npDg,63
34
34
  metaflow_extensions/outerbounds/toplevel/plugins/gcp/__init__.py,sha256=BbZiaH3uILlEZ6ntBLKeNyqn3If8nIXZFq_Apd7Dhco,70
35
35
  metaflow_extensions/outerbounds/toplevel/plugins/kubernetes/__init__.py,sha256=5zG8gShSj8m7rgF4xgWBZFuY3GDP5n1T0ktjRpGJLHA,69
36
- ob_metaflow_extensions-1.1.92.dist-info/METADATA,sha256=ErKr4z77BaOS6alTco5zeVtZc2KqpSeezK9BscAoZio,520
37
- ob_metaflow_extensions-1.1.92.dist-info/WHEEL,sha256=bb2Ot9scclHKMOLDEHY6B2sicWOgugjFKaJsT7vwMQo,110
38
- ob_metaflow_extensions-1.1.92.dist-info/top_level.txt,sha256=NwG0ukwjygtanDETyp_BUdtYtqIA_lOjzFFh1TsnxvI,20
39
- ob_metaflow_extensions-1.1.92.dist-info/RECORD,,
36
+ ob_metaflow_extensions-1.1.93.dist-info/METADATA,sha256=yWB9qUR6LTg61tnxvkMqcdGw3SRZjcSnSIhn6J6u5aQ,520
37
+ ob_metaflow_extensions-1.1.93.dist-info/WHEEL,sha256=bb2Ot9scclHKMOLDEHY6B2sicWOgugjFKaJsT7vwMQo,110
38
+ ob_metaflow_extensions-1.1.93.dist-info/top_level.txt,sha256=NwG0ukwjygtanDETyp_BUdtYtqIA_lOjzFFh1TsnxvI,20
39
+ ob_metaflow_extensions-1.1.93.dist-info/RECORD,,