Skip to content

Commit 25e8a39

Browse files
chore: sync pyproject.toml with uv.lock versions and add --upgrade to installs
1 parent ab882a7 commit 25e8a39

3 files changed

Lines changed: 485 additions & 316 deletions

File tree

Makefile

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,20 +32,27 @@ setup: ## Setup project pre-requisites
3232
.PHONY: install
3333
install: ## Install project dependencies
3434
@echo "${BLUE}Installing project dependencies...${NC}"
35-
$(UV) sync --extra dev
35+
$(UV) sync --extra dev --upgrade
3636
$(PRE_COMMIT) install
3737

3838
.PHONY: install-dev
3939
install-dev: ## Install project dependencies with dev extras
4040
@echo "${BLUE}Installing project dependencies with dev extras...${NC}"
41-
$(UV) sync --all-extras --all-groups
41+
$(UV) sync --all-extras --all-groups --upgrade
4242
$(PRE_COMMIT) install
4343

4444
.PHONY: update
4545
update: ## Update dependencies to their latest versions
4646
@echo "${BLUE}Updating dependencies...${NC}"
4747
$(UV) lock --upgrade
4848

49+
.PHONY: update-all
50+
update-all: ## Aggressively update all dependencies to latest versions
51+
@echo "${BLUE}Aggressively updating all dependencies...${NC}"
52+
@echo "${YELLOW}Note: This updates uv.lock; to change pyproject.toml constraints, edit manually${NC}"
53+
$(UV) lock --upgrade
54+
$(UV) sync --all-extras --all-groups --upgrade
55+
4956
.PHONY: clean
5057
clean: ## Remove build artifacts and cache directories
5158
@echo "${BLUE}Cleaning project...${NC}"

pyproject.toml

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -9,41 +9,41 @@ readme = "README.md"
99
version = "0.1.0" # This vesrion set on publish flow!
1010
requires-python = ">=3.13,<4"
1111
dependencies = [
12-
"pydantic>=2.11.9",
12+
"pydantic>=2.11.10",
1313
"pydantic-settings>=2.11.0",
14-
"requests (>=2.32.4,<3.0.0)",
15-
"jdatetime (>=5.2.0,<6.0.0)",
14+
"requests>=2.32.5",
15+
"jdatetime>=5.2.0",
1616
]
1717
license = { file = "LICENSE" }
1818

