From 1ed57af7caf09245f4323bdc4e8d632199c6a599 Mon Sep 17 00:00:00 2001 From: ptiurin Date: Thu, 5 Sep 2024 17:55:20 +0100 Subject: [PATCH 1/3] chore(FIR-34713): Add missing classifiers to setup.cfg --- setup.cfg | 3 +++ 1 file changed, 3 insertions(+) diff --git a/setup.cfg b/setup.cfg index 25f3e14f..34ffe117 100644 --- a/setup.cfg +++ b/setup.cfg @@ -16,6 +16,9 @@ classifiers = Programming Language :: Python :: 3 :: Only Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 + Programming Language :: Python :: 3.10 + Programming Language :: Python :: 3.11 + Programming Language :: Python :: 3.12 project_urls = Bug Tracker = https://github.com/firebolt-db/dbt-firebolt/issues From 9fbd1ab5abe7cfb33f80fec074dedcb94ec852d0 Mon Sep 17 00:00:00 2001 From: ptiurin Date: Thu, 5 Sep 2024 18:10:43 +0100 Subject: [PATCH 2/3] Make sure pre-commit is compatible --- .pre-commit-config.yaml | 4 +++- setup.cfg | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 10a6eb08..1c5a0b4c 100755 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -6,9 +6,11 @@ repos: - id: check-merge-conflict - repo: https://github.com/asottile/setup-cfg-fmt - rev: v1.17.0 + rev: v2.5.0 hooks: - id: setup-cfg-fmt + args: + - --include-version-classifiers - repo: https://github.com/myint/autoflake rev: v1.4 diff --git a/setup.cfg b/setup.cfg index 34ffe117..a3d42583 100644 --- a/setup.cfg +++ b/setup.cfg @@ -8,7 +8,7 @@ url = https://github.com/firebolt-db/dbt-firebolt author = Firebolt author_email = support@firebolt.io license = Apache-2.0 -license_file = LICENSE +license_files = LICENSE classifiers = License :: OSI Approved :: Apache Software License Operating System :: OS Independent @@ -43,7 +43,7 @@ dev = allure-pytest==2.* dbt-tests-adapter~=1.6 mypy==1.4.1 - pre-commit==2.15.0 + pre-commit==3.8.0 pytest==7.* [black] From a29c017dcb0f7aa16fa823ed4c02e884c48b7d0c Mon Sep 17 00:00:00 2001 From: ptiurin Date: Thu, 5 Sep 2024 18:12:30 +0100 Subject: [PATCH 3/3] use latest python 3.8 compatible version --- setup.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index a3d42583..d2cb2f6c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -43,7 +43,7 @@ dev = allure-pytest==2.* dbt-tests-adapter~=1.6 mypy==1.4.1 - pre-commit==3.8.0 + pre-commit==3.5.0 pytest==7.* [black]