diff --git a/.azure-pipelines/azure-pipelines-linux.yml b/.azure-pipelines/azure-pipelines-linux.yml index 875d996..1741648 100755 --- a/.azure-pipelines/azure-pipelines-linux.yml +++ b/.azure-pipelines/azure-pipelines-linux.yml @@ -11,7 +11,7 @@ jobs: linux_64_: CONFIG: linux_64_ UPLOAD_PACKAGES: 'True' - DOCKER_IMAGE: quay.io/condaforge/linux-anvil-cos7-x86_64 + DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9 timeoutInMinutes: 360 variables: {} diff --git a/.ci_support/linux_64_.yaml b/.ci_support/linux_64_.yaml index 82f2873..0da1c13 100644 --- a/.ci_support/linux_64_.yaml +++ b/.ci_support/linux_64_.yaml @@ -1,8 +1,8 @@ cdt_name: -- cos7 +- conda channel_sources: - conda-forge channel_targets: - conda-forge main docker_image: -- quay.io/condaforge/linux-anvil-cos7-x86_64 +- quay.io/condaforge/linux-anvil-x86_64:alma9 diff --git a/build-locally.py b/build-locally.py index 6788aea..c4a56c6 100755 --- a/build-locally.py +++ b/build-locally.py @@ -26,6 +26,13 @@ def setup_environment(ns): os.path.dirname(__file__), "miniforge3" ) + # The default cache location might not be writable using docker on macOS. + if ns.config.startswith("linux") and platform.system() == "Darwin": + os.environ["CONDA_FORGE_DOCKER_RUN_ARGS"] = ( + os.environ.get("CONDA_FORGE_DOCKER_RUN_ARGS", "") + + " -e RATTLER_CACHE_DIR=/tmp/rattler_cache" + ) + def run_docker_build(ns): script = ".scripts/run_docker_build.sh" diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 169adb1..e12ee53 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -1,13 +1,14 @@ {% set name = "gdptools" %} -{% set version = "0.2.13" %} +{% set version = "0.2.14" %} +{% set python_min = "3.9" %} package: name: {{ name|lower }} version: {{ version }} source: - url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/gdptools-{{ version }}.tar.gz - sha256: 77f49b44d174a4c174b6e0dabce3d7c20e7e9f12610d05183ff59b9ca20c0966 + url: https://pypi.org/packages/source/{{ name[0] }}/{{ name }}/gdptools-{{ version }}.tar.gz + sha256: 482f162396e2c499140fd94ab4633e5fcc7b18b93f385c289032992f26c7d4dc build: entry_points: @@ -18,7 +19,7 @@ build: requirements: host: - - python >=3.9,<=3.12 + - python {{ python_min }} - pip - poetry-core >=1.0.0 run: @@ -32,7 +33,7 @@ requirements: - tqdm >=4.66.2,<5.0.0 - statsmodels >=0.14.0,<0.15.0 - dask-core >=2024.7.1,<2025.0.0 - - python >=3.9,<=3.12 + - python >={{ python_min }} - fastparquet >=2024.2.0 - pyarrow <17.0.0 - dask-geopandas 0.4.1 @@ -72,6 +73,7 @@ test: # - pip check - gdptools --help requires: + - python {{ python_min }} - pip about: