truefoundry 0.5.8rc4__py3-none-any.whl → 0.5.10rc1__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 truefoundry might be problematic. Click here for more details.

@@ -57,7 +57,7 @@ class TrueFoundrySdkEnv(BaseSettings):
57
57
  # For local development, this enables futher configuration via _TFYServersConfig
58
58
  TFY_CLI_LOCAL_DEV_MODE: bool = False
59
59
 
60
- TFY_PYTHON_BUILD_PACKAGE_MANAGER: PythonPackageManager = PythonPackageManager.PIP
60
+ TFY_PYTHON_BUILD_PACKAGE_MANAGER: PythonPackageManager = PythonPackageManager.UV
61
61
  TFY_PYTHON_BUILD_UV_IMAGE_URI: str = "ghcr.io/astral-sh/uv:latest"
62
62
 
63
63
 
@@ -39,8 +39,8 @@ class ServiceFoundryServiceClient(BaseServiceFoundryServiceClient):
39
39
  )
40
40
 
41
41
  try:
42
- data = request_handling(response)
43
- assert isinstance(data, dict)
42
+ result = request_handling(response)
43
+ assert isinstance(result, dict)
44
44
  except HttpRequestException as he:
45
45
  raise MlFoundryException(
46
46
  f"Failed to get storage integration from id: {integration_id}. Error: {he.message}",
@@ -52,12 +52,8 @@ class ServiceFoundryServiceClient(BaseServiceFoundryServiceClient):
52
52
  ) from None
53
53
 
54
54
  # TODO (chiragjn): Parse this using Pydantic
55
- if (
56
- data.get("providerIntegrations")
57
- and len(data["providerIntegrations"]) > 0
58
- and data["providerIntegrations"][0]
59
- ):
60
- return data["providerIntegrations"][0]
55
+ if result.get("data") and len(result["data"]) > 0 and result["data"][0]:
56
+ return result["data"][0]
61
57
  else:
