Skip to content

Commit

Permalink
deps: require Python 3.10+
Browse files Browse the repository at this point in the history
Signed-off-by: Sumner Evans <[email protected]>
  • Loading branch information
sumnerevans committed Jan 19, 2024
1 parent 8912fc2 commit 169f1ab
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM docker.io/alpine:3.17
FROM docker.io/alpine:3.19

ARG TARGETARCH=amd64

Expand Down Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@

install_requires=install_requires,
extras_require=extras_require,
python_requires="~=3.9",
python_requires=">=3.10",

keywords=["matrix", "LinkedIn"],

Expand All @@ -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"],
Expand Down

0 comments on commit 169f1ab

Please sign in to comment.