From bf996a4fc404f56c8688893b1abece1f1b878aa7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edgar=20Ram=C3=ADrez=20Mondrag=C3=B3n?= <16805946+edgarrmondragon@users.noreply.github.com> Date: Thu, 7 Mar 2024 12:54:31 -0600 Subject: [PATCH] chore(templates): Bump cookiecutter dependencies (#2294) --- .../{{cookiecutter.mapper_id}}/.pre-commit-config.yaml | 4 ++-- .../{{cookiecutter.mapper_id}}/pyproject.toml | 4 ++-- .../{{cookiecutter.tap_id}}/.pre-commit-config.yaml | 4 ++-- .../tap-template/{{cookiecutter.tap_id}}/pyproject.toml | 6 ++++-- .../{{cookiecutter.target_id}}/.pre-commit-config.yaml | 4 ++-- .../{{cookiecutter.target_id}}/pyproject.toml | 2 +- 6 files changed, 13 insertions(+), 11 deletions(-) diff --git a/cookiecutter/mapper-template/{{cookiecutter.mapper_id}}/.pre-commit-config.yaml b/cookiecutter/mapper-template/{{cookiecutter.mapper_id}}/.pre-commit-config.yaml index 62f5ab41d..60c8e641a 100644 --- a/cookiecutter/mapper-template/{{cookiecutter.mapper_id}}/.pre-commit-config.yaml +++ b/cookiecutter/mapper-template/{{cookiecutter.mapper_id}}/.pre-commit-config.yaml @@ -14,13 +14,13 @@ repos: - id: trailing-whitespace - repo: https://github.com/python-jsonschema/check-jsonschema - rev: 0.27.3 + rev: 0.28.0 hooks: - id: check-dependabot - id: check-github-workflows - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.1.11 + rev: v0.3.1 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix, --show-fixes] diff --git a/cookiecutter/mapper-template/{{cookiecutter.mapper_id}}/pyproject.toml b/cookiecutter/mapper-template/{{cookiecutter.mapper_id}}/pyproject.toml index 69c120334..4f23ae802 100644 --- a/cookiecutter/mapper-template/{{cookiecutter.mapper_id}}/pyproject.toml +++ b/cookiecutter/mapper-template/{{cookiecutter.mapper_id}}/pyproject.toml @@ -42,7 +42,7 @@ singer-sdk = { version="~=0.36.0", extras = ["testing"] } s3 = ["fs-s3fs"] [tool.mypy] -python_version = "3.11" +python_version = "3.12" warn_unused_configs = true [tool.ruff] @@ -68,7 +68,7 @@ known-first-party = ["{{cookiecutter.library_name}}"] convention = "google" [build-system] -requires = ["poetry-core==1.8.1"] +requires = ["poetry-core==1.9.0"] build-backend = "poetry.core.masonry.api" [tool.poetry.scripts] diff --git a/cookiecutter/tap-template/{{cookiecutter.tap_id}}/.pre-commit-config.yaml b/cookiecutter/tap-template/{{cookiecutter.tap_id}}/.pre-commit-config.yaml index 640e62aa2..544451f9d 100644 --- a/cookiecutter/tap-template/{{cookiecutter.tap_id}}/.pre-commit-config.yaml +++ b/cookiecutter/tap-template/{{cookiecutter.tap_id}}/.pre-commit-config.yaml @@ -18,13 +18,13 @@ repos: - id: trailing-whitespace - repo: https://github.com/python-jsonschema/check-jsonschema - rev: 0.27.3 + rev: 0.28.0 hooks: - id: check-dependabot - id: check-github-workflows - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.1.14 + rev: v0.3.1 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix, --show-fixes] diff --git a/cookiecutter/tap-template/{{cookiecutter.tap_id}}/pyproject.toml b/cookiecutter/tap-template/{{cookiecutter.tap_id}}/pyproject.toml index b5aa2f849..47b325009 100644 --- a/cookiecutter/tap-template/{{cookiecutter.tap_id}}/pyproject.toml +++ b/cookiecutter/tap-template/{{cookiecutter.tap_id}}/pyproject.toml @@ -45,8 +45,10 @@ singer-sdk = { version="~=0.36.0", extras = ["testing"] } s3 = ["fs-s3fs"] [tool.mypy] -python_version = "3.11" +python_version = "3.12" warn_unused_configs = true +{#- TODO: Remove this after support for SQLAlchemy 1 is dropped in v1 -#} +{#- https://github.com/meltano/sdk/pull/1931 -#} {%- if cookiecutter.stream_type == 'SQL' %} plugins = "sqlmypy" {%- endif %} @@ -74,7 +76,7 @@ known-first-party = ["{{cookiecutter.library_name}}"] convention = "google" [build-system] -requires = ["poetry-core==1.8.1"] +requires = ["poetry-core==1.9.0"] build-backend = "poetry.core.masonry.api" [tool.poetry.scripts] diff --git a/cookiecutter/target-template/{{cookiecutter.target_id}}/.pre-commit-config.yaml b/cookiecutter/target-template/{{cookiecutter.target_id}}/.pre-commit-config.yaml index c89f290a1..d740e8a88 100644 --- a/cookiecutter/target-template/{{cookiecutter.target_id}}/.pre-commit-config.yaml +++ b/cookiecutter/target-template/{{cookiecutter.target_id}}/.pre-commit-config.yaml @@ -14,13 +14,13 @@ repos: - id: trailing-whitespace - repo: https://github.com/python-jsonschema/check-jsonschema - rev: 0.27.3 + rev: 0.28.0 hooks: - id: check-dependabot - id: check-github-workflows - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.1.11 + rev: v0.3.1 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix, --show-fixes] diff --git a/cookiecutter/target-template/{{cookiecutter.target_id}}/pyproject.toml b/cookiecutter/target-template/{{cookiecutter.target_id}}/pyproject.toml index fa1f79d77..1a562f3fe 100644 --- a/cookiecutter/target-template/{{cookiecutter.target_id}}/pyproject.toml +++ b/cookiecutter/target-template/{{cookiecutter.target_id}}/pyproject.toml @@ -66,7 +66,7 @@ known-first-party = ["{{cookiecutter.library_name}}"] convention = "google" [build-system] -requires = ["poetry-core==1.8.1"] +requires = ["poetry-core==1.9.0"] build-backend = "poetry.core.masonry.api" [tool.poetry.scripts]