File tree Expand file tree Collapse file tree 6 files changed +17
-14
lines changed
Expand file tree Collapse file tree 6 files changed +17
-14
lines changed Original file line number Diff line number Diff line change 3131 # expanded using subsequent `include` items.
3232 matrix :
3333 os : ["ubuntu-latest"]
34- python-version : ["3.10 "]
34+ python-version : ["3.12 "]
3535 bare : [false]
3636
3737 defaults :
Original file line number Diff line number Diff line change @@ -68,5 +68,8 @@ target/
6868# PyCharm
6969.idea
7070
71+ # Dockerfile
72+ docker-compose.yml
73+
7174# Apprise Gateway Variable/Test Configuration
7275apprise_gw /var /*
Original file line number Diff line number Diff line change 1- FROM python:3.11 -slim AS base
1+ FROM python:3.12 -slim AS base
22
33# set version label
44ARG BUILD_DATE
Original file line number Diff line number Diff line change 2727# POSSIBILITY OF SUCH DAMAGE.
2828
2929# Base
30- FROM python:3.10-buster
30+ FROM python:3.12
3131RUN apt-get update && \
3232 apt-get install -y --no-install-recommends build-essential musl-dev bash && \
3333 rm -rf /var/lib/apt/lists/*
@@ -38,7 +38,7 @@ WORKDIR /apprise-api
3838COPY requirements.txt /
3939COPY dev-requirements.txt /
4040ENV PYTHONPATH /apprise-api
41- ENV PYTHONPYCACHEPREFIX /apprise-api/__pycache__/py310
41+ ENV PYTHONPYCACHEPREFIX /apprise-api/__pycache__/py312
4242
4343RUN pip install --no-cache-dir -r /requirements.txt -r /dev-requirements.txt
4444
Original file line number Diff line number Diff line change @@ -35,11 +35,11 @@ services:
3535 # #
3636 # # > Host service (visit http://localhost on host pc to access):
3737 # # ./manage.py runserver 0.0.0.0:8000
38- test.py310 :
39- ports :
40- - 8000:8000
41- build :
42- context : .
43- dockerfile : Dockerfile.py310
44- volumes :
45- - ./:/apprise-api
38+ # test.py312 :
39+ # ports:
40+ # - 8000:8000
41+ # build:
42+ # context: .
43+ # dockerfile: Dockerfile.py312
44+ # volumes:
45+ # - ./:/apprise-api
Original file line number Diff line number Diff line change 11[tox]
2- envlist = py311 ,coverage-report
2+ envlist = py312 ,coverage-report
33skipsdist = true
44
55[testenv]
@@ -14,7 +14,7 @@ commands =
1414 coverage run --parallel -m pytest {posargs} apprise_api
1515 flake8 apprise_api --count --show-source --statistics
1616
17- [testenv:py311 ]
17+ [testenv:py312 ]
1818deps =
1919 -r{toxinidir}/requirements.txt
2020 -r{toxinidir}/dev-requirements.txt
You can’t perform that action at this time.
0 commit comments