1919
[project.optional-dependencies]
2020
# Core optional dependencies
21-
aiosqlite = ["aiosqlite (>=0.21.0)"]
22-
behave = ["behave (>=1.3.3)"]
23-
cache = ["cachetools (>=5.5.2,<6.0.0)", "async-lru (>=2.0.5,<3.0.0)"]
24-
dependency-injection = ["dependency-injector (>=4.48.2)"]
25-
elastic-apm = ["elastic-apm (>=6.23.0)"]
26-
elasticsearch = ["elasticsearch (>=9.1.1,<10.0.0)"]
27-
elasticsearch-async = ["elasticsearch[async] (>=9.0.2,<10.0.0)"]
28-
fakeredis = ["fakeredis (>=2.31.3,<3.0.0)"]
29-
fastapi = ["fastapi[all] (>=0.118.0)"]
30-
grpc = ["grpcio (>=1.75.1)", "grpcio-health-checking (>=1.75.1)", "protobuf (>=6.32.1)"]
31-
jwt = ["pyjwt (>=2.10.1)"]
32-
kafka = ["confluent-kafka (>=2.11.0,<3.0.0)"]
33-
kavenegar = ["kavenegar (>=1.1.2)"]
34-
keycloak = ["python-keycloak (>=5.7.0,<6.0.0)", "cachetools (>=5.5.2,<6.0.0)", "async-lru (>=2.0.5,<3.0.0)"]
35-
minio = ["minio (>=7.2.18,<8.0.0)", "cachetools (>=5.5.2,<6.0.0)", "async-lru (>=2.0.5,<3.0.0)"]
36-
parsian-ipg = ["zeep (>=4.3.2,<5.0.0)", "requests[socks] (>=2.32.4,<3.0.0)"]
37-
postgres = ["psycopg[binary,pool] (>=3.2.10)"]
38-
prometheus = ["prometheus-client (>=0.23.1)"]
39-
redis = ["redis[hiredis] (>=6.2.0)"]
40-
scheduler = ["apscheduler (>=3.11.0)"]
41-
sentry = ["sentry-sdk (>=2.39.0)"]
42-
sqlalchemy = ["sqlalchemy (>=2.0.41)"]
43-
starrocks = ["starrocks (>=1.2.3,<2.0.0)", "pymysql (>=1.1.2,<2.0.0)"]
44-
starrocks-async = ["starrocks (>=1.2.2,<2.0.0)", "aiomysql (>=0.2.0,<0.3.0)"]
21+
aiosqlite = ["aiosqlite>=0.21.0"]
22+
behave = ["behave>=1.3.3"]
23+
cache = ["cachetools>=5.5.2", "async-lru>=2.0.5"]
24+
dependency-injection = ["dependency-injector>=4.48.2"]
25+
elastic-apm = ["elastic-apm>=6.24.0"]
26+
elasticsearch = ["elasticsearch>=9.1.1"]
27+
elasticsearch-async = ["elasticsearch[async]>=9.1.1"]
28+
fakeredis = ["fakeredis>=2.31.3"]
29+
fastapi = ["fastapi[all]>=0.118.0"]
30+
grpc = ["grpcio>=1.75.1", "grpcio-health-checking>=1.75.1", "protobuf>=6.32.1"]
31+
jwt = ["pyjwt>=2.10.1"]
32+
kafka = ["confluent-kafka>=2.11.1"]
33+
kavenegar = ["kavenegar>=1.1.2"]
34+
keycloak = ["python-keycloak>=5.8.1", "cachetools>=5.5.2", "async-lru>=2.0.5"]
35+
minio = ["minio>=7.2.18", "cachetools>=5.5.2", "async-lru>=2.0.5"]
36+
parsian-ipg = ["zeep>=4.3.2", "requests[socks]>=2.32.5"]
37+
postgres = ["psycopg[binary,pool]>=3.2.10"]
38+
prometheus = ["prometheus-client>=0.23.1"]
39+
redis = ["redis[hiredis]>=6.4.0"]
40+
scheduler = ["apscheduler>=3.11.0"]
41+
sentry = ["sentry-sdk>=2.40.0"]
42+
sqlalchemy = ["sqlalchemy>=2.0.43"]
43+
starrocks = ["starrocks>=1.2.3", "pymysql>=1.1.2"]
44+
starrocks-async = ["starrocks>=1.2.3", "aiomysql>=0.2.0"]
4545
temporalio = ["temporalio>=1.18.1"]
46-
testcontainers = ["testcontainers (>=4.13.1,<5.0.0)"]
46+
testcontainers = ["testcontainers>=4.13.1"]
4747

4848
[tool.pytest.ini_options]
4949
asyncio_mode = "auto"
@@ -64,20 +64,20 @@ build-backend = "hatchling.build"
6464
[dependency-groups]
6565
dev = [
6666
"add-trailing-comma>=3.2.0",
67-
"bandit>=1.7.8",
67+
"bandit>=1.8.6",
6868
"black>=25.9.0",
6969
"codespell>=2.4.1",
7070
"mypy>=1.18.2",
71-
"pre-commit-hooks>=4.6.0",
72-
"pre-commit>=3.8.0",
73-
"ruff>=0.13.2",
71+
"pre-commit-hooks>=6.0.0",
72+
"pre-commit>=4.3.0",
73+
"ruff>=0.13.3",
7474
"types-cachetools>=6.2.0.20250827",
7575
"types-grpcio>=1.0.0.20251001",
7676
"types-protobuf>=6.32.1.20250918",
7777
"types-pymysql>=1.1.0.20250916",
7878
"types-regex>=2025.9.18.20250921",
7979
"types-requests>=2.32.4.20250913",
80-
"validate-pyproject>=0.18",
80+
"validate-pyproject>=0.24.1",
8181
]
8282

8383
docs = [
@@ -86,7 +86,7 @@ docs = [
8686
"mkdocs>=1.6.1",
8787
"mkdocstrings-python>=1.18.2",
8888
"mkdocstrings>=0.30.1",
89-
"pymdown-extensions>=10.14.3",
89+
"pymdown-extensions>=10.16.1",
9090
]
9191

9292

0 commit comments

Comments
 (0)