Skip to content

Commit cbed2b7

Browse files
authored
Add comment why not to use ~= clause in deps definition (#154)
1 parent 54685a9 commit cbed2b7

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

pyproject.toml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,15 @@ classifiers = [
2121
]
2222

2323
requires-python = ">=3.8"
24+
25+
# We use inclusive ordered comparison clause for non-Apify packages intentionally in order to enhance the Apify SDK's
26+
# compatibility with a wide range of external packages. This decision was discussed in detail in the following PR:
27+
# https://github.com/apify/apify-sdk-python/pull/154
2428
dependencies = [
25-
"aiofiles >= 22.1.0",
26-
"aioshutil >= 1.0",
2729
"apify-client ~= 1.6.0",
2830
"apify-shared ~= 1.1.0",
31+
"aiofiles >= 22.1.0",
32+
"aioshutil >= 1.0",
2933
"colorama >= 0.4.6",
3034
"cryptography >= 39.0.0",
3135
"httpx >= 0.24.1",
@@ -52,11 +56,11 @@ dev = [
5256
"ruff ~= 0.1.6",
5357
"twine ~= 4.0.2",
5458
"types-aiofiles ~= 23.2.0.0",
55-
"types-colorama ~= 0.4.15.11",
56-
"types-psutil ~= 5.9.5.12",
59+
"types-colorama ~= 0.4.15.12",
60+
"types-psutil ~= 5.9.5.17",
5761
]
5862
scrapy = [
59-
"scrapy ~= 2.11.0",
63+
"scrapy >= 2.11.0",
6064
]
6165

6266
[project.urls]

0 commit comments

Comments
 (0)