Skip to content

Commit

Permalink
Merge pull request #322 from HebaruSan/update/python
Browse files Browse the repository at this point in the history
Update to Python 3.11
  • Loading branch information
HebaruSan authored Dec 16, 2023
2 parents 4792389 + bedc049 commit bd6dd22
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v1
with:
python-version: 3.7
python-version: 3.11
- name: Install test dependencies
run: pip install .[test]
- name: force our git config
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,10 @@ jobs:
needs: [ 'build', 'webhooks' ]
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.7
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: 3.7
python-version: 3.11
- name: Install Dependencies
run: |
pip install netkan/.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v1
with:
python-version: 3.7
python-version: 3.11
- name: Install test dependencies
working-directory: netkan
run: pip install .[test]
Expand Down
4 changes: 2 additions & 2 deletions netkan/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.7 as base
FROM python:3.11 as base
RUN useradd -ms /bin/bash netkan
ADD . /netkan
WORKDIR /netkan
Expand All @@ -7,7 +7,7 @@ RUN chown -R netkan:netkan /netkan
USER netkan
RUN pip install --user . --no-warn-script-location

FROM python:3.7 as production
FROM python:3.11 as production
COPY --from=base /home/netkan /home/netkan
RUN useradd -Ms /bin/bash netkan
RUN chown -R netkan:netkan /home/netkan
Expand Down

0 comments on commit bd6dd22

Please sign in to comment.