mas-cli 15.6.3__py3-none-any.whl → 15.7.0__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 mas-cli might be problematic. Click here for more details.

mas/cli/__init__.py CHANGED
@@ -8,4 +8,4 @@
8
8
  #
9
9
  # *****************************************************************************
10
10
 
11
- __version__ = "15.6.3" # Python module compatible semver
11
+ __version__ = "15.7.0" # Python module compatible semver
@@ -588,10 +588,19 @@ class AiServiceInstallApp(BaseApp, aiServiceInstallArgBuilderMixin, aiServiceIns
588
588
  "",
589
589
  "The project ID refers to your specific watsonx.ai project where your ML models and assets are stored.",
590
590
  "",
591
+ "Optional identifiers:",
592
+ " - DeploymentId: ID of the model deployment in a **dedicated watsonx runtime**",
593
+ " (e.g., granite-3-2-8b-instruct deployed in your dedicated runtime).",
594
+ " - SpaceId: ID of the **watsonx deployment space** where deployments are managed.",
595
+ "Provide these only if you already have them; otherwise AI Service can proceed with defaults/workflows",
596
+ "that do not require pre-existing deployment/space identifiers.",
597
+ "",
591
598
  ])
592
599
  self.promptForString("Watsonxai api key", "aiservice_watsonxai_apikey", isPassword=True)
593
600
  self.promptForString("Watsonxai machine learning url", "aiservice_watsonxai_url")
594
601
  self.promptForString("Watsonxai project id", "aiservice_watsonxai_project_id")
602
+ self.promptForString("Watsonxai Deployment ID (optional)", "aiservice_watsonxai_deployment_id")
603
+ self.promptForString("Watsonxai Space ID (optional)", "aiservice_watsonxai_space_id")
595
604
 
596
605
  self.printH1("RSL Integration")
