From 8a350c98fcf5fdd5d5cf6508e4ef1394cfb84edd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Do=C4=9Fukan=20=C3=87a=C4=9Fatay?= Date: Thu, 30 Oct 2025 23:36:57 +0100 Subject: [PATCH 1/2] client: remove unused dependencies from build configuration - Remove `PyMySQL` from Makefile fedora dependencies - Remove explicit `BuildRequires` from spec file (auto-generated by `%pyproject_buildrequires`) - Remove unused `click` from dev dependencies in `pyproject.toml` --- Makefile | 1 - aiven-client.spec | 8 -------- pyproject.toml | 1 - 3 files changed, 10 deletions(-) diff --git a/Makefile b/Makefile index 771a293d..4defd11d 100644 --- a/Makefile +++ b/Makefile @@ -52,7 +52,6 @@ build-dep-fedora: python3-certifi \ python3-hatch-vcs \ python3-hatchling \ - python3-PyMySQL \ python3-wheel \ python3-flake8 \ python3-isort \ diff --git a/aiven-client.spec b/aiven-client.spec index 7e30273c..93f61f96 100644 --- a/aiven-client.spec +++ b/aiven-client.spec @@ -9,15 +9,7 @@ Summary: Aiven Client License: ASL 2.0 BuildArch: noarch BuildRequires: python3-devel -BuildRequires: python3dist(wheel) -BuildRequires: python3dist(hatchling) -BuildRequires: python3dist(hatch-vcs) -BuildRequires: python3dist(flake8) -BuildRequires: python3dist(mypy) BuildRequires: python3dist(pytest) -BuildRequires: python3dist(requests) -BuildRequires: python3dist(pymysql) -BuildRequires: python3dist(certifi) %description diff --git a/pyproject.toml b/pyproject.toml index a4d4d6a4..4802204d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -46,7 +46,6 @@ dev = [ "pytest", # Lock isort to the same major version used in downstream build environments "isort>=6.1.0,<7.0", - "click", "ruff", ] From cbed6a3f785dd5627598854c017aa5e5dd4310d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Do=C4=9Fukan=20=C3=87a=C4=9Fatay?= Date: Thu, 30 Oct 2025 23:42:04 +0100 Subject: [PATCH 2/2] client: add ruff to fedora dependencies --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 4defd11d..3f07d43a 100644 --- a/Makefile +++ b/Makefile @@ -62,6 +62,7 @@ build-dep-fedora: python3-types-requests \ python3-setuptools_scm \ rpmdevtools \ + ruff \ tar rpm: