Commit graph

63 commits

Author SHA1 Message Date
Brian Helba
93e628e870
Refactor the documentation build process (#311)
* Refactor the documentation build process

Significant improvements:
* Allow easy isolated local builds via a dedicated Tox environment
* Configure Sphinx to use consistent packages and theme across local, CI,
  and ReadTheDocs builds; local builds now look the same as the published
  RTD pages
* Explicitly add a ReadTheDocs configuration as code, per their documented
  best practices
* Remove lots of dead code and simplify the Sphinx configuration file
* Build docs in a dedicated CI step and enable stricter warning checking

* Fix docutils related build error.

* Relax Sphinx version.

* Invalidate RTD build cache.

* No need to combine coverage reporting I think.

* Add combining again.

Co-authored-by: Jannis Leidel <jannis@leidel.info>
2021-11-08 16:49:41 +01:00
Paolo Melchiorre
7ff29852ab
Add pypy versions support (#321)
* Add pypy versions support

* Update Python classifiers
2021-11-08 15:50:21 +01:00
Paolo Melchiorre
dcce8bccfd
Add support port Django 3.2 and Python 3.10 in tox
Django 3.2.9 adds compatibility with Python 3.10.
https://docs.djangoproject.com/en/3.2/releases/3.2.9/
2021-11-01 12:20:42 +01:00
Paolo Melchiorre
9f38e87a58
Update Python and Django versions in tox.ini (#307)
* Update Python and Django versions in tox.ini

- remove Django 3.1
- add Django 4.0b1
- add Python 3.10

* Add python 3.10  in github action matrix

* Update tox.ini from django-debug-toolbar

* Fix whitespaces

* Add missing setup classifiers

* Fix typo in tox.ini

* Remove django 4 classifier
2021-10-27 16:16:26 +06:00
Jannis Leidel
d89fe5a2cb
Rename Django's dev branch to main. (#279)
* Rename Django's dev branch to main.

More information: https://groups.google.com/g/django-developers/c/tctDuKUGosc/
Refs: https://github.com/django/django/pull/14048

* Fix test matrix.

* Remove CODEOWNERS again.

* Fix name of tox env.

* Fix test matrix.
2021-03-09 19:20:31 +01:00
Michael Käufl
c3d5b4b715 Add support for Python 3.9 2021-01-19 13:11:16 +06:00
Michael Käufl
add9b3ce80 Add support for Django 3.1 and 3.2 2021-01-19 13:11:16 +06:00
Michael Käufl
fcdbfc0bcb Drop support for Python 3.5
It has reached its EOL in September 2020, see
https://www.python.org/dev/peps/pep-0478/#release-schedule
2021-01-19 13:11:16 +06:00
Michael Käufl
dd5d6974cb Drop support for Django < 2.2 LTS, incl. Python 2.7 2021-01-19 13:11:16 +06:00
Jannis Leidel
64eefaef1a
Fix an issue with an old version of dj-email-url. 2020-11-26 16:51:15 +01:00
Jannis Leidel
b540ceadb3
Add GitHub Actions test workflow. 2020-11-26 16:18:58 +01:00
Jannis Leidel
bd61710591
Add check-manifest. 2019-12-03 12:47:25 +01:00
Jannis Leidel
b9f6aa98ec
No Bandit. 2019-12-03 12:42:36 +01:00
Jannis Leidel
c15996a0fa
Use twine check instead of readme_renderer. 2019-12-03 12:08:49 +01:00
Jannis Leidel
8e32e5b3c7
Add COVERAGE_PROCESS_START env var again. 2019-12-03 12:05:47 +01:00
Jannis Leidel
7f469b6d6e
Fix Python version. 2019-12-03 11:55:03 +01:00
Jannis Leidel
843271a701
Move to tox-travis. Fix #246. 2019-12-03 11:51:21 +01:00
John Franey
f387e1ee63 Remove Python 3.4 and add 3.8 2019-11-28 20:12:04 -05:00
John Franey
41b905c92e Update tested Python & Django versions
Replaces `django.utils.six` with `six` to support newer Django versions.

Updates Tox config to:
- remove unsupported Django versions
- add pypy3
- add Django 2.2
- update djmaster Python versions
2019-10-06 15:43:03 -04:00
Rustem Saiargaliev
12036fabc8
Fix typo
Co-Authored-By: codingjoe <info@johanneshoppe.com>
2019-04-01 15:27:44 +02:00
Johannes Hoppe
934ca95883 Add checkqa test environment to tox
Add support to run QA tests locally
2019-03-26 11:36:41 +01:00
Johannes Hoppe
b754256413 Enable check suite in favor of travis-ci QA runs 2019-03-26 08:15:50 +01:00
Daniel Hahler
605e6fe296
flake8: ignore W503 (and pick W504) (#220) 2018-12-09 18:48:17 +01:00
Peter Bittner
0e45c7b3e4 Also move testing requirements into packaging setup 2018-12-09 15:52:05 +01:00
Daniel Hahler
ea060f0985 tox/Travis: use separate coverage factor
This will only install/run coverage on demand.
2018-08-26 02:00:52 +02:00
Daniel Hahler
cc2a821579 tests: use coverage_enable_subprocess instead of sitecustomize.py 2018-08-26 01:53:11 +02:00
Daniel Hahler
8f199eb40c _setup: do not call django.setup() if settings are configured already
Without this, using `configurations.setup()` after Django has been setup
already re-triggers the logging configuration, which then causes e.g.
pytest's caplog to not work anymore.
2018-08-16 17:04:50 +02:00
Daniel Hahler
89cdca07ae coverage: track subprocesses 2018-08-16 15:50:41 +02:00
Daniel Hahler
fbb0ff8884 Fix compatibility with Django 2.1
Ref: https://github.com/django/django/pull/9894
Closes: https://github.com/jazzband/django-configurations/pull/201
2018-08-02 20:32:40 +02:00
Daniel Hahler
e3b547f5e1 qa: run flake8 against tests (#180) 2017-10-07 12:32:20 +02:00
Nicolas Delaby
8f318991c2 Drop unmaintained version of django and python
- Drop django==1.9 as it reached end of life
- Drop python2.6, python3.3, and bring python3.6
- Bring django-2.0 in the matrix as expected failure until we add its
support
2017-09-30 14:37:38 +02:00
Johannes Hoppe
9592356572 Move sphinx callback to a separate sphinx submodule 2016-06-13 12:26:52 +02:00
Johannes Hoppe
cd596f6788 Fixes #146 -- Adds multiprocessing support for sphinx 2016-04-05 18:14:20 +02:00
Nicolas Delaby
063bf61a16 Drop support of python 2.6, 3.2 and Django < 1.8 2016-01-27 21:08:54 +01:00
Jannis Leidel
0aba2276bc Added automatic check for README rendering. 2016-01-04 22:05:05 +01:00
Jannis Leidel
5560a21d09 Added Python version print to make sure we're running the right version in the tox env. Fix #137. 2016-01-04 13:17:24 +01:00
Daniel Hahler
b5e1eb6ade Travis/tox: use dj19 tarball, add master; remove unsupported
- Add `allow_failures` section for Django master on Travis.
 - Django 1.9 is only supported on Python 2.7 and 3.4+.
 - Only test main Python 2 and 3 with Django master.
2015-12-17 23:31:08 +01:00
Daniel Hahler
3a1a88bd15 Travis: use Python 3.5 for Python 3 flake8 test 2015-12-17 23:07:40 +01:00
Daniel Hahler
11990d1db6 tox: do not use coverage with Python 3.2
Fixes https://github.com/jezdez/django-configurations/issues/129.
2015-12-17 13:05:03 +01:00
Jannis Leidel
e332d5eff4 Use tar.gz instead of zip to work around an encoding issue in pip's unpacker. 2015-03-16 19:30:57 +01:00
Jannis Leidel
d9f60cfaef Try using the pip caching in the tox config. 2015-03-16 16:59:37 +01:00
Jannis Leidel
6f6930495c Get rid of manage.py for running tests now that we have django-cadmin.
Closes #92.
2015-03-16 15:13:31 +01:00
Jannis Leidel
13980b3d80 Add Django 1.9/master testing. 2015-02-13 22:06:43 +01:00
Jannis Leidel
61d162d376 Fix tox config. 2015-02-13 21:45:37 +01:00
Jannis Leidel
8be47c0813 Merge remote-tracking branch 'benjaminabel/master' 2015-02-13 18:12:56 +01:00
Jannis Leidel
ea28a6ebd6 Minor fixes for 1.8. 2015-02-13 18:12:02 +01:00
Jannis Leidel
c6b3d05f71 Revert "Use py.test."
This reverts commit 7799241900.
2015-02-13 16:43:55 +01:00
Jannis Leidel
2e57cde3ea pytest-django works with Django 1.8 now 2015-02-10 18:29:01 +01:00
Benjamin ABEL
a8bf15b358 Use django 1.8 branch in tox.ini 2015-01-25 18:12:41 +01:00
Benjamin ABEL
e20c9b5939 Remove coverage env from tox.ini 2015-01-07 15:28:12 +01:00