Skip to content

Commit eff9b43

Browse files
authored
Merge pull request #2246 from coronasafe/develop
Merge Develop to Staging v24.24.0
2 parents fd2e71a + 369b9df commit eff9b43

39 files changed

+644
-738
lines changed

.github/workflows/deployment.yaml renamed to .github/workflows/deploy.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ env:
3333

3434
jobs:
3535
test:
36-
uses: ./.github/workflows/test-base.yml
36+
uses: ./.github/workflows/reusable-test.yml
3737

3838
build:
3939
needs: test

.github/workflows/deployment-branch.yaml

-77
This file was deleted.

.github/workflows/deployment-lambda.yaml

-64
This file was deleted.

.github/workflows/docs.yml

+4-6
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,12 @@ jobs:
1919
name: Build docs
2020
runs-on: ubuntu-latest
2121
steps:
22-
- uses: actions/checkout@v3
22+
- uses: actions/checkout@v4
2323

24-
- uses: actions/setup-python@v3
24+
- uses: actions/setup-python@v5
2525
with:
2626
python-version: "3.11"
2727
cache: 'pipenv'
28-
cache-dependency-path: |
29-
Pipfile.lock
3028

3129
- name: Install pipenv
3230
run: curl https://raw.githubusercontent.com/pypa/pipenv/master/get-pipenv.py | python
@@ -53,7 +51,7 @@ jobs:
5351
permissions:
5452
contents: write
5553
steps:
56-
- uses: actions/checkout@v3
54+
- uses: actions/checkout@v4
5755

5856
- name: Download sphinx documentation
5957
uses: actions/download-artifact@v3
@@ -66,7 +64,7 @@ jobs:
6664
touch build/.nojekyll
6765
6866
- name: Deploy docs
69-
uses: JamesIves/github-pages-deploy-action@v4.4.3
67+
uses: JamesIves/github-pages-deploy-action@v4
7068
with:
7169
branch: gh-pages
7270
folder: build

.github/workflows/linter.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@ on:
77
- staging
88
merge_group:
99

10+
permissions: { }
11+
1012
jobs:
1113
build:
12-
if: github.repository == 'coronasafe/care'
1314
name: Lint Code Base
1415
runs-on: ubuntu-latest
1516
permissions:
@@ -19,14 +20,13 @@ jobs:
1920

2021
steps:
2122
- name: Checkout Code
22-
uses: actions/checkout@v3
23+
uses: actions/checkout@v4
2324
with:
2425
fetch-depth: 0
2526

2627
- name: Lint Code Base
27-
uses: github/super-linter/slim@v5
28+
uses: super-linter/super-linter/slim@v6
2829
env:
29-
DEFAULT_BRANCH: develop
3030
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3131
VALIDATE_ALL_CODEBASE: false
3232
VALIDATE_PYTHON_BLACK: true

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
name: Release on Push
1414
runs-on: ubuntu-22.04
1515
steps:
16-
- uses: actions/checkout@v3
16+
- uses: actions/checkout@v4
1717
with:
1818
fetch-depth: 0 # Necessary to fetch all tags
1919

.github/workflows/test-base.yml renamed to .github/workflows/reusable-test.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@ jobs:
5050
run: make test-coverage
5151

5252
- name: Upload coverage report
53-
uses: codecov/codecov-action@v3
53+
uses: codecov/codecov-action@v4
54+
env:
55+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
5456

5557
- name: Move cache
5658
run: |

.github/workflows/test-merge-queue.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ on:
55

66
jobs:
77
test:
8-
uses: ./.github/workflows/test-base.yml
8+
uses: ./.github/workflows/reusable-test.yml

.github/workflows/tests.yml renamed to .github/workflows/test-pull-request.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ concurrency:
99

1010
jobs:
1111
test:
12-
uses: ./.github/workflows/test-base.yml
12+
uses: ./.github/workflows/reusable-test.yml

.pre-commit-config.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ repos:
1717
- id: check-toml
1818

1919
- repo: https://github.com/PyCQA/isort
20-
rev: 5.12.0
20+
rev: 5.13.2
2121
hooks:
2222
- id: isort
2323
additional_dependencies: ["isort[pyproject]"]
2424

2525
- repo: https://github.com/psf/black
26-
rev: 23.3.0
26+
rev: 24.4.0
2727
hooks:
2828
- id: black
2929
args: ["--config=pyproject.toml"]

Pipfile

