Skip to content

Commit

Permalink
move unnecessary requirements for API to new dependency group
Browse files Browse the repository at this point in the history
  • Loading branch information
kdutia committed Apr 25, 2024
1 parent e49ebb2 commit 3e7d169
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 16 deletions.
5 changes: 3 additions & 2 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 16 additions & 14 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,27 @@ authors = ["CPR-tech-team <[email protected]>"]
python = ">=3.9,<3.12"
uvicorn = {extras = ["standard"], version = "^0.20.0"}
fastapi = "^0.92.0"
python-dotenv = "^0.20.0"
opensearch-py = "^2.2.0"

[tool.poetry.dev-dependencies]
ruff = "^0.0.247"
black = "^22.1.0"
pyright = "^1.1.267"
pre-commit = "^2.17.0"
pytest = "^7.0.1"
pytest-dotenv = "^0.5.2"

[tool.poetry.group.dev.dependencies]
nbmake = "^1.4.1"
httpx = "^0.23.3"

[tool.poetry.group.extra.dependencies]
cpr-data-access = {git = "https://github.com/climatepolicyradar/data-access.git", rev = "v0.2.9"}
openpyxl = "^3.1.1"
cloudpathlib = {version = "^0.13.0", extras = ["s3"]}
requests = "^2.28.2"
click = "^8.1.3"
opensearch-py = "^2.2.0"
openmock = "^2.2.0"
pycountry = "^22.3.5"
wbgapi = "^1.0.12"
Expand All @@ -30,19 +45,6 @@ rich = "^13.7.0"
awscli = "^1.29.28"
explorer = {git = "https://github.com/climatepolicyradar/explorer.git", rev = "96d2a244f4a0e3298a080f71edee6c4b96e5bd37"}

[tool.poetry.dev-dependencies]
ruff = "^0.0.247"
black = "^22.1.0"
pyright = "^1.1.267"
pre-commit = "^2.17.0"
python-dotenv = "^0.20.0"
pytest = "^7.0.1"
pytest-dotenv = "^0.5.2"

[tool.poetry.group.dev.dependencies]
nbmake = "^1.4.1"
httpx = "^0.23.3"

[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
Expand Down

0 comments on commit 3e7d169

Please sign in to comment.