diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 3f84ee4..40b9c77 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -10,7 +10,7 @@ on: - created env: - PYTHON_VERSION: 3.9 + PYTHON_VERSION: 3.11 BEEPER_BRIDGE_TYPE: linkedin CI_REGISTRY_IMAGE: "${{ secrets.CI_REGISTRY }}/bridge/linkedin" GHCR_REGISTRY: ghcr.io diff --git a/Dockerfile b/Dockerfile index 075429f..915c1cc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM docker.io/alpine:3.17 +FROM docker.io/alpine:3.19 ARG TARGETARCH=amd64 @@ -30,11 +30,11 @@ COPY optional-requirements.txt /opt/linkedin-matrix/optional-requirements.txt WORKDIR /opt/linkedin-matrix RUN apk add --virtual .build-deps python3-dev libffi-dev build-base \ - && pip3 install --no-cache-dir -r requirements.txt -r optional-requirements.txt \ + && pip3 install --break-system-packages --no-cache-dir -r requirements.txt -r optional-requirements.txt \ && apk del .build-deps COPY . /opt/linkedin-matrix -RUN apk add --no-cache git && pip3 install --no-cache-dir .[e2be] && apk del git \ +RUN apk add --no-cache git && pip3 install --break-system-packages --no-cache-dir .[e2be] && apk del git \ # This doesn't make the image smaller, but it's needed so that the `version` command works properly && cp linkedin_matrix/example-config.yaml . && rm -rf linkedin_matrix .git build diff --git a/setup.py b/setup.py index c3ab146..6350540 100644 --- a/setup.py +++ b/setup.py @@ -51,7 +51,7 @@ install_requires=install_requires, extras_require=extras_require, - python_requires="~=3.9", + python_requires=">=3.10", keywords=["matrix", "LinkedIn"], @@ -62,8 +62,8 @@ "Framework :: AsyncIO", "Programming Language :: Python", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", ], package_data={ "linkedin_matrix": ["example-config.yaml"],