Jelmer
6c64a810b4
Merge pull request #5327 from foarsitter/wait_for_it
...
Use wait-for-it in favor of the custom python script when waiting for postgres
2024-10-05 13:26:44 +02:00
dependabot[bot]
ec499fa0ac
Bump python from 3.12.6 to 3.12.7 in local Docker image ( #5415 )
...
Bumps python from 3.12.6-slim-bookworm to 3.12.7-slim-bookworm.
---
updated-dependencies:
- dependency-name: python
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-02 12:18:54 +01:00
dependabot[bot]
4865e056c5
Bump python to 3.12.6 in local Docker ( #5370 )
2024-09-10 10:05:08 +01:00
jelmert
6f3b72d691
Use wait-for-it in favor of the custom python script when waiting for postgres
2024-08-27 13:23:06 +02:00
dependabot[bot]
774176f9be
Bump python in /{{cookiecutter.project_slug}}/compose/local/django
...
Bumps python from 3.12.4-slim-bookworm to 3.12.5-slim-bookworm.
---
updated-dependencies:
- dependency-name: python
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-08 06:32:52 -03:00
Fabio C. Barrionuevo da Luz
cb103ce28d
Use "ENV key=value" instead of "ENV key value" in Dockerfiles
...
The old syntax for ENV and LABEL is marked as deprecated in docker buildx v0.14.0
https://docs.docker.com/reference/build-checks/legacy-key-value-format/
https://github.com/moby/buildkit/pull/4923
2024-07-19 06:06:47 -03:00
Bruno Alla
1f82072d5b
Fix keywords case warning in Dockerfile
...
Recently noticed the following warning in my Docker builds:
> WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match
I don't think it's causing any harm, apart perhaps some small noise in the logs.
2024-06-26 09:14:25 -03:00
Arnav Choudhury
401ffd0e86
Update start-flower in flower to wait until all celery workers are online ( #5012 )
...
Flower needs to start only after the celery workers come online. Otherwise one will see errors like `inspect method failed` etc
2024-06-15 23:55:43 +01:00
dependabot[bot]
c11d5519d6
Bump python in /{{cookiecutter.project_slug}}/compose/local/django
...
Bumps python from 3.12.3-slim-bookworm to 3.12.4-slim-bookworm.
---
updated-dependencies:
- dependency-name: python
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-06-14 14:00:10 -03:00
dependabot[bot]
df0d91c873
Bump python from 3.12.2 to 3.12.3 in local ( #4981 )
...
Bumps python from 3.12.2-slim-bookworm to 3.12.3-slim-bookworm.
---
updated-dependencies:
- dependency-name: python
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-10 09:14:26 +01:00
Eraldo Energy
f4362c7676
Update mentions of psycopg in comments ( #4947 )
2024-03-26 15:47:02 +00:00
Jelmer Draaijer
b488056b63
Upgrade Python to version 3.12
2024-03-18 20:07:24 +01:00
GitBib
f39aff8b3f
Fix fully qualified docker images ( #4905 )
...
* Fix Python (docker) Docker image version not being recognized after adding registry to image names
* Fix Python (docs) Docker image version not being recognized after adding registry to image names
* Fix Python (django) Docker image version not being recognized after adding registry to image names
2024-03-06 13:50:01 +00:00
dependabot[bot]
f2c320527a
Bump python in /{{cookiecutter.project_slug}}/compose/local/django
...
Bumps python from 3.11.7-slim-bookworm to 3.11.8-slim-bookworm.
---
updated-dependencies:
- dependency-name: python
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-02-08 05:23:12 +00:00
Tim Freund
c7eded8644
Add registry to Docker images names ( #4804 )
...
Prepending docker.io/ to image names allows projects to be run in
alternate runtimes such as podman-compose without additional
configuration.
2024-01-25 09:12:07 +00:00
aiden
0618d35733
Upgrade debian to 12 bookworm ( #4745 )
...
Co-authored-by: aidenlu <aiden_lu@wochacha.com>
2023-12-19 10:43:16 +00:00
dependabot[bot]
d9a7d70899
Bump python from 3.11.6 to 3.11.7 ( #4719 )
...
* Bump python in /{{cookiecutter.project_slug}}/compose/production/django
Bumps python from 3.11.6-slim-bullseye to 3.11.7-slim-bullseye.
---
updated-dependencies:
- dependency-name: python
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* Bump python in /{{cookiecutter.project_slug}}/compose/local/django
Bumps python from 3.11.6-slim-bullseye to 3.11.7-slim-bullseye.
---
updated-dependencies:
- dependency-name: python
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* Bump python in /{{cookiecutter.project_slug}}/compose/local/docs
Bumps python from 3.11.6-slim-bullseye to 3.11.7-slim-bullseye.
---
updated-dependencies:
- dependency-name: python
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* Update Heroku runtime to 3.11.7
* Pin pre-commit Python version to 3.11
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Bruno Alla <alla.brunoo@gmail.com>
2023-12-06 09:40:04 +00:00
dependabot[bot]
c0576b6658
Bump python in /{{cookiecutter.project_slug}}/compose/local/django ( #4612 )
...
Bumps python from 3.11.5-slim-bullseye to 3.11.6-slim-bullseye.
---
updated-dependencies:
- dependency-name: python
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Fábio C. Barrionuevo da Luz <bnafta@gmail.com>
2023-10-03 09:30:03 -03:00
dependabot[bot]
3802572a88
Update Python version from 3.11.4 to 3.11.5 ( #4542 )
...
* Bump python in /{{cookiecutter.project_slug}}/compose/production/django
Bumps python from 3.11.4-slim-bullseye to 3.11.5-slim-bullseye.
---
updated-dependencies:
- dependency-name: python
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* Bump python from 3.11.4-slim-bullseye to 3.11.5-slim-bullseye in /{{cookiecutter.project_slug}}/compose/local/django (#4544 )
Bumps python from 3.11.4-slim-bullseye to 3.11.5-slim-bullseye.
---
updated-dependencies:
- dependency-name: python
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump python from 3.11.4-slim-bullseye to 3.11.5-slim-bullseye in /{{cookiecutter.project_slug}}/compose/local/docs (#4545 )
Bumps python from 3.11.4-slim-bullseye to 3.11.5-slim-bullseye.
---
updated-dependencies:
- dependency-name: python
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Update Heroku runtime to Python 3.11.5
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Bruno Alla <browniebroke@users.noreply.github.com>
2023-08-28 11:06:30 +01:00
masavini
1ed6d6e03b
VS Code Dev Container ( #4198 )
...
* decontainer setup
* update
* fix typo
* keep .envs
* add info
* typo
* minor fixes
* keep compose/production
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* add isort and lint
* choose editor and configure devcontainer
* choose editor and configure devcontainer
* add ssh client
* Remove isort arguments duplicated with base config
* End of file
* Only keep black as code formatter
* Add note about black not being accepted as formatter in devcontainer
* Avoid empty lines in devcontainer.json
* Move bash_history into .devcontainer folder
* Remove .prettierignore file
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Bruno Alla <alla.brunoo@gmail.com>
Co-authored-by: Bruno Alla <browniebroke@users.noreply.github.com>
2023-07-03 11:55:33 +02:00
dependabot[bot]
b2dfd26834
Update to Python 3.11.4 in local Docker compose ( #4380 )
...
Bumps python from 3.11.3-slim-bullseye to 3.11.4-slim-bullseye.
---
updated-dependencies:
- dependency-name: python
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-08 16:47:37 +01:00
Bruno Alla
5bf90a43a9
Replace runserver
with runserver_plus
( #4373 )
...
This reverts commit f93a9f78d9
In #4255 , `runserver_plus` was replaced by `runserver` due to some bugs in django-extensions, preventing us to upgrade Django.
In #4372 , django-extensions was upgraded to a version with a fix, so we can go back to using `runserver_plus`.
2023-06-07 17:12:01 +01:00
Bruno Alla
8d64f17494
Prevent Celery restarts on media file changes ( #4352 )
...
Fix #4318
2023-05-24 15:51:38 +01:00
Bruno Alla
15c933c206
Fix comment typos in Dockerfiles
2023-04-25 10:44:02 +02:00
Jelmer
42c30dafcb
Upgrade Python to version 3.11 (Faster CPython) ( #4256 )
...
* Upgrade Python to version 3.11 (Faster CPython)
* Update pyupgrade config for Python 3.11
* Update tox env to Python 3.11
* Update to latest Python 3.11.3
* Add a note about lack of support in PythonAnywhere
* Rephrase note
* Fix casing
---------
Co-authored-by: Bruno Alla <alla.brunoo@gmail.com>
Co-authored-by: Bruno Alla <browniebroke@users.noreply.github.com>
2023-04-15 11:42:33 +01:00
Jelmer
f93a9f78d9
Replace runserver_plus
with runserver
( #4255 )
...
* Replace runserver_plus with runserver since it is not compatible with django >= 4.1
* Replace runserver_plus with runserver in post_gen_hooks
---------
Co-authored-by: Bruno Alla <alla.brunoo@gmail.com>
2023-04-04 21:42:53 +01:00
dependabot[bot]
6554049a87
Bump Docker python image from 3.10.9-slim-bullseye to 3.10.10-slim-bullseye for local Django service ( #4212 )
...
Bumps python from 3.10.9-slim-bullseye to 3.10.10-slim-bullseye.
---
updated-dependencies:
- dependency-name: python
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-16 16:35:28 +00:00
Bruno Alla
d90f16b647
Pin base Python Docker images to bugfix ( #4194 )
...
* Pin base Python Docker images to bugfix
Fix #1810
* Skip major & minor versions of Docker images in Dependabot
* Remove argument for docs Docker image
* Update Dependabot config of generated project
2023-03-16 16:05:02 +00:00
David
77695c7c10
Fix typo in flower start for watching celery ( #3966 )
2022-11-26 11:08:39 +00:00
Chao Yang Wu
51f4374a8a
Fix graceful shutdown of local dev containers and use watchfiles for beat + flower ( #3925 )
...
Co-authored-by: Bruno Alla <alla.brunoo@gmail.com>
Co-authored-by: Bruno Alla <browniebroke@users.noreply.github.com>
2022-11-23 14:51:20 +00:00
Jelmer
4ea0e98f3f
Upgrade Python version from 3.9 to 3.10 ( #3913 )
2022-10-24 21:41:00 +01:00
monosans
9cf280d343
Reload uvicorn on html file change ( #3866 )
2022-09-23 21:28:11 +01:00
monosans
26eff14308
Switch from watchgod to watchfiles ( #3791 )
2022-07-27 00:12:18 +01:00
Jelmer Draaijer
b61c70306f
Update the docker base images from slim-buster to slim-bullseye
2021-10-26 13:40:42 +02:00
Bruno Alla
9cfb7646cb
Update command line for Flower
2021-09-03 19:20:44 +01:00
Bruno Alla
9e7320ea1b
Merge branch 'master' into fix_upgrade_py39
...
# Conflicts:
# README.rst
# {{cookiecutter.project_slug}}/.gitlab-ci.yml
# {{cookiecutter.project_slug}}/compose/local/django/Dockerfile
# {{cookiecutter.project_slug}}/compose/production/django/Dockerfile
2021-04-08 18:43:54 +01:00
Bruno Alla
e6604f9a7d
Fix style
2021-04-07 21:12:36 +01:00
Bruno Alla
5a393f1d34
Merge branch 'master' into django-multi
2021-04-07 21:06:45 +01:00
Bruno Alla
c7bb4834e0
Fix pre-commit hook issues with Docker & Celery
2021-04-07 20:57:04 +01:00
Arnav Choudhury
15453df824
Updated the local and production dockerfiles with more repeatability and easier to update in mind.
2021-02-24 10:58:28 +05:30
Bruno Alla
483b636fcb
Only indent with spaces in django Dockerfile
2021-02-23 20:36:52 +00:00
Bruno Alla
ff98d8f517
Remove --use-feature=2020-resolver in pip commands
...
They are now the default and cause a warning:
WARNING: --use-feature=2020-resolver no longer has any effect, since it is now the default dependency resolver in pip. This will become an error in pip 21.0.
2021-02-23 20:34:41 +00:00
Bruno Alla
25000e1015
Merge branch 'master' into django-multi
2021-02-23 20:09:58 +00:00
areski
a1d551d067
Update from Python3.8 to Python3.9
2021-01-26 16:13:27 +01:00
Arnav Choudhury
4a52845a26
Replaced copying python package directories with wheel files which are then used to install all requirements. This way the generated images would be a lot more stable as well. Size increases by 2-3mb though
2020-09-16 15:24:16 +05:30
Arnav Choudhury
079db28661
Changed when Requirements are copied and installed to improve incremental image build times. The extra image layer is inconsequential since python-build-stage layers are discarded anyway.
2020-09-14 01:41:33 +05:30
Arnav Choudhury
17e577c924
Fixed Typo with python build stage name that was references incorrectly in the run stage
2020-09-12 11:11:19 +05:30
Arnav Choudhury
a795086b10
Removing using python wheels to build python dependecies due to issue resolving conflicts in package sub-dependencies. Ends up being much more trouble than it's worth.
2020-09-12 11:04:08 +05:30
Arnav Choudhury
07051bff33
Fixed mistake of using production settings even for local/django image
2020-09-12 08:47:38 +05:30
Arnav Choudhury
53ffbbcf2e
Multi stage Python build for Django
2020-09-11 22:00:50 +05:30