From e3827ad998943673644b7a739cae76fb15965c5e Mon Sep 17 00:00:00 2001 From: Andreas Merkle Date: Thu, 5 Dec 2024 16:48:58 +0100 Subject: [PATCH 1/4] Bind pyproject.toml to package. --- pyproject.toml | 5 ++++- setup.cfg | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index e766b97..6476769 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "pySupersetCli" -version = "1.0.1" +version = "1.0.2" description = "CLI tool for easy usage of the Superset API." readme = "README.md" requires-python = ">=3.9" @@ -45,3 +45,6 @@ pySupersetCli = "pySupersetCli.__main__:main" pythonpath = [ "src" ] + +[tool.setuptools.package-data] +pySupersetCli = ["pyproject.toml"] diff --git a/setup.cfg b/setup.cfg index cc6a85b..5aeeb35 100644 --- a/setup.cfg +++ b/setup.cfg @@ -12,9 +12,9 @@ license_files = LICENSE classifiers = License :: OSI Approved :: BSD 3-Clause Operating System :: OS Independent - Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 + Programming Language :: Python :: 3.11 project_urls = Documentation = https://github.com/NewTec-GmbH/pySupersetCli Source = https://github.com/NewTec-GmbH/pySupersetCli From 1faf0d8bc2b6cb7e9781cd4baba4f4955943e6a7 Mon Sep 17 00:00:00 2001 From: Andreas Merkle Date: Thu, 5 Dec 2024 17:03:53 +0100 Subject: [PATCH 2/4] Use pylint v2.8.2 --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cfc8666..e0b8a2a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,7 +5,7 @@ on: push: branches: ["**"] pull_request: - branches: [main] + branches: [main]py release: # A release, pre-release, or draft of a release is published. types: [published] @@ -44,7 +44,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install pylint pytest pytest-cov toml + pip install pylint==2.8.2 pytest pytest-cov toml pip install . - name: Analysing the code with pylint @@ -100,7 +100,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install pylint pytest pytest-cov toml + pip install pylint==2.8.2 pytest pytest-cov toml pip install . - name: Create coverage report From b3286fa03e8960adf00c8ec279413ef79d57a4d3 Mon Sep 17 00:00:00 2001 From: Andreas Merkle Date: Mon, 9 Dec 2024 12:36:28 +0100 Subject: [PATCH 3/4] Typo fixed. --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e0b8a2a..cb9aa64 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,7 +5,7 @@ on: push: branches: ["**"] pull_request: - branches: [main]py + branches: [main] release: # A release, pre-release, or draft of a release is published. types: [published] From 4d809c153664df90e9b960c34d734ed2e7327c69 Mon Sep 17 00:00:00 2001 From: Andreas Merkle Date: Mon, 9 Dec 2024 12:38:55 +0100 Subject: [PATCH 4/4] Use pylint version which supports Python v3.11 --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cb9aa64..38cf2f0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -44,7 +44,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install pylint==2.8.2 pytest pytest-cov toml + pip install pylint==3.2.7 pytest pytest-cov toml pip install . - name: Analysing the code with pylint @@ -100,7 +100,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install pylint==2.8.2 pytest pytest-cov toml + pip install pylint==3.2.7 pytest pytest-cov toml pip install . - name: Create coverage report