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: 4 additions & 0 deletions apps/backend/app/insights/relationship_diagnostics.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,10 @@ def load_unresolved_relationship_context(db: Session, snapshot_id: str) -> Unres
RiObservation.observed_kind == "import_binding",
)
).all():
# The inner join already excludes a null observation_ref; this
# narrows the nullable column type SQLAlchemy 2.1 now reports.
if observation_ref is None:
continue
referent = binding_referent_by_pk.get(observation_ref)
if referent is None or not path:
continue
Expand Down
2 changes: 1 addition & 1 deletion apps/backend/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ test = [
]
dev = [
"mypy==2.3.1",
"ruff==0.16.8",
"ruff==0.16.9",
]

[tool.setuptools.packages.find]
Expand Down
6 changes: 3 additions & 3 deletions apps/backend/requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
# only requirements.txt; pytest must never ship in runtime dependencies (issue #185).
-r requirements.txt
ast-serialize==0.11.2
coverage==7.16.1
coverage==7.16.2
iniconfig==2.3.0
librt==0.15.0
librt==0.16.0
mypy==2.3.1
mypy_extensions==1.1.0
pathspec==1.1.1
pluggy==1.6.0
pytest==9.1.1
pytest-cov==7.1.0
ruff==0.16.8
ruff==0.16.9
12 changes: 6 additions & 6 deletions apps/backend/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ cryptography==50.0.1
cssselect2==0.10.1
dnspython==2.8.0
email-validator==2.3.0
fastapi==0.141.1
fastapi==0.142.0
greenlet==3.5.6
h11==0.16.0
html5lib==1.1
Expand All @@ -45,7 +45,7 @@ pydantic_core==2.46.5
Pygments==2.21.0
pyhanko-certvalidator==0.32.1
pyHanko==0.37.0
PyJWT==2.14.0
PyJWT==2.15.1
pypdf==6.19.0
python-bidi==0.6.11
python-dotenv==1.2.3
Expand All @@ -55,8 +55,8 @@ redis==8.1.0
reportlab==4.5.1
requests==2.34.2
six==1.17.0
SQLAlchemy==2.0.54
starlette==1.6.0
SQLAlchemy==2.1.1
starlette==1.7.0
svglib==2.2.0
tinycss2==1.5.1
tree-sitter==0.26.0
Expand All @@ -67,8 +67,8 @@ tzdata==2026.4
tzlocal==5.4.4
uritools==6.1.3
urllib3==2.8.0
uvicorn==0.53.0
uvicorn==0.54.0
watchfiles==1.3.0
webencodings==0.6.1
websockets==17.1
xhtml2pdf==0.2.20
xhtml2pdf==0.2.21
Loading