diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d418b102..fd97c83e 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -9,7 +9,7 @@ jobs: strategy: matrix: os: [ ubuntu-latest ] - python-version: [ "3.7" ] + python-version: [ "3.9", "3.13" ] steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} diff --git a/depmap_analysis/util/aws.py b/depmap_analysis/util/aws.py index 5efd9e1e..dd463906 100644 --- a/depmap_analysis/util/aws.py +++ b/depmap_analysis/util/aws.py @@ -5,6 +5,7 @@ from typing import Union, Tuple, Any, Dict, Optional from operator import itemgetter +from indra.config import get_config from indra.util.aws import get_s3_file_tree, get_s3_client from indra_db.cli.dump import Sif, StatementHashMeshId @@ -12,9 +13,9 @@ logger = logging.getLogger(__name__) -DUMPS_BUCKET = 'bigmech' +DUMPS_BUCKET = get_config("DUMPS_BUCKET") or 'bigmech' DUMPS_PREFIX = 'indra-db/dumps/' -NET_BUCKET = 'depmap-analysis' +NET_BUCKET = get_config("NET_BUCKET") or 'depmap-analysis' NETS_PREFIX = 'graphs/' diff --git a/setup.cfg b/setup.cfg index 5a59ec3c..38afddae 100644 --- a/setup.cfg +++ b/setup.cfg @@ -11,7 +11,7 @@ install_requires = matplotlib include_package_data = True -python_requires = >=3.7 +python_requires = >=3.9 [options.extras_require] tests =