Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions poetry.lock

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

47 changes: 18 additions & 29 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,26 +6,26 @@ authors = [ { name = "Government of British Columbia", email = "DItrust@gov.bc.c
license = "Apache-2.0"
readme = "README.md"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
]
repository = "https://github.com/openwallet-foundation/acapy-vc-authn-oidc"

[tool.poetry.dependencies]
python = ">=3.12,<4.0"
fastapi = "^0.115.12"
jinja2 = "^3.1.6"
oic = "^1.7.0"
pymongo = "^4.12.1"
pyop = "^3.4.1"
python-multipart = "^0.0.20" # required by fastapi to serve/upload files
qrcode = { version = "^8.2", extras = ["pil"]}
structlog = "^25.3.0"
uvicorn = { version = "^0.34.2", extras = ["standard"] }
python-socketio = "^5.13.0" # required to run websockets
canonicaljson = "^2.0.0" # used to provide unique consistent user identifiers"
pydantic-settings = "^2.9.1"
requires-python = ">=3.12,<4.0"
dependencies = [
"fastapi(>=0.115.12,<1.0)",
"jinja2(>=3.1.6,<4.0)",
"oic(>=1.7.0,<2.0)",
"pymongo(>=4.12.1,<5.0)",
"pyop(>=3.4.1,<4.0)",
"python-multipart(>=0.0.20,<1.0)",
'qrcode[pil](>=8.2,<9.0)',
"structlog(>=25.3.0,<26.0.0)",
'uvicorn[standard](>=0.34.2,<1)',
"python-socketio(>=5.13.0,<6.0.0)",
"canonicaljson(>=2.0.0,<3.0.0)",
"pydantic-settings (>=2.9.1,<3.0)",
]
Comment on lines +14 to +28
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not a fan of this style of dependency definition, it is a lot more dense and harder to scan when reviewing changes. I am also not convinced this is the issue: ACA-Py uses the same toml structure and gets similar warnings when running poetry check, and I am not aware of issues with dependencies there.

I do wonder if the problem is actually maybe with the lockfile and/or using different versions of poetry rather than pyproject.toml


[tool.poetry.group.dev.dependencies]
black = "^25.1.0"
Expand All @@ -36,14 +36,3 @@ pytest-cov = "^6.1.1"
pytest = "^8.3.5"
requests-mock = "^1.12.1"
setuptools = "^80.3.1"

[tool.pytest.ini_options]
testpaths = "oidc-controller"
asyncio_default_fixture_loop_scope = "function"

[tool.pyright]
pythonVersion = "3.12"

[build-system]
requires = ["poetry-core>=2.0"]
build-backend = "poetry.core.masonry.api"