-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ better dependency management with Poetry (#863)
(rebased to use 0.12.1 cloudcontroller instead of 1.0.0rc4) * 🔥 * 🎉 replace requirements with pyproject.toml * Generated lock files * ✨ script to install all dependencies (for simultaneously testing all submodules) * ✨ script to generate lock files for each submodule * ✨ replace pip install requirements with poetry install * ⬆️ use python 3.12.4 * 🎨 * 🎨 set `package-mode = false` * 👷 run uvicorn correctly * 👷 configure dependabot for each submodule * 👷 install poetry dependencies with writeable cache dir * 👷 use poetry * ⏪ .isort.cfg is required * 👷 use poetry to run pylint * 👷 copy necessary files for dependency install * 🎨 * 🎉 configuration file for cloudapi * 👷 run pytest with poetry * 🐛 Configure Poetry to not create virtual environments
- Loading branch information
Showing
34 changed files
with
8,540 additions
and
117 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,8 +2,6 @@ | |
** | ||
|
||
# Except the following | ||
!requirements.dev.txt | ||
!requirements.txt | ||
!app/ | ||
!shared/ | ||
!endorser/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
[settings] | ||
profile=black | ||
known_third_party= |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
[tool.poetry] | ||
name = "cloudapi-app" | ||
version = "3.3.0" | ||
description = "Main app submodule for cloudapi" | ||
authors = ["Mourits de Beer <[email protected]>"] | ||
package-mode = false | ||
|
||
[tool.poetry.dependencies] | ||
python = "^3.12" | ||
|
||
aiohttp = "~3.9.2" | ||
aries-cloudcontroller = "==0.12.1.post0" | ||
base58 = "~2.1.1" | ||
fastapi = "~0.111.0" | ||
fastapi_websocket_pubsub = "~0.3.8" | ||
httpx = "~0.27.0" | ||
loguru = "~0.7.2" | ||
orjson = "~3.10.0" | ||
pydantic = "~2.8.2" | ||
pyjwt = "~2.8.0" | ||
PyYAML = "~6.0" | ||
typing-extensions = "~4.12.0" | ||
uvicorn = { version = "~0.30.0", extras = ["standard"] } | ||
|
||
[tool.poetry.dev-dependencies] | ||
anyio = "~4.4.0" | ||
assertpy = "==1.1" | ||
black = "~24.4.2" | ||
isort = "~5.13.2" | ||
mockito = "~1.5.0" | ||
pre-commit = "~3.7.0" | ||
pylint = "~3.2.2" | ||
pytest = "~8.2.0" | ||
pytest-cov = "~5.0.0" | ||
pytest-mock = "~3.14.0" | ||
|
||
[build-system] | ||
requires = ["poetry-core>=1.8.3"] | ||
build-backend = "poetry.core.masonry.api" | ||
|
||
[tool.coverage.run] | ||
omit = ["tests/*"] | ||
|
||
[tool.isort] | ||
profile = "black" | ||
|
||
[tool.pytest.ini_options] | ||
addopts = "--junitxml=junit.xml -p no:cacheprovider --cov-report=xml --cov-report=term" | ||
junit_family = "xunit2" |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.