icmd-python 1.5.7__py3-none-any.whl → 1.5.8__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.
icmd/core/client.py CHANGED
@@ -117,7 +117,9 @@ class ICMD:
117
117
  if developer_token:
118
118
  self._session.headers["Authorization"] = f"Bearer {developer_token}"
119
119
  self._developer_token = developer_token
120
- # Skip all auth flows for developer tokens
120
+ # Don't fail ICMD initialization if slim package management fails
121
+ with contextlib.suppress(Exception):
122
+ ensure_slim_packages(self)
121
123
  return
122
124
 
123
125
  self._developer_token = None
@@ -354,7 +354,11 @@ def ensure_slim_packages(icmd_client: "ICMD") -> None:
354
354
  # Get remote version and download URL from backend (single API call)
355
355
  remote_version, download_url = get_slim_packages_info(icmd_client)
356
356
  if remote_version is None:
357
- # Specific error already printed by get_slim_packages_info()
357
+ # Backend unavailable - print warning and try cached version
358
+ print(
359
+ "⚠ Warning: Could not check slim packages version from backend. "
360
+ "Using cached version if available."
361
+ )
358
362
  # Try to inject cached version for this server
359
363
  server_dir = QTPY_SLIM_BASE / get_server_slug(icmd_client.domain)
360
364
  if server_dir.exists():
icmd/version.py CHANGED
@@ -1 +1 @@
1
- __version__ = "1.5.7"
1
+ __version__ = "1.5.8"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: icmd-python
3
- Version: 1.5.7
3
+ Version: 1.5.8
4
4
  Summary: Python client app for ICMD®
5
5
  Author: QuesTek Innovations LLC
6
6
  Requires-Python: >=3.12
@@ -0,0 +1,10 @@
1
+ icmd/__init__.py,sha256=Y3zT6WXeWkIuMsLjwXs1lTjiGSj-dzLvetVSmRu_u2w,84
2
+ icmd/version.py,sha256=aGdl9Y3XkJkVSG47nNBoRdRr4veFwvs7t9uDlneAtdg,22
3
+ icmd/core/__init__.py,sha256=4-zYFBsm52YklOAfbd0EF6wqAQS2bCIDeRAQFJRX9Lw,305
4
+ icmd/core/client.py,sha256=jdCGl7BkwjuMyzEQLM5fNCC13b2nFGLqm-WoB5mDYbA,31881
5
+ icmd/core/credentials.py,sha256=PwLstCLl11KlusLVE7oBkU1rEgvb9u0HpWUhfapfBQY,6690
6
+ icmd/core/slim_packages.py,sha256=dKMNGsHBaBUsdS6mhb3UXD2jxZ1iAsGDKJu74Xpe96Y,16066
7
+ icmd_python-1.5.8.dist-info/METADATA,sha256=-tHbEzHSiopJ3weOjwpA5uPDs_dy1mphrLaNifjhq2k,639
8
+ icmd_python-1.5.8.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
9
+ icmd_python-1.5.8.dist-info/top_level.txt,sha256=olzM6Z_QEwg7RrFVOnkgO0I2Ps2m7vhSqYQZYeiawcw,5
10
+ icmd_python-1.5.8.dist-info/RECORD,,
@@ -1,10 +0,0 @@
1
- icmd/__init__.py,sha256=Y3zT6WXeWkIuMsLjwXs1lTjiGSj-dzLvetVSmRu_u2w,84
2
- icmd/version.py,sha256=oF7Y8496FUgsdoGzNFWSpl1UtgtgO43P0Tct09Fxbx0,22
3
- icmd/core/__init__.py,sha256=4-zYFBsm52YklOAfbd0EF6wqAQS2bCIDeRAQFJRX9Lw,305
4
- icmd/core/client.py,sha256=_5cQsWCraJsZoQH6-iTdnS6LwbA2cPvPb4FTQg4Sx0o,31766
5
- icmd/core/credentials.py,sha256=PwLstCLl11KlusLVE7oBkU1rEgvb9u0HpWUhfapfBQY,6690
6
- icmd/core/slim_packages.py,sha256=EdZTv8kMuqHKuHeNCbzdREkgvJZr_JnWcR1ytfbCYXU,15896
7
- icmd_python-1.5.7.dist-info/METADATA,sha256=jj6l1A_bJXTuz09PjZ73hjG95zoEd0HnmC1gFJE1h2Q,639
8
- icmd_python-1.5.7.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
9
- icmd_python-1.5.7.dist-info/top_level.txt,sha256=olzM6Z_QEwg7RrFVOnkgO0I2Ps2m7vhSqYQZYeiawcw,5
10
- icmd_python-1.5.7.dist-info/RECORD,,