Skip to content

Commit ab7e19f

Browse files
authored
chore(pyproject): cleaning unused dependencies (#217)
1 parent 096d27b commit ab7e19f

3 files changed

Lines changed: 5 additions & 25 deletions

File tree

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- checkout
3434
- run:
3535
name: install dependencies
36-
command: pip3 install --user .
36+
command: pip3 install --user '.[dev]'
3737
- run:
3838
name: run tests
3939
command: python -m pytest

pyoaev/backends/protocol.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,9 @@
11
import abc
2-
import sys
3-
from typing import Any, Dict, Optional, Union
2+
from typing import Any, Dict, Optional, Protocol, Union
43

54
import requests
65
from requests_toolbelt.multipart.encoder import MultipartEncoder # type: ignore
76

8-
if sys.version_info >= (3, 8):
9-
from typing import Protocol
10-
else:
11-
from typing_extensions import Protocol
12-
137

148
class BackendResponse(Protocol):
159
@abc.abstractmethod

pyproject.toml

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -25,41 +25,27 @@ classifiers = [
2525
"Topic :: Software Development :: Libraries :: Python Modules"
2626
]
2727
dependencies = [
28-
"datefinder (>=0.7.3,<0.8)",
2928
"pika (>=1.3.0,<1.4.0)",
30-
"python-magic (>=0.4.27,<0.5); sys_platform == 'linux' or sys_platform == 'darwin'",
31-
"python-magic-bin (>=0.4.14,<0.5); sys_platform == 'win32'",
3229
"python_json_logger (>=3.3.0,<3.4.0)",
3330
"PyYAML (>=6.0,<6.1)",
3431
"pydantic (>=2.13.3,<2.14.0)",
3532
"pydantic-settings (>=2.14.0,<2.15.0)",
3633
"requests (>=2.33.0,<2.34.0)",
37-
"setuptools (>=82.0.1,<82.1.0)",
38-
"cachetools (>=5.5.0,<5.6.0)",
39-
"prometheus-client (>=0.22.1,<0.23.0)",
40-
"opentelemetry-api (>=1.35.0,<1.36.0)",
41-
"opentelemetry-sdk (>=1.35.0,<1.36.0)",
42-
# OpenAEV,
4334
"requests-toolbelt (>=1.0.0,<1.1.0)",
44-
"dataclasses-json (>=0.6.4,<0.7.0)",
4535
"thefuzz (>=0.22,<0.23)",
46-
# Ugly fix, we need to fix the CI to use: [dev]
47-
"pytest (>=9.0.0,<9.1.0)",
48-
"pytest-bdd (>=8.1.0, <8.2.0)",
4936
]
5037

5138
[project.optional-dependencies]
5239
dev = [
5340
"black (>=26.3.1,<26.4.0)",
5441
"build (>=1.4.4,<1.5.0)",
42+
"coverage>=7.13.5",
5543
"isort (>=8.0.1,<8.1.0)",
56-
"types-pytz (>=2025.2.0.20250326,<2025.3.0.0)",
5744
"pre-commit (>=4.6.0,<4.7.0)",
58-
"types-python-dateutil (>=2.9.0,<2.10.0)",
59-
"wheel (>=0.47.0,<0.48.0)",
60-
"coverage>=7.13.5",
6145
"pytest (>=9.0.0,<9.1.0)",
6246
"pytest-bdd (>=8.1.0, <8.2.0)",
47+
"setuptools (>=82.0.1,<82.1.0)",
48+
"wheel (>=0.47.0,<0.48.0)",
6349
]
6450
doc = [
6551
"autoapi (>=2.0.1,<2.1.0)",

0 commit comments

Comments
 (0)