From 8c2b1fac54a40d6fc07ba0672386650c666132f5 Mon Sep 17 00:00:00 2001 From: guzmud Date: Mon, 27 Jul 2026 15:41:41 +0200 Subject: [PATCH 1/4] chore(pyproject): deleting unused dependencies, reordering used ones (#217) --- pyproject.toml | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 9c376a8..8f82b33 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,23 +25,14 @@ classifiers = [ "Topic :: Software Development :: Libraries :: Python Modules" ] dependencies = [ - "datefinder (>=0.7.3,<0.8)", "pika (>=1.3.0,<1.4.0)", - "python-magic (>=0.4.27,<0.5); sys_platform == 'linux' or sys_platform == 'darwin'", - "python-magic-bin (>=0.4.14,<0.5); sys_platform == 'win32'", "python_json_logger (>=3.3.0,<3.4.0)", "PyYAML (>=6.0,<6.1)", "pydantic (>=2.13.3,<2.14.0)", "pydantic-settings (>=2.14.0,<2.15.0)", "requests (>=2.33.0,<2.34.0)", - "setuptools (>=82.0.1,<82.1.0)", - "cachetools (>=5.5.0,<5.6.0)", - "prometheus-client (>=0.22.1,<0.23.0)", - "opentelemetry-api (>=1.35.0,<1.36.0)", - "opentelemetry-sdk (>=1.35.0,<1.36.0)", # OpenAEV, "requests-toolbelt (>=1.0.0,<1.1.0)", - "dataclasses-json (>=0.6.4,<0.7.0)", "thefuzz (>=0.22,<0.23)", # Ugly fix, we need to fix the CI to use: [dev] "pytest (>=9.0.0,<9.1.0)", @@ -52,14 +43,15 @@ dependencies = [ dev = [ "black (>=26.3.1,<26.4.0)", "build (>=1.4.4,<1.5.0)", + "coverage>=7.13.5", "isort (>=8.0.1,<8.1.0)", - "types-pytz (>=2025.2.0.20250326,<2025.3.0.0)", "pre-commit (>=4.6.0,<4.7.0)", - "types-python-dateutil (>=2.9.0,<2.10.0)", - "wheel (>=0.47.0,<0.48.0)", - "coverage>=7.13.5", "pytest (>=9.0.0,<9.1.0)", "pytest-bdd (>=8.1.0, <8.2.0)", + "setuptools (>=82.0.1,<82.1.0)", + "types-python-dateutil (>=2.9.0,<2.10.0)", + "types-pytz (>=2025.2.0.20250326,<2025.3.0.0)", + "wheel (>=0.47.0,<0.48.0)", ] doc = [ "autoapi (>=2.0.1,<2.1.0)", From fd53da92ceeae68e58e84e4c1e99388e778c41a2 Mon Sep 17 00:00:00 2001 From: guzmud Date: Mon, 27 Jul 2026 15:48:35 +0200 Subject: [PATCH 2/4] refactor(pyoaev): deleting unused retro-compatibility (#217) Dependency was a transitive one + pyproject points out 3.11 as min version --- pyoaev/backends/protocol.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/pyoaev/backends/protocol.py b/pyoaev/backends/protocol.py index 72cee22..f8a1e0f 100644 --- a/pyoaev/backends/protocol.py +++ b/pyoaev/backends/protocol.py @@ -1,15 +1,9 @@ import abc -import sys -from typing import Any, Dict, Optional, Union +from typing import Any, Dict, Optional, Protocol, Union import requests from requests_toolbelt.multipart.encoder import MultipartEncoder # type: ignore -if sys.version_info >= (3, 8): - from typing import Protocol -else: - from typing_extensions import Protocol - class BackendResponse(Protocol): @abc.abstractmethod From 69892c3cffa6574d820a72f8326b984356897559 Mon Sep 17 00:00:00 2001 From: guzmud Date: Tue, 28 Jul 2026 09:08:40 +0200 Subject: [PATCH 3/4] ci(test): using dev requirements in circleci (#217) --- .circleci/config.yml | 2 +- pyproject.toml | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 1d86e80..955b6c6 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -33,7 +33,7 @@ jobs: - checkout - run: name: install dependencies - command: pip3 install --user . + command: pip3 install --user '.[dev]' - run: name: run tests command: python -m pytest diff --git a/pyproject.toml b/pyproject.toml index 8f82b33..4d4eb1c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -31,12 +31,8 @@ dependencies = [ "pydantic (>=2.13.3,<2.14.0)", "pydantic-settings (>=2.14.0,<2.15.0)", "requests (>=2.33.0,<2.34.0)", - # OpenAEV, "requests-toolbelt (>=1.0.0,<1.1.0)", "thefuzz (>=0.22,<0.23)", - # Ugly fix, we need to fix the CI to use: [dev] - "pytest (>=9.0.0,<9.1.0)", - "pytest-bdd (>=8.1.0, <8.2.0)", ] [project.optional-dependencies] From d388baba3a43c46378fa37ba45724e5d3142d66a Mon Sep 17 00:00:00 2001 From: guzmud Date: Tue, 28 Jul 2026 09:16:04 +0200 Subject: [PATCH 4/4] chore(pyproject): deleting unused typing extensions from dev dependencies (#217) --- pyproject.toml | 2 -- 1 file changed, 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 4d4eb1c..9fe7adb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -45,8 +45,6 @@ dev = [ "pytest (>=9.0.0,<9.1.0)", "pytest-bdd (>=8.1.0, <8.2.0)", "setuptools (>=82.0.1,<82.1.0)", - "types-python-dateutil (>=2.9.0,<2.10.0)", - "types-pytz (>=2025.2.0.20250326,<2025.3.0.0)", "wheel (>=0.47.0,<0.48.0)", ] doc = [