Skip to content

Commit

Permalink
Upgrade python, v3.10 => v3.11 (#118)
Browse files Browse the repository at this point in the history
* build: Upgrade python, v3.10 => v3.11

* build: Bump python classifiers in pyproj

* ci: Use python 3.11 in github workflow
  • Loading branch information
bdewilde authored Jul 13, 2024
1 parent a4dd491 commit 681cef8
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.10",]
python-version: ["3.10", "3.11"]
# TODO: also run on macos-latest pending docker/colima issue
os: [ubuntu-latest]

Expand Down Expand Up @@ -84,7 +84,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
python-version: "3.11"
cache: "pip"
cache-dependency-path: "pyproject.toml"
- name: Install dependencies
Expand All @@ -101,7 +101,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
python-version: "3.11"
cache: "pip"
cache-dependency-path: "pyproject.toml"
- name: Install dependencies
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.api
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM python:3.10-slim AS base
FROM python:3.11-slim AS base

ENV COLANDR_APP_DIR /app
RUN mkdir -p ${COLANDR_APP_DIR}
WORKDIR ${COLANDR_APP_DIR}

RUN apt update \
&& apt install -y gcc git \
&& apt install -y g++ git \
&& apt clean \
&& rm -rf /var/lib/apt/lists/* /usr/share/doc /usr/share/man

Expand Down
6 changes: 3 additions & 3 deletions Dockerfile.worker
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM python:3.10-slim AS base
FROM python:3.11-slim AS base

ENV COLANDR_APP_DIR /app
RUN mkdir -p ${COLANDR_APP_DIR}
WORKDIR ${COLANDR_APP_DIR}

RUN apt update \
&& apt install -y gcc git \
&& apt install -y g++ git \
&& apt clean \
&& rm -rf /var/lib/apt/lists/* /usr/share/doc /usr/share/man

Expand All @@ -25,4 +25,4 @@ COPY . .

CMD ["celery", "--app=make_celery.celery_app", "worker", "--loglevel=info"]

#CMD ["tail", "-f", "/dev/null"]
#CMD ["tail", "-f", "/dev/null"]
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
dependencies = [
"alembic~=1.13.0",
Expand Down

0 comments on commit 681cef8

Please sign in to comment.