Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade python, v3.10 => v3.11 #118

Merged
merged 3 commits into from
Jul 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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