Jelmer
6c7afb3b3f
Merge branch 'master' into add-3.11
2023-06-15 15:29:01 +02:00
Jelmer Draaijer
0167a18024
Test django against 4.2 & main branch to formally support django 4.2
2023-04-06 13:49:50 +02:00
Maarten ter Huurne
881cf29e21
Run pytest with current directory in the search path
...
Without this, `pytest-django` cannot find its settings module.
https://docs.pytest.org/en/6.2.x/usage.html#calling-pytest-through-python-m-pytest
2023-03-16 22:56:10 +01:00
Hugo van Kemenade
309f1d8080
Test Python 3.12-dev
2022-12-12 23:20:35 +02:00
Hugo van Kemenade
aec019ca97
Add colour to CI logs for readability
2022-12-12 23:20:35 +02:00
Hugo van Kemenade
0260205c1b
Add support for Python 3.11
2022-12-12 23:20:35 +02:00
Hugo van Kemenade
d146a05823
Remove comments to fix Flake8 6.0.0
2022-12-12 21:17:00 +02:00
Hasan Ramezani
85b656e12c
Confirm support for Django 4.1
2022-08-17 23:17:28 +02:00
Hasan Ramezani
8723a0e34e
Drop support for Python 3.6
2022-08-17 23:08:31 +02:00
Hasan Ramezani
b354d90c20
Drop support for Django < 3.2
2022-08-17 23:08:29 +02:00
Hasan Ramezani
f0828e7985
Confirm support for Django 4.0
2021-12-08 12:33:23 +01:00
Hasan Ramezani
f513e948d6
Remove Django 3.1 from Python 3.10 env in tox.
2021-12-08 12:33:23 +01:00
Josh
51f8118d65
add 3.10 to strategy matrix and py310 to tox.ini
2021-10-08 09:16:44 -05:00
Hasan Ramezani
8e19699b0f
Drop support for Django 3.0.
2021-04-07 10:32:50 +02:00
Hasan Ramezani
7af903b12a
Add support for Django 3.2.
2021-04-07 10:32:50 +02:00
Jannis Leidel
621c4a8f3b
Fix typo.
2021-03-09 13:46:46 +01:00
Jannis Leidel
37ebfee7a1
Don't run Django main test on Python < 3.8.
2021-03-09 13:43:17 +01:00
Jannis Leidel
4dbb969d2f
Don't run Django main test on Python < 3.8.
2021-03-09 13:41:20 +01:00
Jannis Leidel
2b18cb6b84
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
2021-03-09 13:37:02 +01:00
David Smith
79ff8ea6be
Used isort to sort imports ( #460 )
2020-11-29 20:58:00 +00:00
Jannis Leidel
8689faf2ad
Update tox.ini
...
Co-authored-by: Simon Charette <charettes@users.noreply.github.com>
2020-11-29 15:12:19 +01:00
Jannis Leidel
124ca26901
Remove duplicate version mapping.
2020-11-29 14:54:15 +01:00
Jannis Leidel
5b3672b980
Run Postgres 10 during testing.
2020-11-29 14:51:26 +01:00
Jannis Leidel
1336a91d75
Merge branch 'master' into gha
2020-11-29 14:42:23 +01:00
Jannis Leidel
0ce2501384
Update tox config.
2020-11-29 14:36:06 +01:00
Hasan Ramezani
775ac3f4b1
Add flake8 to travisci.
2020-11-29 13:36:33 +01:00
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