Commit Graph

1402 Commits

Author SHA1 Message Date
Bruno Alla
291c6cfb13
Update coverage to 5.0.2 (#2388)
Update coverage to 5.0.2
2020-01-11 13:41:24 +00:00
Bruno Alla
4a2f538e48
Update pillow to 7.0.0 (#2386)
Update pillow to 7.0.0
2020-01-11 13:41:10 +00:00
Bruno Alla
7ae616370b
Update django-compressor to 2.4 (#2385)
Update django-compressor to 2.4
2020-01-11 13:40:51 +00:00
Bruno Alla
9fa80f80c9
Speed up django image build process, and reduce its size (#2353)
Speed up django image build process, and reduce its size
2020-01-11 13:40:06 +00:00
browniebroke
c94c6acfc4 Update sentry-sdk from 0.13.5 to 0.14.0 2020-01-08 11:00:33 +00:00
Trung Dong Huynh
4a71b0b936 Using the python:3.7-slim-buster image for later Python version - 3.7.6
(instead of debian:buster-slim, shipped with Python 3.7.3)
2020-01-07 13:54:15 +00:00
Trung Dong Huynh
c13f5bce27 Merge branch 'master' into debian-buster-slim 2020-01-07 11:11:57 +00:00
Trung Dong Huynh
b22045bcd4 Replaced base Docker image with debian:buster-slim (#2373)
Using system Python 3 distribution (3.7.3) in order to allow the use of Debian packages for numpy, scipy, etc. without the need of building them or installing build dependencies.

Changed `#!/bin/sh` in shell scripts to `#!/bin/bash` to make `set -o pipefail` work.
2020-01-07 11:06:31 +00:00
Hunterx7
a0359d9d6a Bumped runtime for heroku. 2020-01-06 13:57:19 +01:00
browniebroke
bfe0949635 Update coverage from 5.0 to 5.0.2 2020-01-06 11:00:33 +00:00
browniebroke
41d514e6cf Update pre-commit from 1.20.0 to 1.21.0 2020-01-03 08:00:31 -03:00
browniebroke
e33e90fb69 Update pillow from 6.2.1 to 7.0.0 2020-01-02 08:00:30 -03:00
browniebroke
aa48a03c1f Update django-compressor from 2.3 to 2.4 2019-12-31 08:00:30 -03:00
howiezhao
16b219034a Update docs files 2019-12-28 17:26:43 +08:00
browniebroke
66991d9e95 Update sphinx from 2.3.0 to 2.3.1 2019-12-23 08:00:31 -03:00
David D
c7027526a3 Add Debian 10 (buster) OS dependencies 2019-12-22 12:52:22 +01:00
Bruno Alla
f3eadb0e04
Update mypy to 0.761 (#2377)
Update mypy to 0.761
2019-12-20 09:32:23 -03:00
browniebroke
b75cb6e6da Update mypy from 0.760 to 0.761 2019-12-20 08:00:35 -03:00
browniebroke
2b0027de71 Update django-allauth from 0.40.0 to 0.41.0 2019-12-19 08:00:30 -03:00
Bruno Alla
cba14881fc
Remove mypy defaults and set django-stubs setting (#2359)
Remove mypy defaults and set django-stubs setting
2019-12-18 09:50:38 -03:00
Bruno Alla
82a185d77d
Update mypy to 0.760 (#2371)
Update mypy to 0.760
2019-12-18 09:49:34 -03:00
browniebroke
29d2ff0ccf Update mypy from 0.750 to 0.760 2019-12-18 08:00:35 -03:00
browniebroke
2229a09fac Update django from 2.2.8 to 2.2.9 2019-12-18 08:00:31 -03:00
Bruno Alla
494beaa4c1
Update sphinx to 2.3.0 (#2369)
Update sphinx to 2.3.0
2019-12-16 09:17:14 -03:00
browniebroke
acd63b14b8 Update sphinx from 2.2.2 to 2.3.0 2019-12-16 08:00:34 -03:00
browniebroke
8211a83f3a Update celery from 4.3.0 to 4.4.0 2019-12-16 08:00:30 -03:00
browniebroke
b6a524c346 Update coverage from 4.5.4 to 5.0 2019-12-15 08:00:29 -03:00
browniebroke
d085a9c432 Update django-redis from 4.10.0 to 4.11.0 2019-12-14 08:00:29 -03:00
Bruno Alla
2861e6c60c
Update whitenoise to 5.0.1 (#2363)
Update whitenoise to 5.0.1
2019-12-13 09:50:54 -03:00
Bruno Alla
96667bbc8f
Update django-model-utils to 4.0.0 (#2362)
Update django-model-utils to 4.0.0
2019-12-13 09:50:21 -03:00
browniebroke
6ce4b13d83 Update djangorestframework from 3.10.3 to 3.11.0 2019-12-13 08:00:36 -03:00
browniebroke
d418909714 Update whitenoise from 4.1.4 to 5.0.1 2019-12-13 08:00:31 -03:00
browniebroke
c59062a496 Update django-model-utils from 3.2.0 to 4.0.0 2019-12-12 08:00:35 -03:00
Dani Hodovic
0f515974cb
Remove mypy defaults and set django-stubs setting
https://mypy.readthedocs.io/en/latest/config_file.html

ignore_errors = False
strict_optional = True

Are both set to these values by default. No need to set them in the
config.

```toml
[mypy.plugins.django-stubs]
django_settings_module = config.settings.local
```
mypy.plugins.django-stubs requires django_settings_module to be set.
https://github.com/typeddjango/django-stubs#configuration
2019-12-11 14:58:21 +01:00
Dani Hodovic
1dd8608142
Add django.middleware.common.BrokenLinkEmailsMiddleware
https://docs.djangoproject.com/en/2.2/howto/error-reporting/#errors

> If those conditions are met, Django will email the users listed in the
> MANAGERS setting whenever your code raises a 404 and the request has a
> referer. It doesn’t bother to email for 404s that don’t have a referer –
> those are usually just people typing in broken URLs or broken Web bots.
> It also ignores 404s when the referer is equal to the requested URL,
> since this behavior is from broken Web bots too.
2019-12-10 12:46:52 +01:00
Yuchen Xie
a88b6b04b6 Speed up django image build process, and reduce its size 2019-12-09 09:55:37 +08:00
browniebroke
97880e5046 Update sentry-sdk from 0.13.4 to 0.13.5 2019-12-06 11:00:30 +00:00
Ivan Khomutov
113ce88d9c Add option to choose CI tool 2019-12-06 10:55:00 +03:00
Bruno Alla
efbf164e84
Update ipdb to 0.12.3 (#2346)
Update ipdb to 0.12.3
2019-12-04 13:25:33 +00:00
browniebroke
e7923c6c5c Update flake8 from 3.7.8 to 3.7.9 2019-12-04 11:00:35 +00:00
browniebroke
112972d881 Update ipdb from 0.12.2 to 0.12.3 2019-12-04 11:00:32 +00:00
Bruno Alla
828f9c5cf8
updated werkzeug from 0.14.1 to 0.16.0 (#2341)
updated werkzeug from 0.14.1 to 0.16.0
2019-12-03 14:12:08 +00:00
Bruno Alla
676c9fb336
Update sphinx to 2.2.2 (#2344)
Update sphinx to 2.2.2
2019-12-03 14:11:25 +00:00
browniebroke
3140fe74ca Update sphinx from 2.2.1 to 2.2.2 2019-12-03 11:00:42 +00:00
Jelmert
2214951bbe updated werkzeug from 0.14.1 to 0.16.0 2019-12-03 11:19:01 +01:00
Fábio C. Barrionuevo da Luz
faa6cdafd4
Merge branch 'master' into pyup-update-mypy-0.740-to-0.750 2019-12-02 13:49:20 -03:00
Fábio C. Barrionuevo da Luz
9fade08a69
Merge pull request #2335 from pydanny/pyup-update-pytest-5.3.0-to-5.3.1
Update pytest to 5.3.1
2019-12-02 13:47:48 -03:00
browniebroke
b638ce0a1b Update django from 2.2.7 to 2.2.8 2019-12-02 11:00:31 +00:00
browniebroke
1453b32891 Update mypy from 0.740 to 0.750 2019-11-30 11:00:31 +00:00
Denis Savran
c76b3066d6 Upgrade to Traefik v2 2019-11-29 21:35:40 +03:00
browniebroke
9ec808e7f4 Update pytest from 5.3.0 to 5.3.1 2019-11-28 11:00:32 +00:00
Bruno Alla
595b0c8d52
Update sentry-sdk to 0.13.4 (#2334)
Update sentry-sdk to 0.13.4
2019-11-27 12:26:01 +00:00
browniebroke
4283ca76a4 Update sentry-sdk from 0.13.3 to 0.13.4 2019-11-27 11:00:38 +00:00
browniebroke
6a302ec703 Update gunicorn from 20.0.3 to 20.0.4 2019-11-27 11:00:34 +00:00
Fábio C. Barrionuevo da Luz
7d563e873c
Merge pull request #2329 from morenoh149/patch-1
Make update form button look like a button
2019-11-26 17:09:08 -03:00
browniebroke
832275a792 Update gunicorn from 20.0.2 to 20.0.3 2019-11-26 11:00:32 +00:00
Fábio C. Barrionuevo da Luz
500504d4c5
Merge pull request #2323 from pydanny/pyup-update-gunicorn-20.0.0-to-20.0.2
Update gunicorn to 20.0.2
2019-11-25 19:24:15 -03:00
Fábio C. Barrionuevo da Luz
cb7c99b12f
Merge pull request #2324 from pydanny/pyup-update-django-crispy-forms-1.8.0-to-1.8.1
Update django-crispy-forms to 1.8.1
2019-11-25 19:24:04 -03:00
Fábio C. Barrionuevo da Luz
4355243848
Merge pull request #2325 from pydanny/pyup-update-pylint-django-2.0.12-to-2.0.13
Update pylint-django to 2.0.13
2019-11-25 19:23:40 -03:00
Harry Moreno
82c8b51272
Make update form button look like a button
without `ban-primary` the button looks like some floating text.
2019-11-25 16:43:30 -05:00
browniebroke
fbd0fcbb61 Update sentry-sdk from 0.13.2 to 0.13.3 2019-11-25 11:00:33 +00:00
browniebroke
dce02bae70 Update pylint-django from 2.0.12 to 2.0.13 2019-11-24 11:00:31 +00:00
browniebroke
09d95d8ab4 Update django-crispy-forms from 1.8.0 to 1.8.1 2019-11-23 11:00:37 +00:00
browniebroke
b014121810 Update gunicorn from 20.0.0 to 20.0.2 2019-11-23 11:00:33 +00:00
browniebroke
9481a5a390 Update django-storages from 1.7.2 to 1.8 2019-11-21 11:00:34 +00:00
browniebroke
4daf3b9769 Update django-storages from 1.7.2 to 1.8 2019-11-21 11:00:33 +00:00
Bruno Alla
117c7d025b
Using WhiteNoise in development (#2304)
Using WhiteNoise in development
2019-11-20 18:57:02 +00:00
browniebroke
cdd9205075 Update pytest from 5.2.4 to 5.3.0 2019-11-20 11:00:35 +00:00
browniebroke
526f135e85 Update pytest from 5.2.3 to 5.2.4 2019-11-16 11:00:32 +00:00
browniebroke
0bd04dd5b3 Update pytest from 5.2.2 to 5.2.3 2019-11-15 11:00:33 +00:00
Dani Hodovic
ff0122acd6
Use pytest-django --reuse-db for faster tests
Pytest-django allows you to re-use database setups between tests for
quicker test runs. This is especially useful for large projects with many
migrations.

For example, here's a project of mine with 40+ migrations:

with --reuse-db
```
pytest --reuse-db  2.54s user 0.35s system 108% cpu 2.669 total
```

without --reuse-db
```
pytest 7.40s user 0.34s system 50% cpu 15.240 total
```

Caveat: if your model happens to change you need to manually --create-db
to ensure migrations are applied.

https://pytest-django.readthedocs.io/en/latest/database.html#reuse-db-reuse-the-testing-database-between-test-runs
2019-11-13 23:28:38 +01:00
browniebroke
a38c61369e Update django-debug-toolbar from 2.0 to 2.1 2019-11-12 11:00:32 +00:00
Bruno Alla
c2daa58fc4
Update pytest-django to 3.7.0 (#2308)
Update pytest-django to 3.7.0
2019-11-10 22:16:32 +00:00
Bruno Alla
ea37ed5ffd
Merge pull request #2307 from pydanny/pyup-update-sentry-sdk-0.13.1-to-0.13.2
Update sentry-sdk to 0.13.2
2019-11-10 22:16:16 +00:00
browniebroke
fd5e9be58b Update pytest-django from 3.6.0 to 3.7.0 2019-11-09 11:00:37 +00:00
browniebroke
eeda7dfe33 Update sentry-sdk from 0.13.1 to 0.13.2 2019-11-09 11:00:33 +00:00
browniebroke
8a1ec53a74 Update gunicorn from 19.9.0 to 20.0.0 2019-11-09 11:00:30 +00:00
Yuchen Xie
0374f11d09 Using WhiteNoise in development 2019-11-07 21:03:33 +08:00
browniebroke
9e58bb4e80 Update pylint-django from 2.0.11 to 2.0.12 2019-11-05 12:00:32 +01:00
Bruno Alla
d68db825e2
Add pre-commit for the generated project. (#2171) (#2295)
Add pre-commit for the generated project. (#2171)
2019-11-04 13:38:02 +01:00
Bruno Alla
8eaf55408a
Update black to 19.10b0 (#2294)
Update black to 19.10b0
2019-11-04 13:36:20 +01:00
Bruno Alla
84c4589e87
Update django to 2.2.7 (#2299)
Update django to 2.2.7
2019-11-04 13:35:08 +01:00
browniebroke
8f74fdb942 Update django from 2.2.6 to 2.2.7 2019-11-04 12:00:33 +01:00
Bruce Olivier
04f3ae75dc Added more settings to .editorconfig to run isort and have black compatibility. 2019-11-02 16:55:18 -05:00
leollon
4a194c6966 Add pre-commit for the generated project. (#2171) 2019-10-29 22:48:39 +08:00
browniebroke
10e395f65c Update black from 19.3b0 to 19.10b0 2019-10-29 11:00:32 +00:00
Bruno Alla
976303115f
Merge branch 'master' into pyup-update-python-slugify-3.0.6-to-4.0.0 2019-10-28 12:43:34 +00:00
Bruno Alla
e806222978
Update sphinx to 2.2.1 (#2288)
Update sphinx to 2.2.1
2019-10-28 12:42:30 +00:00
Bruno Alla
5398e4b0fc
Merge pull request #2290 from pydanny/pyup-update-argon2-cffi-19.1.0-to-19.2.0
Update argon2-cffi to 19.2.0
2019-10-28 12:41:35 +00:00
browniebroke
9b61317682 Update argon2-cffi from 19.1.0 to 19.2.0 2019-10-28 11:00:33 +00:00
browniebroke
d006bc610c Update collectfast from 1.3.0 to 1.3.1 2019-10-28 11:00:30 +00:00
browniebroke
caa8b5a303 Update sphinx from 2.2.0 to 2.2.1 2019-10-26 12:00:30 +01:00
Bruno Alla
04a04da355
Update sentry-sdk to 0.13.1 (#2287)
Update sentry-sdk to 0.13.1
2019-10-25 15:32:17 +01:00
browniebroke
b7976b9c36 Update sentry-sdk from 0.13.0 to 0.13.1 2019-10-25 12:00:40 +01:00
browniebroke
c2aa615fdc Update pytest from 5.2.1 to 5.2.2 2019-10-25 12:00:37 +01:00
browniebroke
3f0134a64b Update collectfast from 1.2.0 to 1.3.0 2019-10-23 12:00:31 +01:00
browniebroke
998733411c Update pillow from 6.2.0 to 6.2.1 2019-10-22 12:00:35 +01:00
Bruno Alla
6b65cb15e1
Merge pull request #2262 from pydanny/pin-traefik-v1
Pin Traefik Docker image to v1
2019-10-22 08:50:58 +01:00
Bruno Alla
808078c6ba
Merge pull request #2276 from foarsitter/remove_awscli_definition_2193
fix: remove the aws Dockerfile and remove the awscli definition from …
2019-10-22 08:50:29 +01:00
Yuchen Xie
400fcc4030 Prevent collectfast from guessing a wrong strategy
If `COLLECTFAST_STRATEGY` is not provided in `settings`, `collectfast` has to guess a "strategy". For the case with AWS, it guesses `BotoStrategy` in stead of `S3Boto3Storage`, which is a wrong decision as we `pip install django-storages[boto3]` (`boto3` in favor of `boto`).

Setting `COLLECTFAST_STRATEGY` is also encouraged as `collectfast` is not going to guess the strategy in the future.

Ref:
* f37dd1faa2/collectfast/management/commands/collectstatic.py (L33)
* f37dd1faa2/collectfast/strategies/base.py (L170)
2019-10-22 10:42:32 +08:00