597
606
  self.printDescription([
@@ -135,6 +135,10 @@ class aiServiceInstallArgBuilderMixin():
135
135
  command += f" --watsonxai-project-id \"{self.getParam('aiservice_watsonxai_project_id')}\"{newline}"
136
136
  if self.getParam('aiservice_watsonx_action') != "":
137
137
  command += f" --watsonx-action \"{self.getParam('aiservice_watsonx_action')}\"{newline}"
138
+ if self.getParam('aiservice_watsonxai_deployment_id'):
139
+ command += f" --watsonxai-deployment-id {self.getParam('aiservice_watsonxai_deployment_id')}\"{newline}"
140
+ if self.getParam('aiservice_watsonxai_space_id'):
141
+ command += f" --watsonxai-space-id {self.getParam('aiservice_watsonxai_space_id')}\"{newline}"
138
142
 
139
143
  if self.getParam('minio_root_user') != "":
140
144
  command += f" --minio-root-user \"{self.getParam('minio_root_user')}\"{newline}"
@@ -301,6 +301,18 @@ watsonxArgGroup.add_argument(
301
301
  required=False,
302
302
  help="Action to perform with WatsonX (install/remove)"
303
303
  )
304
+ watsonxArgGroup.add_argument(
305
+ '--watsonxai-deployment-id',
306
+ dest="aiservice_watsonxai_deployment_id",
307
+ required=False,
308
+ help='WatsonX deployment ID'
309
+ )
310
+ watsonxArgGroup.add_argument(
311
+ '--watsonxai-space-id',
312
+ dest="aiservice_watsonxai_space_id",
313
+ required=False,
314
+ help='WatsonX space ID'
315
+ )
304
316
 
305
317
 
306
318
  # AI Service
@@ -74,6 +74,8 @@ optionalParams = [
74
74
  "aiservice_watsonxai_url",
75
75
  "aiservice_watsonxai_project_id",
76
76
  "aiservice_watsonx_action",
77
+ "aiservice_watsonxai_deployment_id",
78
+ "aiservice_watsonxai_space_id",
77
79
 
78
80
  "aiservice_instance_id",
79
81
 
mas/cli/cli.py CHANGED
@@ -118,7 +118,7 @@ class BaseApp(PrintMixin, PromptMixin):
118
118
  logging.getLogger('asyncio').setLevel(logging.INFO)
119
119
 
120
120
  # Supports extended semver, unlike mas.cli.__version__
121
- self.version = "15.6.3"
121
+ self.version = "15.7.0"
122
122
  self.h1count = 0
123
123
  self.h2count = 0
124
124
 
@@ -146,6 +146,10 @@ class BaseApp(PrintMixin, PromptMixin):
146
146
  self.architecture = None
147
147
 
148
148
  self.compatibilityMatrix = {
149
+ "9.2.x-feature": {
150
+ "manage": ["9.2.x-feature", "9.1.x"],
151
+ "optimizer": ["9.2.x-feature", "9.1.x"],
152
+ },
149
153
  "9.1.x": {
150
154
  "facilities": ["9.1.x"],
151
155
  "assist": ["9.1.x", "9.0.x"],
@@ -207,10 +211,11 @@ class BaseApp(PrintMixin, PromptMixin):
207
211
  "9.1.x-feature": " - <u>https://ibm.biz/MAS90-License</u>\n - <u>https://ibm.biz/MaximoIT90-License</u>\n - <u>https://ibm.biz/MAXArcGIS90-License</u>\n\nBe aware, this channel subscription is supported for non-production use only. \nIt allows early access to new features for evaluation in non-production environments. \nThis subscription is offered alongside and in parallel with our normal maintained streams. \nWhen using this subscription, IBM Support will only accept cases for the latest available bundle deployed in a non-production environment. \nSeverity must be either 3 or 4 and cases cannot be escalated. \nPlease refer to IBM documentation for more details.\n",
208
212
  "9.1.x": " - <u>https://ibm.biz/MAS91-License</u>\n - <u>https://ibm.biz/MAXIT91-License</u>\n - <u>https://ibm.biz/MAXESRI91-License</u>",
209
213
  "aibroker-9.1.x": " - <u>https://ibm.biz/MAS91-License</u>",
214
+ "9.2.x-feature": " - <u>https://ibm.biz/MAS91-License</u>\n - <u>https://ibm.biz/MAXIT91-License</u>\n - <u>https://ibm.biz/MAXESRI91-License</u>\n\nBe aware, this channel subscription is supported for non-production use only. \nIt allows early access to new features for evaluation in non-production environments. \nThis subscription is offered alongside and in parallel with our normal maintained streams. \nWhen using this subscription, IBM Support will only accept cases for the latest available bundle deployed in a non-production environment. \nSeverity must be either 3 or 4 and cases cannot be escalated. \nPlease refer to IBM documentation for more details.\n",
210
215
  }
211
216
 
212
217
  self.upgrade_path = {
213
- "9.1.x": "9.1.x",
218
+ "9.1.x": "9.2.x-feature",
214
219
  "9.1.x-feature": "9.1.x",
215
220
  "9.0.x": "9.1.x",
216
221
  "8.11.x": "9.0.x",
@@ -9,21 +9,20 @@
9
9
  # *****************************************************************************
10
10
  supportedCatalogs = {
11
11
  "amd64": [
12
+ "v9-250925-amd64",
12
13
  "v9-250902-amd64",
13
14
  "v9-250828-amd64",
14
15
  "v9-250731-amd64",
15
- "v9-250624-amd64",
16
16
  ],
17
17
  "s390x": [
18
+ # No "v9-250925-s390x" catalog for the s390x
18
19
  "v9-250902-s390x",
19
20
  "v9-250828-s390x",
20
- "v9-250731-s390x",
21
- "v9-250624-s390x",
22
21
  ],
23
22
  "ppc64le": [
23
+ "v9-250925-ppc64le",
24
24
  "v9-250902-ppc64le",
25
25
  "v9-250828-ppc64le",
26
26
  "v9-250731-ppc64le",
27
- "v9-250624-ppc64le",
28
27
  ],
29
28
  }