Commit graph

65 commits

Author SHA1 Message Date
Hasan Ramezani
020e7c4da8 Improve tox.ini 2020-11-29 13:36:33 +01:00
Hasan Ramezani
882919f7e0 Add Python3.9 support. 2020-11-28 21:47:15 +01:00
Hasan Ramezani
5580cad525 Remove Django 2.1 support. 2020-11-28 21:47:15 +01:00
Arseniy Panfilov
fdd3af34d9 failing tests with different types of arguments for 'updated_fields' 2020-10-15 15:51:33 +06:00
Hasan Ramezani
b7770165d5 Add support for Django 3.1 2020-09-17 17:27:55 +06:00
Brian Rutledge
71c57e0ebd Fix tox django factors
I noticed this discrepancy while attempting to determine compatibility of versions of django-model-utils and Django. I haven't tested it locally, because I'm getting `psycopg2.OperationalError: could not connect to server`.
2020-04-28 21:36:51 +06:00
Rémy HUBSCHER
8af8cf269c
Prepare 4.0.0 release. 2019-12-11 15:47:18 +01:00
Misha K
5aa40c66be Add django 3.0 to the test matrix and drop six (#395)
*  - add django 3.0 to the test matrix
 - drop six

* add entry in CHANGES

* remove context kwarg

* fix test with DeferredAttribute

* rename StringyDescriptor's name to attname

* Fix flake8

* Drop support for Django 1.11 because the API are not compatibles anymore with Django 3.0

* Try to fix tests.

* Define model for the field mock.

* Simplifies the code.

* Properly mock the field.

* Typo

* Use the new API field name.

* Call it attname

* Grab the field instance from the model.

* Use postgres in travis tests.

* Django 2.0.1 minimum is needed.

* Update Changelog to tell about breaking Django 1.11.

* Update changelog to tell about Django 3.0 support.

* @natim review.
2019-12-09 19:37:16 +06:00
Adam Dobrawy
ffa1a85dc7 Modernize Python syntax, add Python 3.8 (#398)
* Modernize Python syntax, add Python 3.8

* Update Python version & dist in TravisCI

* Add postgresql as addon

* Switch to psycopg2-binary

* Drop django.utils.six
2019-11-14 22:50:04 +06:00
Hasan Ramezani
aa94194dbc Drop Python 2 support. (#394) 2019-09-30 14:08:52 +06:00
Asif Saif Uddin
98b7f18047
django 1.11 n 2.1+ only 2019-05-16 05:24:49 +06:00
Diego Navarro
4e18710537 Upgrades pytest, pytest-django and pytest-cov version to fix travis build (#358)
* Upgrades pytest, pytest-django and pytest-cov version

* Skips testing Python 3.5 with django trunk (Django 2.1 requires Python 3.6)
2019-02-22 00:05:35 +06:00
Jonathan Sundqvist
2cb773372d Add a JoinManager that helps with performance (#351)
* Add the join manager + tests

* Documentation for join manager

* Use order_by for consistent tests

* Use postgres instead sqlite for tests for better reliability

* Fix coverage

* Drop django 1.8
2018-11-25 20:18:23 +06:00
Bo Marchman
df8ceed265 Add Django 2.1 to tox 2018-08-07 11:56:02 -04:00
Lucas Wiman
c53b19e50d Ignore 80 character line length restriction of pep8.
It seems like this hasn't been consistently followed in this codebase,
and the number of changes was fairly large.
2018-07-02 14:33:47 -07:00
Lucas Wiman
9189d60996 Fix remaining non-E501 line length changes.
The E402 module level import appears to be an error of some kind in flake8?
2018-07-02 13:01:49 -07:00
Lucas Wiman
e23e86a2be Ignore W503 line break before binary operator
It doesn't seem like following this rule will lead to clearer code in the violations in this codebase.
2018-07-02 12:52:47 -07:00
Lucas Wiman
9a6634b87a Ignore assigning to lambda warning. 2018-07-02 11:45:51 -07:00
Lucas Wiman
54543f1e8d Add a flake8 environment to ensure pep8 compatibility. 2018-07-02 11:43:38 -07:00
Lucas Wiman
4740ab43ec Update passed environment variables to match codecov documentation.
Hopefully this will combine the coverage reports.
2018-06-28 13:41:09 -07:00
Jannis Leidel
ccaa08d12e
Simplified tox setup with tox-travis. 2018-01-10 10:48:14 +01:00
Tony Narlock
28bd4567a7 switch to py.test + pytest-cov 2017-12-11 08:11:55 -06:00
Tony Narlock
6dd7556da7 add codecov to travis 2017-12-11 07:47:48 -06:00
Tony Narlock
35e17150b5 Overhaul travis/tox testbed #299
Passes in python version via travis python: param
2017-12-07 14:08:30 -06:00
Tony Narlock
a975f2f07b Add django 2.0 to travis and tox #297 2017-12-07 11:24:05 -06:00
Carl Meyer
89c4a0fc44 Add testing on Python 3.6 and Django 1.11. 2017-04-13 16:39:21 -07:00
Bruno Alla
1473707fc7 Run coverage with '-a' option 2017-02-16 12:39:41 +00:00
Bruno Alla
10ebc16271 Exclude tests from distribution
fixes #258
2017-02-15 23:00:10 +00:00
Ryan P Kilby
fda2d39ec4 Drop unsupported django versions 2017-01-12 12:16:40 -05:00
romgar
8ecf75144b Update tests to use freezegun to avoid time resolution issues on Windows 2016-11-20 22:08:07 +00:00
Carl Meyer
bd78590a31 Add Django 1.10 to tox/Travis. 2016-08-03 08:17:36 -06:00
Carl Meyer
535fe46702 Update Python support info. 2016-07-18 14:48:43 -06:00
Carl Meyer
485bba9d73 Trunk doesn't support Python 3.3, either. 2016-02-08 16:26:44 -07:00
Carl Meyer
d7e3718964 Add CI on Python 3.5, drop Python 3.2. 2016-02-08 15:45:13 -07:00
Patryk Zawadzki
40fae1a6d2 Start testing against Django 1.9 stable 2015-12-02 12:15:08 +01:00
jarekwg
dcd288cb09 Jumped the gun with py35 tests..
https://github.com/travis-ci/travis-ci/issues/4794
2015-10-29 09:42:16 +11:00
jarekwg
c2019fd370 Add py35 tests; remove py32&33 tests against django19 2015-10-29 09:29:49 +11:00
jarekwg
9204fe0ed2 Missing commas 2015-10-29 08:45:53 +11:00
jarekwg
c82ce585b3 Make tests run against django1.9 2015-10-29 08:26:36 +11:00
Dmytro Kyrychuck
6944bdd218 added python3.4 to env list 2015-01-27 05:34:39 +02:00
Dmytro Kyrychuck
63ba203bda added django 1.8 envs 2015-01-27 05:15:52 +02:00
Dmytro Kyrychuck
271d3bfa27 updated tox.ini to use generative envlist 2015-01-27 02:07:23 +02:00
Dmytro Kyrychuck
8796f05ae3 added django 1.7.3 to build matrix (fixes #152) 2015-01-27 01:05:29 +02:00
Dmytro Kyrychuck
be55ed7427 bumped django 1.6.1 to 1.6.10 2015-01-27 00:59:10 +02:00
Dmytro Kyrychuck
a0ffbf0b39 bumped django 1.5.5 to 1.5.12 2015-01-27 00:57:40 +02:00
Dmytro Kyrychuck
254e5493c6 bumped django 1.4.10 to 1.4.18 2015-01-27 00:34:45 +02:00
Carl Meyer
7d69dba669 Update tox.ini. 2014-01-06 16:04:15 -07:00
Carl Meyer
bcc8ad3a64 Update tox.ini for Django 1.6 stable branch, South supporting Py3. 2013-07-25 11:58:46 -05:00
Alex Orange
7caa498766 Fix tox.ini so runtests.sh works. 2013-05-21 16:57:13 -06:00
Trey Hunner
69831092b2 Move coverage configuration into .coveragerc 2013-05-20 22:37:24 -07:00