From 72cbf1701bfb4d45f2461df31643bd98fa877aec Mon Sep 17 00:00:00 2001 From: callebtc <93376500+callebtc@users.noreply.github.com> Date: Tue, 9 Jul 2024 16:33:30 +0200 Subject: [PATCH] update requirements and docker build --- .github/workflows/docker.yaml | 15 +++++----- requirements.txt | 53 ++++++++++++++++++++--------------- 2 files changed, 38 insertions(+), 30 deletions(-) diff --git a/.github/workflows/docker.yaml b/.github/workflows/docker.yaml index 3869d657..2ad3e5fc 100644 --- a/.github/workflows/docker.yaml +++ b/.github/workflows/docker.yaml @@ -29,13 +29,12 @@ jobs: restore-keys: | ${{ runner.os }}-buildx- - - name: Determine Tag - id: get_tag + - name: Determine Tags + id: get_tags run: | - if [[ "${{ github.event_name }}" == "push" ]]; then - echo "::set-output name=tag::latest" - elif [[ "${{ github.event_name }}" == "release" ]]; then - echo "::set-output name=tag::${{ github.event.release.tag_name }}" + if [[ "${{ github.event_name }}" == "release" ]]; then + echo "::set-output name=version_tag::${{ github.event.release.tag_name }}" + echo "::set-output name=latest_tag::latest" fi - name: Build and push on release @@ -43,7 +42,9 @@ jobs: with: context: . push: ${{ github.event_name == 'release' && github.event.action == 'released' }} - tags: ${{ secrets.DOCKER_USERNAME }}/${{ github.event.repository.name }}:${{ steps.get_tag.outputs.tag }} + tags: | + ${{ secrets.DOCKER_USERNAME }}/${{ github.event.repository.name }}:${{ steps.get_tags.outputs.version_tag }} + ${{ secrets.DOCKER_USERNAME }}/${{ github.event.repository.name }}:${{ steps.get_tags.outputs.latest_tag }} platforms: linux/amd64,linux/arm64 cache-from: type=local,src=/tmp/.buildx-cache cache-to: type=local,dest=/tmp/.buildx-cache diff --git a/requirements.txt b/requirements.txt index d972e9dc..7139a70b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,56 +1,63 @@ +aiosqlite==0.20.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" anyio==3.7.1 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" asn1crypto==1.5.1 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" -attrs==23.2.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" +async-timeout==4.0.3 ; python_full_version >= "3.8.1" and python_version < "3.12.0" +asyncpg==0.29.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" base58==2.1.1 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" bech32==1.2.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" bip32==3.4 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" bitstring==3.1.9 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" -bolt11==2.0.5 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" -certifi==2024.2.2 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" +bolt11==2.0.6 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" +cbor2==5.6.4 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" +certifi==2024.7.4 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" cffi==1.16.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" cfgv==3.4.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" click==8.1.7 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" coincurve==18.0.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" colorama==0.4.6 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" and (platform_system == "Windows" or sys_platform == "win32") cryptography==41.0.7 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" +deprecated==1.2.14 ; python_full_version >= "3.8.1" and python_version < "4.0" distlib==0.3.8 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" ecdsa==0.18.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" environs==9.5.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" -exceptiongroup==1.2.0 ; python_full_version >= "3.8.1" and python_version < "3.11" +exceptiongroup==1.2.1 ; python_full_version >= "3.8.1" and python_version < "3.11" fastapi==0.104.1 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" -filelock==3.13.1 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" +filelock==3.15.4 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" +greenlet==3.0.3 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" h11==0.14.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" -httpcore==1.0.3 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" +httpcore==1.0.5 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" httpx[socks]==0.25.2 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" -identify==2.5.34 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" -idna==3.6 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" +identify==2.6.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" +idna==3.7 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" importlib-metadata==6.11.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" +importlib-resources==6.4.0 ; python_full_version >= "3.8.1" and python_version < "4.0" +limits==3.13.0 ; python_full_version >= "3.8.1" and python_version < "4.0" loguru==0.7.2 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" -marshmallow==3.20.2 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" +marshmallow==3.21.3 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" mnemonic==0.20 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" -nodeenv==1.8.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" -outcome==1.3.0.post0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" -packaging==23.2 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" -platformdirs==4.2.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" +nodeenv==1.9.1 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" +packaging==24.1 ; python_full_version >= "3.8.1" and python_version < "4.0" +platformdirs==4.2.2 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" pre-commit==3.5.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" -pycparser==2.21 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" +pycparser==2.22 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" pycryptodomex==3.20.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" -pydantic==1.10.14 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" +pydantic==1.10.17 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" python-dotenv==1.0.1 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" pyyaml==6.0.1 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" -represent==2.1 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" secp256k1==0.14.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" setuptools==68.2.2 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" six==1.16.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" -sniffio==1.3.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" +slowapi==0.1.9 ; python_full_version >= "3.8.1" and python_version < "4.0" +sniffio==1.3.1 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" socksio==1.0.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" -sqlalchemy-aio==0.17.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" -sqlalchemy==1.3.24 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" +sqlalchemy[asyncio]==1.4.52 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" starlette==0.27.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" -typing-extensions==4.9.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" +typing-extensions==4.12.2 ; python_full_version >= "3.8.1" and python_version < "4.0" uvicorn==0.23.2 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" -virtualenv==20.25.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" -websocket-client==1.7.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" +virtualenv==20.26.3 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" +websocket-client==1.8.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" +websockets==12.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" wheel==0.41.3 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" win32-setctime==1.1.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" and sys_platform == "win32" -zipp==3.17.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" +wrapt==1.16.0 ; python_full_version >= "3.8.1" and python_version < "4.0" +zipp==3.19.2 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"