diff --git a/.cruft.json b/.cruft.json index 867f116..c9a8cae 100644 --- a/.cruft.json +++ b/.cruft.json @@ -1,6 +1,6 @@ { "template": "https://github.com/ecmwf-projects/cookiecutter-conda-package", - "commit": "59c6471bda34e48214cdcf5905590fb5a96507ad", + "commit": "c6665306749b5dd3b4ec0fdcf1cb31d18fe23511", "checkout": null, "context": { "cookiecutter": { diff --git a/.github/workflows/on-push.yml b/.github/workflows/on-push.yml index f497fce..b02adbd 100644 --- a/.github/workflows/on-push.yml +++ b/.github/workflows/on-push.yml @@ -55,7 +55,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.10', '3.11'] + python-version: ['3.11'] steps: - uses: actions/checkout@v4 @@ -103,7 +103,7 @@ jobs: cache-environment-key: environment-${{ steps.date.outputs.date }} cache-downloads-key: downloads-${{ steps.date.outputs.date }} create-args: >- - python=3.10 + python=3.11 - name: Install package run: | python -m pip install --no-deps -e . @@ -132,7 +132,7 @@ jobs: cache-environment-key: environment-${{ steps.date.outputs.date }} cache-downloads-key: downloads-${{ steps.date.outputs.date }} create-args: >- - python=3.10 + python=3.11 - name: Install package run: | python -m pip install --no-deps -e . @@ -148,7 +148,7 @@ jobs: strategy: matrix: - python-version: ['3.8', '3.9'] + python-version: ['3.8', '3.9', '3.10'] extra: ['-ci'] steps: @@ -190,7 +190,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: - python-version: 3.x + python-version: '3.11' - name: Install package run: | python -m pip install --upgrade pip @@ -229,6 +229,6 @@ jobs: with: name: distribution path: dist - - uses: pypa/gh-action-pypi-publish@v1.8.10 + - uses: pypa/gh-action-pypi-publish@v1.8.11 with: verbose: true diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 229e6d3..a831ff0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -17,7 +17,7 @@ repos: - id: blackdoc additional_dependencies: [black==23.11.0] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.1.5 + rev: v0.1.6 hooks: - id: ruff args: [--fix, --show-fixes] @@ -34,6 +34,6 @@ repos: - id: pretty-format-toml args: [--autofix] - repo: https://github.com/gitleaks/gitleaks - rev: v8.18.0 + rev: v8.18.1 hooks: - id: gitleaks diff --git a/Dockerfile b/Dockerfile index 816126c..5512225 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ WORKDIR /src/cads-api-client COPY environment.yml /src/cads-api-client/ -RUN conda install -c conda-forge gcc python=3.10 \ +RUN conda install -c conda-forge gcc python=3.11 \ && conda env update -n base -f environment.yml COPY . /src/cads-api-client diff --git a/README.md b/README.md index ea67f9c..0d0a200 100644 --- a/README.md +++ b/README.md @@ -51,10 +51,10 @@ datetime.datetime(2022, 7, 20, 23, 0) ## Workflow for developers/contributors -For best experience create a new conda environment (e.g. DEVELOP) with Python 3.10: +For best experience create a new conda environment (e.g. DEVELOP) with Python 3.11: ``` -conda create -n DEVELOP -c conda-forge python=3.10 +conda create -n DEVELOP -c conda-forge python=3.11 conda activate DEVELOP ``` diff --git a/pyproject.toml b/pyproject.toml index c1e36f0..d09eb88 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,6 +9,8 @@ classifiers = [ "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Topic :: Scientific/Engineering"