-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
renovate, remove python<3.8 and django<4.2 support
- Loading branch information
Showing
9 changed files
with
102 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
FROM debian:bookworm | ||
|
||
ENV PYTHONUNBUFFERED 1 | ||
ENV LC_ALL=C.UTF-8 | ||
ARG DEBIAN_FRONTEND=noninteractive | ||
|
||
RUN apt-get -y update && apt-get -y install \ | ||
build-essential \ | ||
gcc \ | ||
python3-venv \ | ||
python3-dev \ | ||
libffi-dev \ | ||
libssl-dev \ | ||
&& \ | ||
apt-get clean && \ | ||
mkdir /app && \ | ||
useradd -m app | ||
|
||
USER app | ||
|
||
WORKDIR /app | ||
|
||
ADD requirements.txt /app/ | ||
|
||
ENV PATH /home/app/venv/bin:${PATH} | ||
|
||
RUN python3 -m venv ~/venv && \ | ||
pip install --upgrade pip && \ | ||
pip install wheel && \ | ||
pip install -r requirements.txt && \ | ||
pip install Django | ||
|
||
ENV DJANGO_SETTINGS_MODULE tests.settings | ||
|
||
EXPOSE 8000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
services: | ||
app: | ||
build: . | ||
user: app | ||
command: /app/manage.py test | ||
volumes: | ||
- .:/app | ||
environment: | ||
IPYTHONDIR: /app/.ipython | ||
HISTFILE: /app/.bash_history | ||
restart: "no" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
django-model-utils>=2.0,<5.0.0 | ||
# Additional requirements go here | ||
faker>=0.8.0 | ||
coverage==6.5.0 | ||
coveralls==3.3.1 | ||
factory_boy==3.3.0 | ||
faker==26.0.0 | ||
flake8>=7.1.0 | ||
mock==5.1.0 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,6 +50,7 @@ | |
"django.contrib.sessions", | ||
"django.contrib.sites", | ||
"django_scrubber", | ||
"tests", | ||
] | ||
|
||
SITE_ID = 1 | ||
|