+35-35
Original file line numberDiff line numberDiff line change
@@ -6,73 +6,73 @@ name = "pypi"
66
[packages]
77
argon2-cffi = "==23.1.0"
88
authlib = "==1.3.0"
9-
boto3 = "==1.34.84"
10-
celery = "==5.3.6"
9+
boto3 = "==1.34.117"
10+
celery = "==5.4.0"
1111
django = "==4.2.10"
1212
django-environ = "==0.11.2"
13-
django-cors-headers = "==4.2.0"
14-
django-filter = "==23.2"
13+
django-cors-headers = "==4.3.1"
14+
django-filter = "==24.2"
1515
django-hardcopy = "==0.1.4"
16-
django-maintenance-mode = "==0.21.0"
17-
django-model-utils = "==4.3.1"
16+
django-maintenance-mode = "==0.21.1"
17+
django-model-utils = "==4.5.1"
1818
django-multiselectfield = "==0.1.12"
1919
django-queryset-csv = "==1.1.0"
2020
django-ratelimit = "==4.1.0"
21-
django-redis = "==5.3.0"
22-
django-rest-passwordreset = "==1.3.0"
23-
django-simple-history = "==3.3.0"
24-
djangoql = "==0.17.1"
25-
djangorestframework = "==3.14.0"
21+
django-redis = "==5.4.0"
22+
django-rest-passwordreset = "==1.4.1"
23+
django-simple-history = "==3.7.0"
24+
djangoql = "==0.18.1"
25+
djangorestframework = "==3.15.1"
2626
djangorestframework-simplejwt = "==5.3.1"
2727
dry-rest-permissions = "==0.1.10"
2828
drf-nested-routers = "==0.94.1"
29-
drf-spectacular = "==0.26.4"
29+
drf-spectacular = "==0.27.2"
3030
"fhir.resources" = "==6.5.0"
3131
gunicorn = "==22.0.0"
3232
healthy-django = "==0.1.0"
33-
jsonschema = "==4.20.0"
33+
jsonschema = "==4.22.0"
3434
jwcrypto = "==1.5.6"
35-
newrelic = "==9.3.0"
35+
newrelic = "==9.10.0"
3636
pillow = "==10.3.0"
37-
psycopg = "==3.1.18"
37+
psycopg = { extras = ["c"], version = "==3.1.19" }
3838
pycryptodome = "==3.20.0"
3939
pydantic = "==1.10.15" # fix for fhir.resources < 7.0.2
4040
pyjwt = "==2.8.0"
41-
python-slugify = "==8.0.1"
41+
python-slugify = "==8.0.4"
4242
pywebpush = "==1.14.0"
43-
redis = {extras = ["hiredis"], version = "<5.0.0"} # constraint for redis-om
43+
redis = { extras = ["hiredis"], version = "==5.0.3" } # constraint for redis-om
4444
redis-om = "==0.3.1"
45-
requests = "==2.31.0"
46-
sentry-sdk = "==1.30.0"
45+
requests = "==2.32.3"
46+
sentry-sdk = "==2.3.1"
4747
whitenoise = "==6.6.0"
4848

4949
[dev-packages]
5050
black = "==24.4.2"
51-
boto3-stubs = {extras = ["s3", "boto3"], version = "==1.34.84"}
52-
coverage = "==7.4.0"
51+
boto3-stubs = { extras = ["s3", "boto3"], version = "==1.34.117" }
52+
coverage = "==7.5.3"
5353
debugpy = "==1.8.1"
5454
django-coverage-plugin = "==3.1.0"
55-
django-debug-toolbar = "==4.3.0"
55+
django-debug-toolbar = "==4.4.2"
5656
django-extensions = "==3.2.3"
57-
django-silk = "==5.0.3"
58-
django-stubs = "==4.2.4"
59-
djangorestframework-stubs = "==3.14.2"
57+
django-silk = "==5.1.0"
58+
django-stubs = "==5.0.2"
59+
djangorestframework-stubs = "==3.15.0"
6060
factory-boy = "==3.3.0"
6161
flake8 = "==7.0.0"
62-
freezegun = "==1.2.2"
63-
ipython = "==8.24.0"
64-
isort = "==5.12.0"
65-
mypy = "==1.9.0"
66-
pre-commit = "==3.4.0"
62+
freezegun = "==1.5.1"
63+
ipython = "==8.25.0"
64+
isort = "==5.13.2"
65+
mypy = "==1.10.0"
66+
pre-commit = "==3.7.1"
6767
requests-mock = "==1.12.1"
68-
tblib = "==2.0.0"
69-
watchdog = "==3.0.0"
68+
tblib = "==3.0.0"
69+
watchdog = "==4.0.1"
7070
werkzeug = "==3.0.3"
7171

7272
[docs]
73-
furo = "==2023.9.10"
74-
sphinx = "==7.2.6"
75-
myst-parser = "==2.0.0"
73+
furo = "==2024.5.6"
74+
sphinx = "==7.3.7"
75+
myst-parser = "==3.0.1"
7676

7777
[requires]
7878
python_version = "3.11"

0 commit comments

Comments
 (0)