Commit Graph

8215 Commits

Author SHA1 Message Date
github-actions
431a4bd10c Release 2025.02.07 2025-02-08 02:23:22 +00:00
Bruno Alla
a06ed7ae76 Replace local pre-commit hook by GH action 2025-02-07 23:19:12 +00:00
pyup.io bot
13acd682cc
Update mypy to 1.15.0 (#5664)
Co-authored-by: Bruno Alla <browniebroke@users.noreply.github.com>
2025-02-07 23:17:51 +00:00
pyup.io bot
67b3a7b9f3
Update django-stubs to 5.1.3 (#5680) 2025-02-07 23:10:08 +00:00
dependabot[bot]
1962169f57
Bump python from 3.12.8 to 3.12.9 in local Docker image (#5678)
Bumps python from 3.12.8-slim-bookworm to 3.12.9-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>
2025-02-07 23:09:13 +00:00
dependabot[bot]
bcf96d432f
Bump python from 3.12.8 to 3.12.9 in production Docker image (#5677)
Bumps python from 3.12.8-slim-bookworm to 3.12.9-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>
2025-02-07 23:08:38 +00:00
dependabot[bot]
d04d3802f3
Bump python from 3.12.8 to 3.12.9 in docs Docker image (#5676)
Bumps python from 3.12.8-slim-bookworm to 3.12.9-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>
2025-02-07 23:07:51 +00:00
pyup.io bot
978455aa94
Update django-allauth to 65.4.1 (#5679)
Co-authored-by: Bruno Alla <alla.brunoo@gmail.com>
2025-02-07 11:08:49 +00:00
Bruno Alla
08cf6f72e5 Update node version in production docker file 2025-02-07 10:12:43 +00:00
pyup.io bot
f79dbf9e17
Update django-cors-headers to 4.7.0 (#5675) 2025-02-07 10:03:58 +00:00
pyup.io bot
36b7e7754d
Update whitenoise to 6.9.0 (#5674) 2025-02-07 10:03:48 +00:00
github-actions
c37b46e5cf Release 2025.02.06 2025-02-07 02:27:02 +00:00
pyup.io bot
17e5ad3f17
Update ruff to 0.9.5 (#5673)
* Update ruff from 0.9.4 to 0.9.5

* Align Ruff versions

---------

Co-authored-by: pyup-bot <16239342+pyup-bot@users.noreply.github.com>
2025-02-06 22:55:52 +00:00
browniebroke
bde74225a3 Update Contributors 2025-02-06 22:23:31 +00:00
Alan Cyment
8a019b40cf
Bumped node version of Django Dockerfile to 22.13 (#5672) 2025-02-06 22:23:12 +00:00
github-actions
6b8545a95d Release 2025.02.05 2025-02-06 02:26:42 +00:00
pyup-bot
0be2d9c919 Update django from 5.0.11 to 5.0.12 2025-02-05 14:14:38 -03:00
Hana Belay
7c6dff3b70
Add missing trailing slash in test MEDIA_URL (#5666) 2025-02-05 10:57:30 +00:00
github-actions
e0da2963c3 Release 2025.02.03 2025-02-04 02:25:06 +00:00
dependabot[bot]
bcd27ef206
Bumps traefik from 3.3.2 to 3.3.3 (#5660) 2025-02-03 11:13:09 +00:00
pyup.io bot
7371becfcf
Update factory-boy to 3.3.2 (#5661) 2025-02-03 11:11:47 +00:00
github-actions
633762d9d5 Release 2025.01.30 2025-01-31 02:24:55 +00:00
pyup.io bot
0299266df9
Update ruff to 0.9.4 (#5659) 2025-01-30 20:54:37 +00:00
Bruno Alla
e4eb0df822
Merge branch 'master' into lint-format-template-with-ruff 2025-01-28 08:15:09 +00:00
github-actions
bf2a3c5d84 Release 2025.01.26 2025-01-27 02:26:26 +00:00
Ed Morley
f95ef4f8dc
Update Heroku deployment guide (#5656)
* Remove setting of `PYTHONHASHSEED` env var, since it's defaulted to `random` since Python 3.3. See: 
  https://docs.python.org/3.13/whatsnew/3.3.html#builtin-functions-and-types
* Remove setting of `WEB_CONCURRENCY` env var to a hardcoded value, since on Heroku the Python buildpack dynamically sets the value at container boot based on the available CPUs, so it's best to not override the default with a value that might not match the size of the dyno. See: 
  https://devcenter.heroku.com/articles/python-concurrency#default-settings-and-behavior
2025-01-26 13:38:08 +00:00
browniebroke
b5b24db9d2 Update Contributors 2025-01-26 13:35:23 +00:00
Ed Morley
827d35708b
Migrate generated project from runtime.txt to .python-version (#5652)
Heroku now supports the `.python-version` file as an alternative to the
Heroku-specific (and now deprecated) `runtime.txt` file, and recommends
apps switch to using the former since it's more widely supported by other
tooling.

The `.python-version` file is supported by pyenv, uv, the GitHub Actions
`setup-python` action and many others.

In addition, the `.python-version` file supports the version being specified
as just the major version (eg `3.12` vs `3.12.N`) which means will pick up
Python patch updates automatically (which is the recommended usage on
Heroku).

See:
https://devcenter.heroku.com/changelog-items/3005
https://github.com/heroku/heroku-buildpack-python/issues/1642
https://github.com/actions/setup-python/blob/main/docs/advanced-usage.md#using-the-python-version-file-input
2025-01-26 13:35:04 +00:00
github-actions
70bd35d398 Release 2025.01.24 2025-01-25 02:21:10 +00:00
pyup.io bot
d7c995b873
Update ruff to 0.9.3 (#5654)
* Update ruff from 0.9.2 to 0.9.3

* Align Ruff versions

* Align Ruff versions

---------

Co-authored-by: pyup-bot <16239342+pyup-bot@users.noreply.github.com>
Co-authored-by: browniebroke <861044+browniebroke@users.noreply.github.com>
2025-01-24 07:50:53 +00:00
github-actions
bb6e4085c7 Release 2025.01.21 2025-01-22 02:26:55 +00:00
Bruno Alla
2159cf7b8b
Update pyproject.toml 2025-01-21 19:51:17 +00:00
ghazi-git
723a388f3d
Update the linter error code from TCH to TC (#5651) 2025-01-21 19:50:33 +00:00
pyup.io bot
3e1e6cb41b
Update pre-commit to 4.1.0 (#5650)
* Update pre-commit from 4.0.1 to 4.1.0

* Update pre-commit version in template

---------

Co-authored-by: Bruno Alla <alla.brunoo@gmail.com>
2025-01-21 10:08:29 +00:00
github-actions
a691219456 Release 2025.01.20 2025-01-21 02:24:53 +00:00
Bruno Alla
671b7b9573 Merge branch 'master' into lint-format-template-with-ruff
# Conflicts:
#	hooks/post_gen_project.py
2025-01-20 19:08:20 +00:00
Bruno Alla
a1105d9010
Migrate post-generation hook to pathlib (#5648)
* Migrate post-generation hook to pathlib

* Fix typo in folder name
2025-01-20 19:06:28 +00:00
Bruno Alla
fff4183f72 Format comment better 2025-01-20 13:44:46 +00:00
Bruno Alla
fff7144c93 Fix typo in folder name 2025-01-20 13:43:51 +00:00
Bruno Alla
9902f4d76c Merge branch 'migrate-post-gen-hook-pathlib' into lint-format-template-with-ruff 2025-01-20 13:43:07 +00:00
Bruno Alla
ed25095c54 Merge branch 'master' into migrate-post-gen-hook-pathlib
# Conflicts:
#	hooks/post_gen_project.py
2025-01-20 13:42:31 +00:00
Bruno Alla
7f4211ab16
Migrate test generation to pathlib (#5649) 2025-01-20 13:28:59 +00:00
Jelmer
1cad7df6cc
Merge pull request #5615 from browniebroke/refactor/move-api-tests
Group all API tests under a `tests.api` namespace
2025-01-20 14:00:31 +01:00
Bruno Alla
73324e58a1 Merge branch 'migrate-tests-to-pathlib' into lint-format-template-with-ruff 2025-01-18 11:20:20 +00:00
Bruno Alla
3ddf863e48 Merge branch 'migrate-post-gen-hook-pathlib' into lint-format-template-with-ruff
# Conflicts:
#	hooks/post_gen_project.py
2025-01-18 11:19:35 +00:00
Bruno Alla
496da7135d Migrate test generation to pathlib 2025-01-18 11:17:00 +00:00
Bruno Alla
b31fa108bf
Fix typo in folder name 2025-01-18 11:02:48 +00:00
Bruno Alla
7b2be012e3 Migrate post-generation hook to pathlib 2025-01-18 10:50:30 +00:00
Bruno Alla
4b67c72ad4 Migrate post-generation hook to pathlib 2025-01-17 20:09:26 +00:00
Bruno Alla
b72e5b2c2a Disable PLR0133 in pre/post commit hooks
We seem to compare 2 constants but seem strings are in fact interpolated in Jinja.

https://docs.astral.sh/ruff/rules/comparison-of-constant/
2025-01-17 19:45:23 +00:00