Skip to content

Commit 6733c28

Browse files
committed
refactor: some add, refactor, changes in pyproject.toml file
* Adds requires-python tag/attributes which helps users+build_tool/pip to find minimum version supported * Changes version constraint from exact to lowest version supported to be used
1 parent d29608d commit 6733c28

File tree

1 file changed

+19
-18
lines changed

1 file changed

+19
-18
lines changed

pyproject.toml

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ build-backend = "maturin"
55
[project]
66
name = "robyn"
77
version = "0.72.0"
8+
requires-python = ">=3.9"
89
description = "A Super Fast Async Python Web Framework with a Rust runtime."
910
authors = [{ name = "Sanskar Jethi", email = "sansyrox@gmail.com" }]
1011
license = { file = "LICENSE" }
@@ -24,17 +25,17 @@ classifiers = [
2425
"Programming Language :: Python :: Implementation :: CPython",
2526
]
2627
dependencies = [
27-
"inquirerpy == 0.3.4",
28-
"multiprocess == 0.70.14",
29-
"orjson == 3.11.0",
30-
"rustimport == 1.3.4",
28+
"inquirerpy >= 0.3.4",
29+
"multiprocess >= 0.70.14",
30+
"orjson >= 3.11.0",
31+
"rustimport >= 1.3.4",
3132
# conditional
32-
"uvloop~=0.21.0; sys_platform != 'win32' and platform_python_implementation == 'CPython' and platform_machine != 'armv7l'",
33-
"watchdog == 4.0.1",
33+
"uvloop >= 0.21.0; sys_platform != 'win32' and platform_python_implementation == 'CPython' and platform_machine != 'armv7l'",
34+
"watchdog >= 4.0.1",
3435
]
3536

3637
[project.optional-dependencies]
37-
"templating" = ["jinja2 == 3.0.1"]
38+
"templating" = ["jinja2 >= 3.0.1"]
3839

3940
[project.urls]
4041
Documentation = "https://robyn.tech/"
@@ -48,19 +49,19 @@ test_server = "integration_tests.base_routes:main"
4849

4950
[dependency-groups]
5051
dev = [
51-
"black==23.1",
52-
"commitizen==2.40",
53-
"isort==5.11.5",
54-
"maturin==0.14.12",
55-
"pre-commit==2.21.0",
56-
"ruff==0.1.3",
52+
"black >= 23.1",
53+
"commitizen >= 2.40",
54+
"isort >= 5.11.5",
55+
"maturin >= 0.14.12",
56+
"pre-commit >= 2.21.0",
57+
"ruff >= 0.1.3",
5758
]
5859
test = [
59-
"nox==2023.4.22",
60-
"pytest==7.2.1",
61-
"pytest-codspeed==1.2.2",
62-
"requests==2.28.2",
63-
"websocket-client==1.5.0",
60+
"nox >= 2023.4.22",
61+
"pytest >= 7.2.1",
62+
"pytest-codspeed >= 3.0.0",
63+
"requests >= 2.28.2",
64+
"websocket-client >= 1.5.0",
6465
]
6566

6667

0 commit comments

Comments
 (0)