stores 0.1.8.dev2__tar.gz → 0.1.8.dev3__tar.gz
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.
- {stores-0.1.8.dev2 → stores-0.1.8.dev3}/PKG-INFO +1 -1
- {stores-0.1.8.dev2 → stores-0.1.8.dev3}/pyproject.toml +1 -1
- {stores-0.1.8.dev2 → stores-0.1.8.dev3}/stores/indexes/remote_index.py +5 -1
- {stores-0.1.8.dev2 → stores-0.1.8.dev3}/uv.lock +1 -1
- {stores-0.1.8.dev2 → stores-0.1.8.dev3}/.gitignore +0 -0
- {stores-0.1.8.dev2 → stores-0.1.8.dev3}/.python-version +0 -0
- {stores-0.1.8.dev2 → stores-0.1.8.dev3}/LICENSE +0 -0
- {stores-0.1.8.dev2 → stores-0.1.8.dev3}/README.md +0 -0
- {stores-0.1.8.dev2 → stores-0.1.8.dev3}/examples/README.md +0 -0
- {stores-0.1.8.dev2 → stores-0.1.8.dev3}/examples/quickstarts/anthropic_api.py +0 -0
- {stores-0.1.8.dev2 → stores-0.1.8.dev3}/examples/quickstarts/google_gemini_auto_call.py +0 -0
- {stores-0.1.8.dev2 → stores-0.1.8.dev3}/examples/quickstarts/google_gemini_manual_call.py +0 -0
- {stores-0.1.8.dev2 → stores-0.1.8.dev3}/examples/quickstarts/langchain_w_tool_calling.py +0 -0
- {stores-0.1.8.dev2 → stores-0.1.8.dev3}/examples/quickstarts/langgraph_agent.py +0 -0
- {stores-0.1.8.dev2 → stores-0.1.8.dev3}/examples/quickstarts/litellm_w_tool_calling.py +0 -0
- {stores-0.1.8.dev2 → stores-0.1.8.dev3}/examples/quickstarts/llamaindex_agent.py +0 -0
- {stores-0.1.8.dev2 → stores-0.1.8.dev3}/examples/quickstarts/openai_agent.py +0 -0
- {stores-0.1.8.dev2 → stores-0.1.8.dev3}/examples/quickstarts/openai_chat_completions.py +0 -0
- {stores-0.1.8.dev2 → stores-0.1.8.dev3}/examples/quickstarts/openai_responses.py +0 -0
- {stores-0.1.8.dev2 → stores-0.1.8.dev3}/local_generator.py +0 -0
- {stores-0.1.8.dev2 → stores-0.1.8.dev3}/run_browser_use.py +0 -0
- {stores-0.1.8.dev2 → stores-0.1.8.dev3}/run_remote_tool.py +0 -0
- {stores-0.1.8.dev2 → stores-0.1.8.dev3}/run_sandbox.py +0 -0
- {stores-0.1.8.dev2 → stores-0.1.8.dev3}/stores/__init__.py +0 -0
- {stores-0.1.8.dev2 → stores-0.1.8.dev3}/stores/constants.py +0 -0
- {stores-0.1.8.dev2 → stores-0.1.8.dev3}/stores/format.py +0 -0
- {stores-0.1.8.dev2 → stores-0.1.8.dev3}/stores/indexes/__init__.py +0 -0
- {stores-0.1.8.dev2 → stores-0.1.8.dev3}/stores/indexes/base_index.py +0 -0
- {stores-0.1.8.dev2 → stores-0.1.8.dev3}/stores/indexes/index.py +0 -0
- {stores-0.1.8.dev2 → stores-0.1.8.dev3}/stores/indexes/local_index.py +0 -0
- {stores-0.1.8.dev2 → stores-0.1.8.dev3}/stores/indexes/venv_utils.py +0 -0
- {stores-0.1.8.dev2 → stores-0.1.8.dev3}/stores/parse.py +0 -0
- {stores-0.1.8.dev2 → stores-0.1.8.dev3}/stores/utils.py +0 -0
- {stores-0.1.8.dev2 → stores-0.1.8.dev3}/tests/README.md +0 -0
- {stores-0.1.8.dev2 → stores-0.1.8.dev3}/tests/mock_index/hello/__init__.py +0 -0
- {stores-0.1.8.dev2 → stores-0.1.8.dev3}/tests/mock_index/tools.py +0 -0
- {stores-0.1.8.dev2 → stores-0.1.8.dev3}/tests/mock_index/tools.toml +0 -0
- {stores-0.1.8.dev2 → stores-0.1.8.dev3}/tests/mock_index_custom_class/foo.py +0 -0
- {stores-0.1.8.dev2 → stores-0.1.8.dev3}/tests/mock_index_custom_class/tools.toml +0 -0
- {stores-0.1.8.dev2 → stores-0.1.8.dev3}/tests/mock_index_function_error/foo.py +0 -0
- {stores-0.1.8.dev2 → stores-0.1.8.dev3}/tests/mock_index_function_error/tools.toml +0 -0
- {stores-0.1.8.dev2 → stores-0.1.8.dev3}/tests/mock_index_w_deps/mock_index/__init__.py +0 -0
- {stores-0.1.8.dev2 → stores-0.1.8.dev3}/tests/mock_index_w_deps/pyproject.toml +0 -0
- {stores-0.1.8.dev2 → stores-0.1.8.dev3}/tests/mock_index_w_deps/requirements.txt +0 -0
- {stores-0.1.8.dev2 → stores-0.1.8.dev3}/tests/mock_index_w_deps/tools.toml +0 -0
- {stores-0.1.8.dev2 → stores-0.1.8.dev3}/tests/test_format/conftest.py +0 -0
- {stores-0.1.8.dev2 → stores-0.1.8.dev3}/tests/test_format/test_format.py +0 -0
- {stores-0.1.8.dev2 → stores-0.1.8.dev3}/tests/test_indexes/conftest.py +0 -0
- {stores-0.1.8.dev2 → stores-0.1.8.dev3}/tests/test_indexes/test_base_index.py +0 -0
- {stores-0.1.8.dev2 → stores-0.1.8.dev3}/tests/test_indexes/test_index.py +0 -0
- {stores-0.1.8.dev2 → stores-0.1.8.dev3}/tests/test_indexes/test_local_index.py +0 -0
- {stores-0.1.8.dev2 → stores-0.1.8.dev3}/tests/test_indexes/test_remote_index.py +0 -0
- {stores-0.1.8.dev2 → stores-0.1.8.dev3}/tests/test_indexes/test_venv_utils.py +0 -0
- {stores-0.1.8.dev2 → stores-0.1.8.dev3}/tests/test_parse/conftest.py +0 -0
- {stores-0.1.8.dev2 → stores-0.1.8.dev3}/tests/test_parse/test_parse.py +0 -0
@@ -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 = (
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|