stores 0.1.8.dev2__py3-none-any.whl → 0.1.8.dev3__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.
@@ -8,7 +8,6 @@ from pathlib import Path
8
8
  from typing import Optional
9
9
 
10
10
  import requests
11
- from git import GitCommandError, Repo
12
11
 
13
12
  from stores.constants import VENV_NAME
14
13
  from stores.indexes.base_index import BaseIndex
@@ -18,6 +17,11 @@ logging.basicConfig()
18
17
  logger = logging.getLogger("stores.indexes.remote_index")
19
18
  logger.setLevel(logging.INFO)
20
19
 
20
+ try:
21
+ from git import GitCommandError, Repo
22
+ except Exception:
23
+ logger.warning("Failed to import git")
24
+
21
25
  # TODO: CACHE_DIR might resolve differently
22
26
  CACHE_DIR = Path(".tools")
23
27
  INDEX_LOOKUP_URL = (
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: stores
3
- Version: 0.1.8.dev2
3
+ Version: 0.1.8.dev3
4
4
  Summary: Repository of Python functions and tools for LLMs
5
5
  License-File: LICENSE
6
6
  Requires-Python: >=3.10
@@ -7,9 +7,9 @@ stores/indexes/__init__.py,sha256=s-RNqml8uGREQhxwSdDoxcbcxeD8soB9BcL5dBKsQfI,21
7
7
  stores/indexes/base_index.py,sha256=oaLN_Tk6PdoTSlRdGsd2wTvBVQ4S3ylV8rbIVSSNkEQ,15608
8
8
  stores/indexes/index.py,sha256=Cub5mtnYGipHfPR8BexJYRSKfuJmcGPp0B3ou2bGNqs,2901
9
9
  stores/indexes/local_index.py,sha256=Gg9LkEo1L0_NZZYPItsF_-1y6nFP369C3QlPvPyvPx8,3708
10
- stores/indexes/remote_index.py,sha256=kbyfjqeOgH5IgC0gYfoq79loFM1AeOCCYcsKimudZAg,3666
10
+ stores/indexes/remote_index.py,sha256=xl82SfroDWJxBLuuzK8lttTBSKL5cR8JjqR9J8zsAM8,3737
11
11
  stores/indexes/venv_utils.py,sha256=oN0LMQxeZQvVlkqsu3vrshaYaSmSDE-VOFSmMKc8QeI,18822
12
- stores-0.1.8.dev2.dist-info/METADATA,sha256=xsNHI0bP0mF7StNBmRniznrzUFFsiPMptKqSmO8pWko,3081
13
- stores-0.1.8.dev2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
14
- stores-0.1.8.dev2.dist-info/licenses/LICENSE,sha256=VTidYE7_Dam0Dwyq095EhhDIqi47g03oVpLAHQgKws0,1066
15
- stores-0.1.8.dev2.dist-info/RECORD,,
12
+ stores-0.1.8.dev3.dist-info/METADATA,sha256=51wSvaTiopV-3BxEsK64fPTkKoHdzaameqjMrJGB6Zo,3081
13
+ stores-0.1.8.dev3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
14
+ stores-0.1.8.dev3.dist-info/licenses/LICENSE,sha256=VTidYE7_Dam0Dwyq095EhhDIqi47g03oVpLAHQgKws0,1066
15
+ stores-0.1.8.dev3.dist-info/RECORD,,