diff --git a/pyproject.toml b/pyproject.toml index bec0424ac..bb4dc6f37 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -90,6 +90,7 @@ dependencies = [ "rich-click>=1.7.0,<1.8.0", "ruamel.yaml>=0.18.0,<0.19.0", "sortedcontainers>=2.4.0", + "SQLAlchemy>=2.0.20", "stevedore>=5.0.0,<6.0.0", "structlog>=21.5.0", "tzlocal>=2.1,<6.0", diff --git a/src/kiara/registries/__init__.py b/src/kiara/registries/__init__.py index e39e97c54..2bf62b312 100644 --- a/src/kiara/registries/__init__.py +++ b/src/kiara/registries/__init__.py @@ -391,14 +391,11 @@ def create_new_store_config( archive_path = os.path.abspath(os.path.join(store_base_path, file_name)) - import sqlite3 - - print("xxx") - print(archive_path) - if not os.path.exists(archive_path): Path(archive_path).parent.mkdir(exist_ok=True, parents=True) + import sqlite3 + conn = sqlite3.connect(archive_path) # Create a cursor object