From cc186f70550d6ea4f101363ee2e1e38ce81322c2 Mon Sep 17 00:00:00 2001 From: Ryan Barrett Date: Tue, 25 Jul 2023 13:08:52 -0700 Subject: [PATCH] pin typing-extensions to <4.6 for compatibility with multiformats https://github.com/hashberg-io/typing-validation/issues/1 --- .circleci/config.yml | 2 +- arroba/tests/test_datastore_storage.py | 2 ++ pyproject.toml | 3 --- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 708f7e8..c5ea2f8 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -21,7 +21,7 @@ jobs: command: | pip install -U pip pip -V - pip install -U .[datastore,tests] + pip install -U .[datastore,tests] 'typing-extensions<4.6.0' pip install coverage coveralls - run: diff --git a/arroba/tests/test_datastore_storage.py b/arroba/tests/test_datastore_storage.py index d6fee12..ff1050f 100644 --- a/arroba/tests/test_datastore_storage.py +++ b/arroba/tests/test_datastore_storage.py @@ -10,6 +10,8 @@ from .testutil import TestCase os.environ.setdefault('DATASTORE_EMULATOR_HOST', 'localhost:8089') +os.environ['GOOGLE_APPLICATION_CREDENTIALS'] = os.path.join( + os.path.dirname(__file__), 'fake_user_account.json') class DatastoreStorageTest(TestCase): diff --git a/pyproject.toml b/pyproject.toml index c169494..3b122b4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -40,6 +40,3 @@ datastore = [ [project.urls] 'Homepage' = 'https://github.com/snarfed/arroba' 'Documentation' = 'https://arroba.readthedocs.io/' - -# TODO: -# extras deps: google-cloud-ndb~=2.0