diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8dccaae..16f87a2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -24,7 +24,7 @@ jobs: submodules: "recursive" - name: Run Bento build action - uses: bento-platform/bento_build_action@v0.11.1 + uses: bento-platform/bento_build_action@v1.0.0 with: registry: ghcr.io registry-username: ${{ github.actor }} diff --git a/Dockerfile b/Dockerfile index 4097691..e3dcae0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,4 @@ -FROM ghcr.io/bento-platform/bento_base_image:python-debian-2024.08.12 - -# Use uvicorn (instead of hypercorn) in production since I've found -# multiple benchmarks showing it to be faster - David L -RUN pip install --no-cache-dir -U pip && pip install --no-cache-dir "uvicorn[standard]==0.30.5" +FROM ghcr.io/bento-platform/bento_base_image:python-debian-2024.08.14 WORKDIR /authorization diff --git a/dev.Dockerfile b/dev.Dockerfile index 8a871a1..ae0d8f5 100644 --- a/dev.Dockerfile +++ b/dev.Dockerfile @@ -1,6 +1,4 @@ -FROM ghcr.io/bento-platform/bento_base_image:python-debian-2024.08.12 - -RUN pip install --no-cache-dir -U pip && pip install --no-cache-dir "uvicorn[standard]==0.30.5" +FROM ghcr.io/bento-platform/bento_base_image:python-debian-2024.08.14 WORKDIR /authorization diff --git a/poetry.lock b/poetry.lock index 8ea616a..faf802d 100644 --- a/poetry.lock +++ b/poetry.lock @@ -16,13 +16,13 @@ pycares = ">=4.0.0" [[package]] name = "aiofiles" -version = "23.2.1" +version = "24.1.0" description = "File support for asyncio." optional = false -python-versions = ">=3.7" +python-versions = ">=3.8" files = [ - {file = "aiofiles-23.2.1-py3-none-any.whl", hash = "sha256:19297512c647d4b27a2cf7c34caa7e405c0d60b5560618a29a9fe027b18b0107"}, - {file = "aiofiles-23.2.1.tar.gz", hash = "sha256:84ec2218d8419404abcb9f0c02df3f34c6e0a68ed41072acfb1cef5cbc29051a"}, + {file = "aiofiles-24.1.0-py3-none-any.whl", hash = "sha256:b4ec55f4195e3eb5d7abd1bf7e061763e864dd4954231fb8539a0ef8bb8260e5"}, + {file = "aiofiles-24.1.0.tar.gz", hash = "sha256:22a075c9e5a3810f0c2e48f3008c94d68c65d763b9b03857924c99e57355166c"}, ] [[package]] @@ -2352,13 +2352,13 @@ zstd = ["zstandard (>=0.18.0)"] [[package]] name = "uvicorn" -version = "0.30.5" +version = "0.30.6" description = "The lightning-fast ASGI server." optional = false python-versions = ">=3.8" files = [ - {file = "uvicorn-0.30.5-py3-none-any.whl", hash = "sha256:b2d86de274726e9878188fa07576c9ceeff90a839e2b6e25c917fe05f5a6c835"}, - {file = "uvicorn-0.30.5.tar.gz", hash = "sha256:ac6fdbd4425c5fd17a9fe39daf4d4d075da6fdc80f653e5894cdc2fd98752bee"}, + {file = "uvicorn-0.30.6-py3-none-any.whl", hash = "sha256:65fd46fe3fda5bdc1b03b94eb634923ff18cd35b2f084813ea79d1f103f711b5"}, + {file = "uvicorn-0.30.6.tar.gz", hash = "sha256:4b15decdda1e72be08209e860a1e10e92439ad5b97cf44cc945fcbee66fc5788"}, ] [package.dependencies] @@ -2723,4 +2723,4 @@ multidict = ">=4.0" [metadata] lock-version = "2.0" python-versions = "^3.10" -content-hash = "1d3904dfdc2eb84594324159e115679eae70998e75db3141446911231566e581" +content-hash = "04cf141d493cca84ffcd2e5f30fb61753d59b5ce1e699f419af7e6a2140da377" diff --git a/pyproject.toml b/pyproject.toml index 922e2ab..f28d9bf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "bento-authorization-service" -version = "0.9.3" +version = "0.9.4" description = "Permissions and authorization service for the Bento platform." authors = ["David Lougheed "] license = "LGPL-3.0-only" @@ -13,7 +13,7 @@ bento_authz = "bento_authorization_service.cli:main_sync" [tool.poetry.dependencies] python = "^3.10" aiodns = "^3.2.0" -aiofiles = "^23.2.1" +aiofiles = "^24.1.0" aiohttp = "^3.10.3" asyncpg = "^0.29.0" bento-lib = {extras = ["fastapi"], version = "^11.12.0"}