Skip to content

Commit 1bc1bb9

Browse files
build(upgrade)[uv]: strawberry 0.286, django-allauth 65.13, sentry 2.45, etc
- django-appconf v1.1.0 -> v1.2.0 - ipython v9.6.0 -> v9.7.0 - asttokens v3.0.0 -> v3.0.1 - boto3 v1.40.63 -> v1.40.76 - botocore v1.40.63 -> v1.40.76 - graphql-core v3.2.6 -> v3.2.7 - markdownify v1.2.0 -> v1.2.2 - marshmallow v4.0.1 -> v4.1.0 - zope-interface v8.0.1 -> v8.1.1 - ruff v0.14.3 -> v0.14.5
1 parent 5a7e931 commit 1bc1bb9

File tree

4 files changed

+79
-62
lines changed

4 files changed

+79
-62
lines changed

server/neuronhub/apps/importer/services/hackernews.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ async def _import_item(
170170
post_source__id_external=data["id"],
171171
defaults=dict(
172172
**post_defaults,
173-
content_polite=markdownify(data["text"]),
173+
content_polite=markdownify(data["text"] or ""),
174174
parent_root=parent_root,
175175
),
176176
)

server/neuronhub/settings.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
import os
33
from enum import Enum
44
from pathlib import Path
5+
import warnings
56

67
import dj_database_url
78
import django
@@ -329,6 +330,11 @@ def is_dev(self) -> bool:
329330
"level": "INFO",
330331
},
331332
}
333+
# supress warn from strawberry-django
334+
warnings.filterwarnings(
335+
"ignore", category=UserWarning, module="strawberry.utils.deprecations", lineno=26
336+
)
337+
332338
if DJANGO_ENV is DjangoEnv.DEV_TEST_E2E:
333339
# Mise's `--quite` doesn't work on `runserver`, and `--silent` drops all stderr - so we set django to WARNING instead of INFO
334340
LOGGING["loggers"] = {

server/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ dependencies = [
1717
"django-rich == 2.*", # [i=norm, rep=highest, @adamchainz] Django Sec Team
1818
"django-extensions == 4.*",
1919
"ipython == 9.*",
20-
"strawberry-graphql ~= 0.284.1",
20+
"strawberry-graphql ~= 0.286.0",
2121
"strawberry-graphql-django ~= 0.67.0",
2222
"django-stubs[compatible-mypy] == 5.*",
2323
"django-health-check == 3.*", # [i=low, rep=norm, GH=norm, @revsys, 1.3k] US dev agency

0 commit comments

Comments
 (0)