From 99ae850c09bedbc7400fb705b408ac5880860a1d Mon Sep 17 00:00:00 2001 From: ptiurin Date: Thu, 5 Sep 2024 18:22:20 +0100 Subject: [PATCH 1/2] chore(FIR-34713): Add missing classifiers to setup.cfg --- .pre-commit-config.yaml | 4 +++- setup.cfg | 10 ++++++---- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index bf0ddea..b71ee31 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 bbf9068..2da80cf 100644 --- a/setup.cfg +++ b/setup.cfg @@ -8,16 +8,18 @@ url = https://github.com/firebolt-db/firebolt-sqlalchemy author = Firebolt author_email = pypi@firebolt.io license = Apache-2.0 -license_file = LICENSE +license_files = LICENSE classifiers = License :: OSI Approved :: Apache Software License License :: OSI Approved :: MIT License Operating System :: OS Independent Programming Language :: Python :: 3 Programming Language :: Python :: 3 :: Only - Programming Language :: Python :: 3.7 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 download_url = https://github.com/firebolt-db/firebolt-sqlalchemy/archive/refs/tags/0.0.9.tar.gz project_urls = Bug Tracker = https://github.com/firebolt-db/firebolt-sqlalchemy @@ -27,7 +29,7 @@ packages = find: install_requires = firebolt-sdk>=1.5.0 sqlalchemy>=1.0.0 -python_requires = >=3.7 +python_requires = >=3.8 package_dir = = src @@ -46,7 +48,7 @@ dev = greenlet==2.0.2 mock==4.0.3 mypy==0.910 - pre-commit==2.15.0 + pre-commit==3.5.0 pytest==7.2.0 pytest-cov==3.0.0 pytest-trio==0.8.0 From 646ac774c5b4584a9672f44eabb38b919541aab4 Mon Sep 17 00:00:00 2001 From: ptiurin Date: Thu, 5 Sep 2024 18:36:07 +0100 Subject: [PATCH 2/2] fix upload artefact --- .github/workflows/unit-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index f8f660b..cf4169d 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -39,7 +39,7 @@ jobs: pytest --cov=src/ tests/unit --cov-report=xml - name: Upload coverage report - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: pytest-coverage-report path: coverage.xml