mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-09 14:34:53 +03:00
Merge remote-tracking branch 'upstream/pyup-update-django-stubs-4.2.6-to-4.2.7' into pyup-update-mypy-1.6.1-to-1.7.1
# Conflicts: # {{cookiecutter.project_slug}}/requirements/local.txt
This commit is contained in:
commit
cf6cfb0c90
10
.github/contributors.json
vendored
10
.github/contributors.json
vendored
|
@ -1478,5 +1478,15 @@
|
||||||
"name": "Christian Jauvin",
|
"name": "Christian Jauvin",
|
||||||
"github_login": "cjauvin",
|
"github_login": "cjauvin",
|
||||||
"twitter_username": ""
|
"twitter_username": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Plurific",
|
||||||
|
"github_login": "paulschwenn",
|
||||||
|
"twitter_username": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "GitBib",
|
||||||
|
"github_login": "GitBib",
|
||||||
|
"twitter_username": ""
|
||||||
}
|
}
|
||||||
]
|
]
|
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -110,6 +110,6 @@ jobs:
|
||||||
run: pip install -r requirements.txt
|
run: pip install -r requirements.txt
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: "18"
|
node-version: "20"
|
||||||
- name: Bare Metal ${{ matrix.script.name }}
|
- name: Bare Metal ${{ matrix.script.name }}
|
||||||
run: sh tests/test_bare.sh ${{ matrix.script.args }}
|
run: sh tests/test_bare.sh ${{ matrix.script.args }}
|
||||||
|
|
3
.github/workflows/issue-manager.yml
vendored
3
.github/workflows/issue-manager.yml
vendored
|
@ -29,12 +29,15 @@ jobs:
|
||||||
config: >
|
config: >
|
||||||
{
|
{
|
||||||
"answered": {
|
"answered": {
|
||||||
|
"delay": 864000,
|
||||||
"message": "Assuming the question was answered, this will be automatically closed now."
|
"message": "Assuming the question was answered, this will be automatically closed now."
|
||||||
},
|
},
|
||||||
"solved": {
|
"solved": {
|
||||||
|
"delay": 864000,
|
||||||
"message": "Assuming the original issue was solved, it will be automatically closed now."
|
"message": "Assuming the original issue was solved, it will be automatically closed now."
|
||||||
},
|
},
|
||||||
"waiting": {
|
"waiting": {
|
||||||
|
"delay": 864000,
|
||||||
"message": "Automatically closing after waiting for additional info. To re-open, please provide the additional information requested."
|
"message": "Automatically closing after waiting for additional info. To re-open, please provide the additional information requested."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
56
CHANGELOG.md
56
CHANGELOG.md
|
@ -3,6 +3,62 @@ All enhancements and patches to Cookiecutter Django will be documented in this f
|
||||||
|
|
||||||
<!-- GENERATOR_PLACEHOLDER -->
|
<!-- GENERATOR_PLACEHOLDER -->
|
||||||
|
|
||||||
|
## 2023.12.04
|
||||||
|
|
||||||
|
|
||||||
|
### Updated
|
||||||
|
|
||||||
|
- Update django to 4.2.8 ([#4713](https://github.com/cookiecutter/cookiecutter-django/pull/4713))
|
||||||
|
|
||||||
|
- Bump node from 18 to 20 ([#4283](https://github.com/cookiecutter/cookiecutter-django/pull/4283))
|
||||||
|
|
||||||
|
- Update psycopg to 3.1.14 ([#4711](https://github.com/cookiecutter/cookiecutter-django/pull/4711))
|
||||||
|
|
||||||
|
## 2023.12.02
|
||||||
|
|
||||||
|
|
||||||
|
### Updated
|
||||||
|
|
||||||
|
- Update mailpit to latest ([#4710](https://github.com/cookiecutter/cookiecutter-django/pull/4710))
|
||||||
|
|
||||||
|
## 2023.11.30
|
||||||
|
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- Removed tmp mount in devcontainer.json. Fix #4686 ([#4708](https://github.com/cookiecutter/cookiecutter-django/pull/4708))
|
||||||
|
|
||||||
|
### Updated
|
||||||
|
|
||||||
|
- Bump traefik from 2.10.5 to 2.10.6 ([#4706](https://github.com/cookiecutter/cookiecutter-django/pull/4706))
|
||||||
|
|
||||||
|
## 2023.11.29
|
||||||
|
|
||||||
|
|
||||||
|
### Updated
|
||||||
|
|
||||||
|
- Update sentry-sdk to 1.38.0 ([#4705](https://github.com/cookiecutter/cookiecutter-django/pull/4705))
|
||||||
|
|
||||||
|
## 2023.11.28
|
||||||
|
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- Excludes devcontainer.json from the pre-commit ([#4702](https://github.com/cookiecutter/cookiecutter-django/pull/4702))
|
||||||
|
|
||||||
|
### Updated
|
||||||
|
|
||||||
|
- Update sphinx-rtd-theme to 2.0.0 ([#4700](https://github.com/cookiecutter/cookiecutter-django/pull/4700))
|
||||||
|
|
||||||
|
## 2023.11.24
|
||||||
|
|
||||||
|
|
||||||
|
### Updated
|
||||||
|
|
||||||
|
- Update sentry-sdk to 1.37.1 ([#4696](https://github.com/cookiecutter/cookiecutter-django/pull/4696))
|
||||||
|
|
||||||
|
- Update sentry-sdk to 1.37.0 ([#4695](https://github.com/cookiecutter/cookiecutter-django/pull/4695))
|
||||||
|
|
||||||
## 2023.11.22
|
## 2023.11.22
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -873,6 +873,13 @@ Listed in alphabetical order.
|
||||||
</td>
|
</td>
|
||||||
<td></td>
|
<td></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>GitBib</td>
|
||||||
|
<td>
|
||||||
|
<a href="https://github.com/GitBib">GitBib</a>
|
||||||
|
</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Glenn Wiskur</td>
|
<td>Glenn Wiskur</td>
|
||||||
<td>
|
<td>
|
||||||
|
@ -1650,6 +1657,13 @@ Listed in alphabetical order.
|
||||||
</td>
|
</td>
|
||||||
<td></td>
|
<td></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>Plurific</td>
|
||||||
|
<td>
|
||||||
|
<a href="https://github.com/paulschwenn">paulschwenn</a>
|
||||||
|
</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Raony Guimarães Corrêa</td>
|
<td>Raony Guimarães Corrêa</td>
|
||||||
<td>
|
<td>
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
sphinx==7.2.6
|
sphinx==7.2.6
|
||||||
sphinx-rtd-theme==1.3.0
|
sphinx-rtd-theme==2.0.0
|
||||||
myst-parser==2.0.0
|
myst-parser==2.0.0
|
||||||
|
|
|
@ -13,7 +13,7 @@ pre-commit==3.5.0
|
||||||
|
|
||||||
# Testing
|
# Testing
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
tox==4.11.3
|
tox==4.11.4
|
||||||
pytest==7.4.3
|
pytest==7.4.3
|
||||||
pytest-xdist==3.5.0
|
pytest-xdist==3.5.0
|
||||||
pytest-cookies==0.7.0
|
pytest-cookies==0.7.0
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -5,7 +5,7 @@ except ImportError:
|
||||||
from distutils.core import setup
|
from distutils.core import setup
|
||||||
|
|
||||||
# We use calendar versioning
|
# We use calendar versioning
|
||||||
version = "2023.11.22"
|
version = "2023.12.04"
|
||||||
|
|
||||||
with open("README.md") as readme_file:
|
with open("README.md") as readme_file:
|
||||||
long_description = readme_file.read()
|
long_description = readme_file.read()
|
||||||
|
|
|
@ -11,11 +11,6 @@
|
||||||
"target": "/home/dev-user/.bash_history",
|
"target": "/home/dev-user/.bash_history",
|
||||||
"type": "bind"
|
"type": "bind"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"source": "/tmp",
|
|
||||||
"target": "/tmp",
|
|
||||||
"type": "bind"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"source": "~/.ssh",
|
"source": "~/.ssh",
|
||||||
"target": "/home/dev-user/.ssh",
|
"target": "/home/dev-user/.ssh",
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
exclude: '^docs/|/migrations/'
|
exclude: '^docs/|/migrations/|devcontainer.json'
|
||||||
default_stages: [commit]
|
default_stages: [commit]
|
||||||
|
|
||||||
repos:
|
repos:
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM node:18-bullseye-slim
|
FROM node:20-bullseye-slim
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{% if cookiecutter.frontend_pipeline in ['Gulp', 'Webpack'] -%}
|
{% if cookiecutter.frontend_pipeline in ['Gulp', 'Webpack'] -%}
|
||||||
FROM node:18-bullseye-slim as client-builder
|
FROM node:20-bullseye-slim as client-builder
|
||||||
|
|
||||||
ARG APP_HOME=/app
|
ARG APP_HOME=/app
|
||||||
WORKDIR ${APP_HOME}
|
WORKDIR ${APP_HOME}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM traefik:2.10.5
|
FROM traefik:2.10.6
|
||||||
RUN mkdir -p /etc/traefik/acme \
|
RUN mkdir -p /etc/traefik/acme \
|
||||||
&& touch /etc/traefik/acme/acme.json \
|
&& touch /etc/traefik/acme/acme.json \
|
||||||
&& chmod 600 /etc/traefik/acme/acme.json
|
&& chmod 600 /etc/traefik/acme/acme.json
|
||||||
|
|
|
@ -58,7 +58,7 @@ services:
|
||||||
{%- if cookiecutter.use_mailpit == 'y' %}
|
{%- if cookiecutter.use_mailpit == 'y' %}
|
||||||
|
|
||||||
mailpit:
|
mailpit:
|
||||||
image: axllent/mailpit:v1.8
|
image: axllent/mailpit:latest
|
||||||
container_name: {{ cookiecutter.project_slug }}_local_mailpit
|
container_name: {{ cookiecutter.project_slug }}_local_mailpit
|
||||||
ports:
|
ports:
|
||||||
- "8025:8025"
|
- "8025:8025"
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
"webpack-merge": "^5.8.0"
|
"webpack-merge": "^5.8.0"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "18"
|
"node": "20"
|
||||||
},
|
},
|
||||||
"browserslist": [
|
"browserslist": [
|
||||||
"last 2 versions"
|
"last 2 versions"
|
||||||
|
|
|
@ -28,7 +28,7 @@ uvicorn[standard]==0.24.0.post1 # https://github.com/encode/uvicorn
|
||||||
|
|
||||||
# Django
|
# Django
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
django==4.2.7 # pyup: < 5.0 # https://www.djangoproject.com/
|
django==4.2.8 # pyup: < 5.0 # https://www.djangoproject.com/
|
||||||
django-environ==0.11.2 # https://github.com/joke2k/django-environ
|
django-environ==0.11.2 # https://github.com/joke2k/django-environ
|
||||||
django-model-utils==4.3.1 # https://github.com/jazzband/django-model-utils
|
django-model-utils==4.3.1 # https://github.com/jazzband/django-model-utils
|
||||||
django-allauth==0.58.2 # https://github.com/pennersr/django-allauth
|
django-allauth==0.58.2 # https://github.com/pennersr/django-allauth
|
||||||
|
|
|
@ -3,9 +3,9 @@
|
||||||
Werkzeug[watchdog]==3.0.1 # https://github.com/pallets/werkzeug
|
Werkzeug[watchdog]==3.0.1 # https://github.com/pallets/werkzeug
|
||||||
ipdb==0.13.13 # https://github.com/gotcha/ipdb
|
ipdb==0.13.13 # https://github.com/gotcha/ipdb
|
||||||
{%- if cookiecutter.use_docker == 'y' %}
|
{%- if cookiecutter.use_docker == 'y' %}
|
||||||
psycopg[c]==3.1.13 # https://github.com/psycopg/psycopg
|
psycopg[c]==3.1.14 # https://github.com/psycopg/psycopg
|
||||||
{%- else %}
|
{%- else %}
|
||||||
psycopg[binary]==3.1.13 # https://github.com/psycopg/psycopg
|
psycopg[binary]==3.1.14 # https://github.com/psycopg/psycopg
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
{%- if cookiecutter.use_async == 'y' or cookiecutter.use_celery == 'y' %}
|
{%- if cookiecutter.use_async == 'y' or cookiecutter.use_celery == 'y' %}
|
||||||
watchfiles==0.21.0 # https://github.com/samuelcolvin/watchfiles
|
watchfiles==0.21.0 # https://github.com/samuelcolvin/watchfiles
|
||||||
|
@ -14,7 +14,7 @@ watchfiles==0.21.0 # https://github.com/samuelcolvin/watchfiles
|
||||||
# Testing
|
# Testing
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
mypy==1.7.1 # https://github.com/python/mypy
|
mypy==1.7.1 # https://github.com/python/mypy
|
||||||
django-stubs[compatible-mypy]==4.2.6 # https://github.com/typeddjango/django-stubs
|
django-stubs[compatible-mypy]==4.2.7 # https://github.com/typeddjango/django-stubs
|
||||||
pytest==7.4.3 # https://github.com/pytest-dev/pytest
|
pytest==7.4.3 # https://github.com/pytest-dev/pytest
|
||||||
pytest-sugar==0.9.7 # https://github.com/Frozenball/pytest-sugar
|
pytest-sugar==0.9.7 # https://github.com/Frozenball/pytest-sugar
|
||||||
{%- if cookiecutter.use_drf == "y" %}
|
{%- if cookiecutter.use_drf == "y" %}
|
||||||
|
|
|
@ -3,12 +3,12 @@
|
||||||
-r base.txt
|
-r base.txt
|
||||||
|
|
||||||
gunicorn==21.2.0 # https://github.com/benoitc/gunicorn
|
gunicorn==21.2.0 # https://github.com/benoitc/gunicorn
|
||||||
psycopg[c]==3.1.13 # https://github.com/psycopg/psycopg
|
psycopg[c]==3.1.14 # https://github.com/psycopg/psycopg
|
||||||
{%- if cookiecutter.use_whitenoise == 'n' %}
|
{%- if cookiecutter.use_whitenoise == 'n' %}
|
||||||
Collectfast==2.2.0 # https://github.com/antonagestam/collectfast
|
Collectfast==2.2.0 # https://github.com/antonagestam/collectfast
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
{%- if cookiecutter.use_sentry == "y" %}
|
{%- if cookiecutter.use_sentry == "y" %}
|
||||||
sentry-sdk==1.36.0 # https://github.com/getsentry/sentry-python
|
sentry-sdk==1.38.0 # https://github.com/getsentry/sentry-python
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
{%- if cookiecutter.use_docker == "n" and cookiecutter.windows == "y" %}
|
{%- if cookiecutter.use_docker == "n" and cookiecutter.windows == "y" %}
|
||||||
hiredis==2.2.3 # https://github.com/redis/hiredis-py
|
hiredis==2.2.3 # https://github.com/redis/hiredis-py
|
||||||
|
|
Loading…
Reference in New Issue
Block a user