outerbounds 0.3.97__py3-none-any.whl → 0.3.97rc1__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
@@ -518,21 +518,12 @@ def ensure_aws_cloud_creds(config_dir, profile):
518
518
  aws_config = configparser.ConfigParser()
519
519
  aws_config.read(config_file_loc)
520
520
 
521
- aws_config["profile task"] = {
522
- "role_arn": token_info["role_arn"],
523
- "web_identity_token_file": token_file_loc,
524
- }
521
+ profile_name = "profile outerbounds"
522
+ if profile_name not in aws_config:
523
+ aws_config[profile_name] = {}
525
524
 
526
- if token_info.get("cspr_role_arn"):
527
- # If CSPR role is present, then we need to use the task role (in the task profile)
528
- # to assume the CSPR role.
529
- aws_config["profile outerbounds"] = {
530
- "role_arn": token_info["cspr_role_arn"],
531
- "source_profile": "task",
532
- }
533
- else:
534
- # If no CSPR role is present, just use the task profile as the outerbounds profile.
535
- aws_config["profile outerbounds"] = aws_config["profile task"]
525
+ aws_config[profile_name]["role_arn"] = token_info["role_arn"]
526
+ aws_config[profile_name]["web_identity_token_file"] = token_file_loc
536
527
 
537
528
  aws_config_string = StringIO()
538
529
  aws_config.write(aws_config_string)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: outerbounds
3
- Version: 0.3.97
3
+ Version: 0.3.97rc1
4
4
  Summary: More Data Science, Less Administration
5
5
  License: Proprietary
6
6
  Keywords: data science,machine learning,MLOps
@@ -25,8 +25,8 @@ Requires-Dist: google-auth (>=2.27.0,<3.0.0) ; extra == "gcp"
25
25
  Requires-Dist: google-cloud-secret-manager (>=2.20.0,<3.0.0) ; extra == "gcp"
26
26
  Requires-Dist: google-cloud-storage (>=2.14.0,<3.0.0) ; extra == "gcp"
27
27
  Requires-Dist: ob-metaflow (==2.12.18.2)
28
- Requires-Dist: ob-metaflow-extensions (==1.1.84)
29
- Requires-Dist: ob-metaflow-stubs (==5.7)
28
+ Requires-Dist: ob-metaflow-extensions (==1.1.86)
29
+ Requires-Dist: ob-metaflow-stubs (==5.7.1)
30
30
  Requires-Dist: opentelemetry-distro (==0.41b0)
31
31
  Requires-Dist: opentelemetry-exporter-otlp-proto-http (==1.20.0)
32
32
  Requires-Dist: opentelemetry-instrumentation-requests (==0.41b0)
@@ -44,7 +44,7 @@ outerbounds/command_groups/__init__.py,sha256=QPWtj5wDRTINDxVUL7XPqG3HoxHNvYOg08
44
44
  outerbounds/command_groups/apps_cli.py,sha256=iXaLnO-FwU_zK2ZjE-gBu1ZQdOYDLCbT0HJXJJZckeE,21895
45
45
  outerbounds/command_groups/cli.py,sha256=q0hdJO4biD3iEOdyJcxnRkeleA8AKAhx842kQ49I6kk,365
46
46
  outerbounds/command_groups/local_setup_cli.py,sha256=tuuqJRXQ_guEwOuQSIf9wkUU0yg8yAs31myGViAK15s,36364
47
- outerbounds/command_groups/perimeters_cli.py,sha256=iF_Uw7ROiSctf6FgoJEy30iDBLVE1j9FKuR3shgJRmc,19050
47
+ outerbounds/command_groups/perimeters_cli.py,sha256=mrJfFIRYFOjuiz-9h4OKg2JT8Utmbs72z6wvPzDss3s,18685
48
48
  outerbounds/command_groups/tutorials_cli.py,sha256=UInFyiMqtscHFfi8YQwiY_6Sdw9quJOtRu5OukEBccw,3522
49
49
  outerbounds/command_groups/workstations_cli.py,sha256=V5Jbj1cVb4IRllI7fOgNgL6OekRpuFDv6CEhDb4xC6w,22016
50
50
  outerbounds/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -53,7 +53,7 @@ outerbounds/utils/metaflowconfig.py,sha256=l2vJbgPkLISU-XPGZFaC8ZKmYFyJemlD6bwB-
53
53
  outerbounds/utils/schema.py,sha256=lMUr9kNgn9wy-sO_t_Tlxmbt63yLeN4b0xQXbDUDj4A,2331
54
54
  outerbounds/utils/utils.py,sha256=4Z8cszNob_8kDYCLNTrP-wWads_S_MdL3Uj3ju4mEsk,501
55
55
  outerbounds/vendor.py,sha256=gRLRJNXtZBeUpPEog0LOeIsl6GosaFFbCxUvR4bW6IQ,5093
56
- outerbounds-0.3.97.dist-info/entry_points.txt,sha256=7ye0281PKlvqxu15rjw60zKg2pMsXI49_A8BmGqIqBw,47
57
- outerbounds-0.3.97.dist-info/WHEEL,sha256=vVCvjcmxuUltf8cYhJ0sJMRDLr1XsPuxEId8YDzbyCY,88
58
- outerbounds-0.3.97.dist-info/METADATA,sha256=wWCs9ubDCis_OiCUcwE6yPZ5uE-Gg4RmmvgNi4W-bJ4,1632
59
- outerbounds-0.3.97.dist-info/RECORD,,
56
+ outerbounds-0.3.97rc1.dist-info/entry_points.txt,sha256=7ye0281PKlvqxu15rjw60zKg2pMsXI49_A8BmGqIqBw,47
57
+ outerbounds-0.3.97rc1.dist-info/WHEEL,sha256=vVCvjcmxuUltf8cYhJ0sJMRDLr1XsPuxEId8YDzbyCY,88
58
+ outerbounds-0.3.97rc1.dist-info/METADATA,sha256=PVqYd16YwtDVU2S9szwdJqR7VI-nZfSocSYzYPG-7tQ,1637
59
+ outerbounds-0.3.97rc1.dist-info/RECORD,,