From 97ed3081d97fbd71bc56ca40549d071536bc999a Mon Sep 17 00:00:00 2001 From: malmans2 Date: Fri, 6 Dec 2024 16:21:37 +0100 Subject: [PATCH] template and environment update --- .cruft.json | 2 +- .pre-commit-config.yaml | 4 ++-- ci/environment-ci.yml | 3 +-- pyproject.toml | 2 +- 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.cruft.json b/.cruft.json index bfc4819..550cd4a 100644 --- a/.cruft.json +++ b/.cruft.json @@ -1,6 +1,6 @@ { "template": "https://github.com/ecmwf-projects/cookiecutter-conda-package", - "commit": "3b3ac4ab7d8039431b21fec307a590e995c83dfa", + "commit": "417fac4d0a702b6e6271b293216f8391c64e4681", "checkout": null, "context": { "cookiecutter": { diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8d7288b..dabd706 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -17,13 +17,13 @@ repos: - id: blackdoc additional_dependencies: [black==23.11.0] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.7.3 + rev: v0.8.1 hooks: - id: ruff args: [--fix, --show-fixes] - id: ruff-format - repo: https://github.com/executablebooks/mdformat - rev: 0.7.18 + rev: 0.7.19 hooks: - id: mdformat - repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks diff --git a/ci/environment-ci.yml b/ci/environment-ci.yml index cf79229..c9f992f 100644 --- a/ci/environment-ci.yml +++ b/ci/environment-ci.yml @@ -14,8 +14,7 @@ dependencies: - sphinx - sphinx-autoapi # DO NOT EDIT ABOVE THIS LINE, ADD DEPENDENCIES BELOW +- cdsapi >= 0.7.5 - types-requests - pip: - responses -# FIXME! - - git+https://github.com/ecmwf/cdsapi.git diff --git a/pyproject.toml b/pyproject.toml index 05a524f..a1bb518 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -32,7 +32,7 @@ readme = "README.md" requires-python = ">=3.8" [project.optional-dependencies] -legacy = ["cdsapi"] +legacy = ["cdsapi >= 0.7.5"] [project.urls] documentation = "https://ecmwf-projects.github.io/datapi/"