outerbounds 0.3.149__py3-none-any.whl → 0.3.151__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.
@@ -173,20 +173,18 @@ def configure_docker_login(registry_url, output, config_dir=None, profile=None):
173
173
  auth_data = get_docker_auth_data(auth_token_response)
174
174
  auth_json = json.dumps(auth_data, separators=(",", ":"))
175
175
  docker_config = {
176
- registry_url: {
177
- "auth": base64.b64encode(
178
- f"fastreg:{base64.b64encode(auth_json.encode()).decode()}".encode()
179
- ).decode(),
180
- "username": "fastreg", # This is currently hardcoded in the Fast Bakery Registry implementation.
181
- "password": base64.b64encode(auth_json.encode()).decode(),
182
- }
176
+ # "auth": base64.b64encode(
177
+ # f"fastreg:{base64.b64encode(auth_json.encode()).decode()}".encode()
178
+ # ).decode(),
179
+ "username": "fastreg", # This is currently hardcoded in the Fast Bakery Registry implementation.
180
+ "password": base64.b64encode(auth_json.encode()).decode(),
183
181
  }
184
182
 
185
- docker_config = {"auths": {}}
186
183
  if output is None:
187
184
  home = path.expanduser("~")
188
185
  output = path.join(home, ".docker", "config.json")
189
186
 
187
+ existing_docker_config = {"auths": {}}
190
188
  if path.exists(output):
191
189
  with open(output, "r") as f:
192
190
  existing_docker_config = json.load(f)
@@ -196,7 +194,7 @@ def configure_docker_login(registry_url, output, config_dir=None, profile=None):
196
194
 
197
195
  existing_docker_config["auths"][registry_url] = docker_config
198
196
  with open(output, "w") as f:
199
- json.dump(docker_config, f, indent=4)
197
+ json.dump(existing_docker_config, f, indent=4)
200
198
 
201
199
  click.secho(f"Docker config saved to {output}", fg="green", err=True)
202
200
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: outerbounds
3
- Version: 0.3.149
3
+ Version: 0.3.151
4
4
  Summary: More Data Science, Less Administration
5
5
  License: Proprietary
6
6
  Keywords: data science,machine learning,MLOps
@@ -14,6 +14,7 @@ Classifier: Programming Language :: Python :: 3.8
14
14
  Classifier: Programming Language :: Python :: 3.9
15
15
  Classifier: Programming Language :: Python :: 3.10
16
16
  Classifier: Programming Language :: Python :: 3.11
17
+ Classifier: Programming Language :: Python :: 3.12
17
18
  Provides-Extra: azure
18
19
  Provides-Extra: gcp
19
20
  Provides-Extra: snowflake
@@ -26,9 +27,9 @@ Requires-Dist: google-auth (>=2.27.0,<3.0.0) ; extra == "gcp"
26
27
  Requires-Dist: google-cloud-secret-manager (>=2.20.0,<3.0.0) ; extra == "gcp"
27
28
  Requires-Dist: google-cloud-storage (>=2.14.0,<3.0.0) ; extra == "gcp"
28
29
  Requires-Dist: metaflow-checkpoint (==0.1.9)
29
- Requires-Dist: ob-metaflow (==2.15.3.1)
30
- Requires-Dist: ob-metaflow-extensions (==1.1.136)
31
- Requires-Dist: ob-metaflow-stubs (==6.0.3.148)
30
+ Requires-Dist: ob-metaflow (==2.15.6.1)
31
+ Requires-Dist: ob-metaflow-extensions (==1.1.138)
32
+ Requires-Dist: ob-metaflow-stubs (==6.0.3.151)
32
33
  Requires-Dist: opentelemetry-distro (==0.41b0)
33
34
  Requires-Dist: opentelemetry-exporter-otlp-proto-http (==1.20.0)
34
35
  Requires-Dist: opentelemetry-instrumentation-requests (==0.41b0)
@@ -43,7 +43,7 @@ outerbounds/cli_main.py,sha256=e9UMnPysmc7gbrimq2I4KfltggyU7pw59Cn9aEguVcU,74
43
43
  outerbounds/command_groups/__init__.py,sha256=QPWtj5wDRTINDxVUL7XPqG3HoxHNvYOg08EnuSZB2Hc,21
44
44
  outerbounds/command_groups/apps_cli.py,sha256=8jmQufa0bK2sfRfs7DiWjoJ1oWiqZAixsL4Dte_KY4Y,17201
45
45
  outerbounds/command_groups/cli.py,sha256=YsDS-AKhhwwSH65mgNsmjeg1U2bk202V5NpIYnXEdb8,440
46
- outerbounds/command_groups/fast_bakery_cli.py,sha256=aIFRuJo9v9Wfh0meXVe01OCYc9Pnmwr0oMMZ_VcBtBo,6243
46
+ outerbounds/command_groups/fast_bakery_cli.py,sha256=5kja7v6C651XAY6dsP_IkBPJQgfU4hA4S9yTOiVPhW0,6213
47
47
  outerbounds/command_groups/local_setup_cli.py,sha256=tuuqJRXQ_guEwOuQSIf9wkUU0yg8yAs31myGViAK15s,36364
48
48
  outerbounds/command_groups/perimeters_cli.py,sha256=iF_Uw7ROiSctf6FgoJEy30iDBLVE1j9FKuR3shgJRmc,19050
49
49
  outerbounds/command_groups/tutorials_cli.py,sha256=UInFyiMqtscHFfi8YQwiY_6Sdw9quJOtRu5OukEBccw,3522
@@ -54,7 +54,7 @@ outerbounds/utils/metaflowconfig.py,sha256=l2vJbgPkLISU-XPGZFaC8ZKmYFyJemlD6bwB-
54
54
  outerbounds/utils/schema.py,sha256=lMUr9kNgn9wy-sO_t_Tlxmbt63yLeN4b0xQXbDUDj4A,2331
55
55
  outerbounds/utils/utils.py,sha256=4Z8cszNob_8kDYCLNTrP-wWads_S_MdL3Uj3ju4mEsk,501
56
56
  outerbounds/vendor.py,sha256=gRLRJNXtZBeUpPEog0LOeIsl6GosaFFbCxUvR4bW6IQ,5093
57
- outerbounds-0.3.149.dist-info/WHEEL,sha256=vVCvjcmxuUltf8cYhJ0sJMRDLr1XsPuxEId8YDzbyCY,88
58
- outerbounds-0.3.149.dist-info/entry_points.txt,sha256=7ye0281PKlvqxu15rjw60zKg2pMsXI49_A8BmGqIqBw,47
59
- outerbounds-0.3.149.dist-info/METADATA,sha256=8Eg_ZpUpJHRbQwk7L28tcEKqJFUBFYVYuaR3NewW6vE,1710
60
- outerbounds-0.3.149.dist-info/RECORD,,
57
+ outerbounds-0.3.151.dist-info/METADATA,sha256=HJd3SOqWMsX2oJ28gzynFOj-0QSTSeVDR076OpX9HfY,1761
58
+ outerbounds-0.3.151.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
59
+ outerbounds-0.3.151.dist-info/entry_points.txt,sha256=7ye0281PKlvqxu15rjw60zKg2pMsXI49_A8BmGqIqBw,47
60
+ outerbounds-0.3.151.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: poetry-core 1.4.0
2
+ Generator: poetry-core 1.9.0
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any