62
58
  raise MlFoundryException(
63
59
  f"Invalid storage integration id: {integration_id}"
@@ -1,9 +1,9 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: truefoundry
3
- Version: 0.5.8rc4
3
+ Version: 0.5.10rc1
4
4
  Summary: TrueFoundry CLI
5
5
  Author-email: TrueFoundry Team <abhishek@truefoundry.com>
6
- Requires-Python: <3.13,>=3.8.1
6
+ Requires-Python: <3.14,>=3.8.1
7
7
  Requires-Dist: aenum<4.0.0,>=3.0.0
8
8
  Requires-Dist: click<9.0.0,>=7.0.0
9
9
  Requires-Dist: coolname<2.0.0,>=1.1.0
@@ -14,8 +14,7 @@ Requires-Dist: gitpython<4.0.0,>=3.1.43
14
14
  Requires-Dist: importlib-metadata<9.0.0,>=4.11.3
15
15
  Requires-Dist: importlib-resources<7.0.0,>=5.2.0
16
16
  Requires-Dist: mako<2.0.0,>=1.1.6
17
- Requires-Dist: numpy<2.0.0,>=1.23.0; python_version < '3.12'
18
- Requires-Dist: numpy<2.0.0,>=1.26.0; python_version >= '3.12'
17
+ Requires-Dist: numpy<3.0.0,>=1.23.0
19
18
  Requires-Dist: openai<2.0.0,>=1.16.2
20
19
  Requires-Dist: packaging<25.0,>=20.0
21
20
  Requires-Dist: pydantic<3.0.0,>=1.8.2
@@ -30,8 +29,6 @@ Requires-Dist: requests<3.0.0,>=2.18.0
30
29
  Requires-Dist: requirements-parser<0.12.0,>=0.11.0
31
30
  Requires-Dist: rich-click<2.0.0,>=1.2.1
32
31
  Requires-Dist: rich<14.0.0,>=13.7.1
33
- Requires-Dist: scipy<2.0.0,>=1.12.0; python_version >= '3.12'
34
- Requires-Dist: scipy<2.0.0,>=1.5.0; python_version < '3.12'
35
32
  Requires-Dist: tqdm<5.0.0,>=4.0.0
36
33
  Requires-Dist: typing-extensions>=4.0
37
34
  Requires-Dist: urllib3<3,>=1.26.18
@@ -35,7 +35,7 @@ truefoundry/cli/display_util.py,sha256=vypx4FQImmDwl2QAj7GpjwlpvG3VFhqoNPvCkBzGq
35
35
  truefoundry/cli/util.py,sha256=gLSKts2js8ThKXV19p2ENv5seSf12PrUemUsveNmcGY,3717
36
36
  truefoundry/common/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
37
37
  truefoundry/common/auth_service_client.py,sha256=N3YxKlx63r6cPZqbgb2lqBOPI69ShB7D7RCIq4FSCjc,7949
38
- truefoundry/common/constants.py,sha256=WQjylPv7xTVYURv4zicJUHYL73Gv3c3i6Iw4oy9Lhg4,2744
38
+ truefoundry/common/constants.py,sha256=_bH96qvYXFYONXRKYz6ATRSBI9kep5yPEXAr0EYpKSY,2743
39
39
  truefoundry/common/credential_file_manager.py,sha256=1yEk1Zm2xS4G0VDFwKSZ4w0VUrcPWQ1nJnoBaz9xyKA,4251
40
40
  truefoundry/common/credential_provider.py,sha256=_OhJ2XFlDaVsrUO-FyywxctcGGqDdC2pgcvwEKqQD0Q,4071
41
41
  truefoundry/common/entities.py,sha256=Gx52dIwUARwGLE2hCSe9PJWfXh-ARCmdWwX6KtCxJng,3805
@@ -338,7 +338,7 @@ truefoundry/ml/cli/commands/__init__.py,sha256=diDUiRUX4l6TtNLI4iF-ZblczkELM7FRV
338
338
  truefoundry/ml/cli/commands/download.py,sha256=N9MhsEQ3U24v_OmnMZT8Q4SoAi38Sm7a21unrACOSDw,2573
339
339
  truefoundry/ml/cli/commands/model_init.py,sha256=9fHCernmQswjEhREzdrnKxwCCWkgmFrpL29H52Sd1gQ,2663
340
340
  truefoundry/ml/clients/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
341
- truefoundry/ml/clients/servicefoundry_client.py,sha256=Rx-tjiDxNwUgOCDITjtL0vmZcQgJjh_tUdReE23TKIk,2363
341
+ truefoundry/ml/clients/servicefoundry_client.py,sha256=-fnlXJzFU6GW5Js9VBITI9DnUm_lUkoV5gpIRxYFb2U,2263
342
342
  truefoundry/ml/log_types/__init__.py,sha256=g4u4D4Jaj0aBK5GtrLV88-qThKZR9pSZ17vFEkN-LmM,125
343
343
  truefoundry/ml/log_types/plot.py,sha256=KsVJiZ1uXvMoAumjDTT7EpjWoagtRWxF5rRQDTCRGOY,7571
344
344
  truefoundry/ml/log_types/pydantic_base.py,sha256=eBlw_AEyAz4iJKDP4zgJOCFWcldwQqpf7FADW1jzIQY,272
@@ -364,7 +364,7 @@ truefoundry/workflow/remote_filesystem/__init__.py,sha256=LQ95ViEjJ7Ts4JcCGOxMPs
364
364
  truefoundry/workflow/remote_filesystem/logger.py,sha256=em2l7D6sw7xTLDP0kQSLpgfRRCLpN14Qw85TN7ujQcE,1022
365
365
  truefoundry/workflow/remote_filesystem/tfy_signed_url_client.py,sha256=xcT0wQmQlgzcj0nP3tJopyFSVWT1uv3nhiTIuwfXYeg,12342
366
366
  truefoundry/workflow/remote_filesystem/tfy_signed_url_fs.py,sha256=nSGPZu0Gyd_jz0KsEE-7w_BmnTD8CVF1S8cUJoxaCbc,13305
367
- truefoundry-0.5.8rc4.dist-info/METADATA,sha256=FmamDp6h0WeTwzoj2Nt1uhx8K6jiacb-foS695wCBOA,2523
368
- truefoundry-0.5.8rc4.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
369
- truefoundry-0.5.8rc4.dist-info/entry_points.txt,sha256=xVjn7RMN-MW2-9f7YU-bBdlZSvvrwzhpX1zmmRmsNPU,98
370
- truefoundry-0.5.8rc4.dist-info/RECORD,,
367
+ truefoundry-0.5.10rc1.dist-info/METADATA,sha256=9Pd9wehdzibZQr0O2jFHne5G83pyS6YtQzgEi0DUT9o,2315
368
+ truefoundry-0.5.10rc1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
369
+ truefoundry-0.5.10rc1.dist-info/entry_points.txt,sha256=xVjn7RMN-MW2-9f7YU-bBdlZSvvrwzhpX1zmmRmsNPU,98
370
+ truefoundry-0.5.10rc1.dist-info/RECORD,,