Skip to content

Commit

Permalink
chore: update python version
Browse files Browse the repository at this point in the history
  • Loading branch information
psegedy committed Jan 22, 2024
1 parent 9790f4f commit 0817a6c
Show file tree
Hide file tree
Showing 6 changed files with 90 additions and 319 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/safety.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9]
python-version: [3.11]
poetry-version: [1.5]
steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.9]
python-version: [3.11]
env:
PGPORT: "5433"
steps:
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ ARG VAR_RPMS=""
RUN microdnf module enable postgresql:12 && \
microdnf module enable nginx:1.20 && \
microdnf install --setopt=install_weak_deps=0 --setopt=tsflags=nodocs \
python39 python39-pip python3-rpm which nginx rpm-devel git-core shadow-utils diffutils systemd libicu postgresql go-toolset \
python311 python3.11-pip python3-rpm which nginx rpm-devel git-core shadow-utils diffutils systemd libicu postgresql go-toolset \
$VAR_RPMS && \
ln -s /usr/lib64/python3.6/site-packages/rpm /usr/lib64/python3.9/site-packages/rpm && \
ln -s /usr/lib64/python3.6/site-packages/rpm /usr/lib64/python3.11/site-packages/rpm && \
microdnf clean all

WORKDIR /vmaas
Expand Down
Loading

0 comments on commit 0817a6c

Please sign in to comment.