File tree 6 files changed +17
-14
lines changed
6 files changed +17
-14
lines changed Original file line number Diff line number Diff line change 31
31
# expanded using subsequent `include` items.
32
32
matrix :
33
33
os : ["ubuntu-latest"]
34
- python-version : ["3.10 "]
34
+ python-version : ["3.12 "]
35
35
bare : [false]
36
36
37
37
defaults :
Original file line number Diff line number Diff line change @@ -68,5 +68,8 @@ target/
68
68
# PyCharm
69
69
.idea
70
70
71
+ # Dockerfile
72
+ docker-compose.yml
73
+
71
74
# Apprise Gateway Variable/Test Configuration
72
75
apprise_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
2
2
3
3
# set version label
4
4
ARG BUILD_DATE
Original file line number Diff line number Diff line change 27
27
# POSSIBILITY OF SUCH DAMAGE.
28
28
29
29
# Base
30
- FROM python:3.10-buster
30
+ FROM python:3.12
31
31
RUN apt-get update && \
32
32
apt-get install -y --no-install-recommends build-essential musl-dev bash && \
33
33
rm -rf /var/lib/apt/lists/*
@@ -38,7 +38,7 @@ WORKDIR /apprise-api
38
38
COPY requirements.txt /
39
39
COPY dev-requirements.txt /
40
40
ENV PYTHONPATH /apprise-api
41
- ENV PYTHONPYCACHEPREFIX /apprise-api/__pycache__/py310
41
+ ENV PYTHONPYCACHEPREFIX /apprise-api/__pycache__/py312
42
42
43
43
RUN pip install --no-cache-dir -r /requirements.txt -r /dev-requirements.txt
44
44
Original file line number Diff line number Diff line change @@ -35,11 +35,11 @@ services:
35
35
# #
36
36
# # > Host service (visit http://localhost on host pc to access):
37
37
# # ./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 1
1
[tox]
2
- envlist = py311 ,coverage-report
2
+ envlist = py312 ,coverage-report
3
3
skipsdist = true
4
4
5
5
[testenv]
@@ -14,7 +14,7 @@ commands =
14
14
coverage run --parallel -m pytest {posargs} apprise_api
15
15
flake8 apprise_api --count --show-source --statistics
16
16
17
- [testenv:py311 ]
17
+ [testenv:py312 ]
18
18
deps =
19
19
-r{toxinidir}/requirements.txt
20
20
-r{toxinidir}/dev-requirements.txt
You can’t perform that action at this time.
0 commit comments