@@ -47,66 +47,64 @@ def install_template(root: str, template: ITemplate, app_name: str):
47
47
if has_pyproject :
48
48
dependencies = [
49
49
"fastapi[all]" ,
50
- "fastapi-pagination[sqlalchemy]@^0.12.7 " ,
51
- "asyncer@^0.0.2 " ,
52
- "httpx@^0.24.1 " ,
50
+ "fastapi-pagination[sqlalchemy]" ,
51
+ "asyncer" ,
52
+ "httpx" ,
53
53
]
54
54
dev_dependencies = [
55
- "pytest@^7.4.0 " ,
56
- "mypy@^1.5.0 " ,
57
- "ruff@^0.0.284 " ,
58
- "black@^23.7.0 " ,
55
+ "pytest" ,
56
+ "mypy" ,
57
+ "ruff" ,
58
+ "black" ,
59
59
]
60
60
if template == ITemplate .langchain_basic :
61
61
langchain_dependencies = [
62
- "langchain@^0.0.265 " ,
63
- "openai@^0.27.8 " ,
64
- "adaptive-cards-py@^0.0.7 " ,
65
- "google-search-results@^2.4.2 " ,
62
+ "langchain" ,
63
+ "openai" ,
64
+ "adaptive-cards-py" ,
65
+ "google-search-results" ,
66
66
]
67
67
frontend_dependencies = [
68
68
"streamlit" ,
69
69
"websockets" ,
70
70
]
71
- dependencies [0 ] = "fastapi[all]@^0.99.1"
72
71
dependencies .extend (langchain_dependencies )
73
72
if template == ITemplate .full :
74
73
full_dependencies = [
75
- "alembic@^1.10.2 " ,
76
- "asyncpg@^0.27.0 " ,
77
- "sqlmodel@^0.0.8 " ,
78
- "python-jose@^3.3.0 " ,
79
- "cryptography@^38.0.3 " ,
80
- "passlib@^1.7.4 " ,
81
- "SQLAlchemy-Utils@^0.38.3 " ,
82
- "SQLAlchemy@^1.4.40 " ,
83
- "minio@^7.1.13 " ,
84
- "Pillow@^9.4.0 " ,
85
- "watchfiles@^0.18.1 " ,
86
- "asyncer@^0.0.2 " ,
87
- "httpx@^0.23.1 " ,
88
- "pandas@^1.5.3 " ,
89
- "openpyxl@^3.0.10 " ,
90
- "redis@^4.5.1 " ,
91
- "fastapi-async-sqlalchemy@^0.3.12 " ,
92
- "oso@^0.26.4 " ,
93
- "celery@^5.2.7 " ,
94
- "transformers@^4.28.1 " ,
95
- "requests@^2.29.0 " ,
96
- "wheel@^0.40.0 " ,
97
- "setuptools@^67.7.2 " ,
98
- "langchain@^0.0.262 " ,
99
- "openai@^0.27.5 " ,
100
- "celery-sqlalchemy-scheduler@^0.3.0 " ,
101
- "psycopg2-binary@^2.9.5 " ,
102
- "fastapi-limiter@^0.1.5 " ,
103
- "fastapi-pagination[sqlalchemy]@^0.11.4 " ,
104
- "fastapi-cache2[redis]@^0.2.1 " ,
74
+ "alembic" ,
75
+ "asyncpg" ,
76
+ "sqlmodel" ,
77
+ "python-jose" ,
78
+ "cryptography" ,
79
+ "passlib" ,
80
+ "SQLAlchemy-Utils" ,
81
+ "SQLAlchemy" ,
82
+ "minio" ,
83
+ "Pillow" ,
84
+ "watchfiles" ,
85
+ "asyncer" ,
86
+ "httpx" ,
87
+ "pandas" ,
88
+ "openpyxl" ,
89
+ "redis" ,
90
+ "fastapi-async-sqlalchemy" ,
91
+ "oso" ,
92
+ "celery" ,
93
+ "transformers" ,
94
+ "requests" ,
95
+ "wheel" ,
96
+ "setuptools" ,
97
+ "langchain" ,
98
+ "openai" ,
99
+ "celery-sqlalchemy-scheduler" ,
100
+ "psycopg2-binary" ,
101
+ "fastapi-limiter" ,
102
+ "fastapi-pagination[sqlalchemy]" ,
103
+ "fastapi-cache2[redis]" ,
105
104
]
106
105
full_dev_dependencies = [
107
- "pytest-asyncio@^0.21.1 " ,
106
+ "pytest-asyncio" ,
108
107
]
109
- dependencies [0 ] = "fastapi[all]@^0.95.2"
110
108
dependencies .extend (full_dependencies )
111
109
dev_dependencies .extend (full_dev_dependencies )
112
110
0 commit comments