From b5c468e4d1042b8f943cdb583ebc46387d6b60f6 Mon Sep 17 00:00:00 2001 From: kkaris Date: Fri, 16 Aug 2024 13:29:39 -0700 Subject: [PATCH 1/3] Allow to set AWS buckets in config --- depmap_analysis/util/aws.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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/' From e2c0e25134f871e6026f0763627368555351cb46 Mon Sep 17 00:00:00 2001 From: kkaris Date: Tue, 15 Apr 2025 14:03:18 -0700 Subject: [PATCH 2/3] Bump python --- setup.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = From 857bdd8584529f7901fa57c46c5b48d3631e915f Mon Sep 17 00:00:00 2001 From: kkaris Date: Tue, 15 Apr 2025 14:07:08 -0700 Subject: [PATCH 3/3] Bump and add upper python version for tests --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }}