Commit Graph

8142 Commits

Author SHA1 Message Date
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
github-actions
2193a661c5 Release 2025.01.16 2025-01-17 02:23:58 +00:00
Bruno Alla
b02f9b4d81
Merge branch 'master' into lint-format-template-with-ruff 2025-01-16 14:01:32 +00:00
pyup.io bot
e69d77a0b9
Update ruff to 0.9.2 (#5646) 2025-01-16 13:59:24 +00:00
dependabot[bot]
54e0ccec0c
Bump amazon/aws-cli from 2.22.1 to 2.23.0 (#5645) 2025-01-16 07:32:55 +00:00
github-actions
185f18dfc0 Release 2025.01.15 2025-01-16 02:24:24 +00:00
pyup.io bot
ab475a5570
Update psycopg to 3.2.4 (#5644) 2025-01-15 23:13:38 +00:00
ghazi-git
564ca18e56
update CELERYD_HIJACK_ROOT_LOGGER to CELERY_WORKER_HIJACK_ROOT_LOGGER (#5643)
CELERYD_HIJACK_ROOT_LOGGER was the name of the setting in celery v3
2025-01-15 19:34:23 +00:00
pyup.io bot
fbf6c886cb
Update django-stubs to 5.1.2 (#5639) 2025-01-15 10:02:53 +00:00
dependabot[bot]
2dc567d131
Bump traefik from 3.3.1 to 3.3.2 (#5642) 2025-01-15 10:00:20 +00:00
github-actions
7a85931fb0 Release 2025.01.14 2025-01-15 02:25:13 +00:00
pyup.io bot
c89a45c45f
Update django from 5.0.10 to 5.0.11 (#5640) 2025-01-14 17:54:03 +00:00
pyup.io bot
1ba44e9e03
Update sentry-sdk to 2.20.0 (#5638) 2025-01-14 12:05:21 +00:00
pyup.io bot
42febc9e84
Update django-debug-toolbar from 4.4.6 to 5.0.1 (#5636) 2025-01-14 07:32:51 +00:00
github-actions
843f268c4d Release 2025.01.13 2025-01-14 02:23:40 +00:00
pyup.io bot
a8847158c9
Update django-environ from 0.11.2 to 0.12.0 (#5635) 2025-01-13 18:06:11 +00:00
dependabot[bot]
d78dff4969
Bumps traefik from 3.3.0 to 3.3.1 (#5634) 2025-01-13 09:41:21 +00:00
github-actions
cb4a277136 Release 2025.01.11 2025-01-12 02:31:00 +00:00
Bruno Alla
ea151466bf Fix Ruff issue 2025-01-11 12:18:15 +00:00
pre-commit-ci[bot]
9275c8f13d [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-01-11 12:10:28 +00:00
Bruno Alla
5489c6613c Merge branch 'master' into lint-format-template-with-ruff
# Conflicts:
#	pyproject.toml
2025-01-11 12:10:13 +00:00
pyup.io bot
35dacd8718
Update ruff to 0.9.1 (#5633) 2025-01-11 12:08:23 +00:00
browniebroke
01650ddc1b Align Ruff versions 2025-01-11 12:00:31 +00:00
Bruno Alla
e7edde03ba Add workflow to keep Ruff version up to date 2025-01-11 12:00:31 +00:00