Skip to content

Commit 663893f

Browse files
feat: relax dependency constraints for pymongo, elasticsearch, cachetools, and diskcache
Lower minimum versions based on compatibility research: - pymongo: 4.15.0 → 4.0.0 (supports MongoDB 5.0+) - elasticsearch: 9.0.0 → 8.0.0 (required for Elasticsearch 8.x) - cachetools: 6.0.0 → 5.0.0 (stable API) - diskcache: 5.6.0 → 5.0.0 (no breaking changes) This provides broader compatibility while maintaining support for the tested store versions. Fixes #118 Co-authored-by: William Easton <[email protected]>
1 parent 4af690a commit 663893f

File tree

3 files changed

+23
-23
lines changed

3 files changed

+23
-23
lines changed

key-value/key-value-aio/pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,14 @@ py-key-value-shared = { workspace = true }
3232
py-key-value-shared-test = { workspace = true }
3333

3434
[project.optional-dependencies]
35-
memory = ["cachetools>=6.0.0"]
36-
disk = ["diskcache>=5.6.0", "pathvalidate>=3.3.1",]
35+
memory = ["cachetools>=5.0.0"]
36+
disk = ["diskcache>=5.0.0", "pathvalidate>=3.3.1",]
3737
redis = ["redis>=4.3.0"]
38-
mongodb = ["pymongo>=4.15.0"]
38+
mongodb = ["pymongo>=4.0.0"]
3939
valkey = ["valkey-glide>=2.1.0"]
4040
vault = ["hvac>=2.3.0", "types-hvac>=2.3.0"]
4141
memcached = ["aiomcache>=0.8.0"]
42-
elasticsearch = ["elasticsearch>=9.0.0", "aiohttp>=3.12"]
42+
elasticsearch = ["elasticsearch>=8.0.0", "aiohttp>=3.12"]
4343
dynamodb = ["aioboto3>=13.3.0", "types-aiobotocore-dynamodb>=2.16.0"]
4444
keyring = ["keyring>=25.6.0"]
4545
keyring-linux = ["keyring>=25.6.0", "dbus-python>=1.4.0"]

key-value/key-value-sync/pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,14 @@ build-backend = "uv_build"
3232
module-name = "key_value.sync"
3333

3434
[project.optional-dependencies]
35-
memory = ["cachetools>=6.0.0"]
36-
disk = ["diskcache>=5.6.0", "pathvalidate>=3.3.1",]
35+
memory = ["cachetools>=5.0.0"]
36+
disk = ["diskcache>=5.0.0", "pathvalidate>=3.3.1",]
3737
redis = ["redis>=4.3.0"]
38-
mongodb = ["pymongo>=4.15.0"]
38+
mongodb = ["pymongo>=4.0.0"]
3939
valkey = ["valkey-glide-sync>=2.1.0"]
4040
vault = ["hvac>=2.3.0", "types-hvac>=2.3.0"]
4141
memcached = ["aiomcache>=0.8.0"]
42-
elasticsearch = ["elasticsearch>=9.0.0", "aiohttp>=3.12"]
42+
elasticsearch = ["elasticsearch>=8.0.0", "aiohttp>=3.12"]
4343
pydantic = ["pydantic>=2.11.9"]
4444
keyring = ["keyring>=25.6.0"]
4545
keyring-linux = ["keyring>=25.6.0", "dbus-python>=1.4.0"]

uv.lock

Lines changed: 15 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)