@@ -34,7 +34,7 @@ dependencies = [
3434 " prometheus_client" ,
3535 " psutil >= 6.0.0" ,
3636 " py-cpuinfo" ,
37- " pydantic" ,
37+ " pydantic>=2.0.0,<3.0.0 " ,
3838 " nvidia-ml-py" ,
3939 " rapidfuzz" ,
4040 " requests" ,
@@ -80,33 +80,6 @@ Changelog = "https://github.com/mlco2/codecarbon/releases"
8080
8181
8282[dependency-groups ]
83- api = [
84- " alembic<2.0.0" ,
85- " authlib>=1.2.1" ,
86- " bcrypt<5.0.0" ,
87- " python-dateutil<3.0.0" ,
88- " dependency-injector<5.0.0" ,
89- " fastapi<1.0.0" ,
90- " httpx" ,
91- " pydantic[email]<2.0.0" ,
92- " psycopg2-binary<3.0.0" ,
93- " requests<3.0.0" ,
94- " sqlalchemy<2.0.0" ,
95- " uvicorn[standard]<1.0.0" ,
96- " fastapi-pagination<1.0.0" ,
97- " pytest" ,
98- " pytest-asyncio" ,
99- " mock" ,
100- " responses" ,
101- " fastapi-oidc;python_version>='3.10'" ,
102- " numpy" ,
103- " psutil" ,
104- " requests-mock" ,
105- " rapidfuzz" ,
106- " PyJWT" ,
107- " logfire[fastapi]>=1.0.1" ,
108- " itsdangerous" ,
109- ]
11083dev = [
11184 " taskipy" ,
11285 " bumpver" ,
@@ -148,33 +121,6 @@ viz-legacy = [
148121 " fire" ,
149122]
150123
151- api = [
152- " alembic<2.0.0" ,
153- " authlib>=1.2.1" ,
154- " bcrypt<5.0.0" ,
155- " python-dateutil<3.0.0" ,
156- " dependency-injector<5.0.0" ,
157- " fastapi<1.0.0" ,
158- " httpx" ,
159- " itsdangerous" ,
160- " pydantic[email]<2.0.0" ,
161- " psycopg2-binary<3.0.0" ,
162- " requests<3.0.0" ,
163- " sqlalchemy<2.0.0" ,
164- " uvicorn[standard]<1.0.0" ,
165- " fastapi-pagination<1.0.0" ,
166- " pytest" ,
167- " pytest-asyncio" ,
168- " mock" ,
169- " responses" ,
170- " fastapi-oidc;python_version>='3.10'" ,
171- " numpy" ,
172- " psutil" ,
173- " requests-mock" ,
174- " rapidfuzz" ,
175- " PyJWT" ,
176- ]
177-
178124[project .scripts ]
179125carbonboard = " codecarbon.viz.carbonboard:main"
180126codecarbon = " codecarbon.cli.main:main"
0 commit comments