Skip to content

Commit

Permalink
2024.Q1 release (#1014)
Browse files Browse the repository at this point in the history
* prepare 2024.Q1 release

* change to setdefault if undefined
  • Loading branch information
shapiromatron authored Apr 15, 2024
1 parent 872b7d0 commit e0746b1
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion hawc/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import os
import sys

__version__ = "2023.4"
__version__ = "2024.1"


def manage():
Expand Down
3 changes: 3 additions & 0 deletions hawc/main/settings/staging.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import json
import os

from ... import __version__
from .base import *

SERVER_ROLE = os.environ.get("HAWC_SERVER_ROLE", "staging")
Expand Down Expand Up @@ -85,4 +86,6 @@
"HAWC_SENTRY_SETTINGS", '{"traces_sample_rate": 1.0, "send_default_pii": false}'
)
)
release = COMMIT.sha if "undefined" not in COMMIT.sha else __version__
SENTRY_SETTINGS.setdefault("release", release)
sentry_sdk.init(dsn=SENTRY_DSN, integrations=[DjangoIntegration()], **SENTRY_SETTINGS)
1 change: 1 addition & 0 deletions hawc/main/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@
path("epidemiology/api/", include(hawc.apps.epiv2.urls.router.urls)),
path("in-vitro/api/", include(hawc.apps.invitro.urls.router.urls)),
path("lit/api/", include(hawc.apps.lit.urls.router.urls)),
path("mgmt/api/", include(hawc.apps.mgmt.urls.router.urls)),
path("rob/api/", include(hawc.apps.riskofbias.urls.router.urls)),
path("study/api/", include(hawc.apps.study.urls.router.urls)),
path("summary/api/", include(hawc.apps.summary.urls.router.urls)),
Expand Down
2 changes: 1 addition & 1 deletion requirements/base.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# web application
Django~=5.0.0
Django~=5.0.4
django-crispy-forms==2.1
crispy-bootstrap4==2023.1
django-filter==23.5
Expand Down
4 changes: 2 additions & 2 deletions requirements/production.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
-r base.txt

django-anymail==10.1
sentry_sdk==1.39.2
sentry_sdk==1.45.0

./dist/hawc-2023.4-py3-none-any.whl
./dist/hawc-2024.1-py3-none-any.whl

0 comments on commit e0746b1

Please sign in to comment.