Commit Graph

16 Commits

Author SHA1 Message Date
wongcht
e26e7fe9b0
Backport Python 3.11 and Django 4.2 in v2 (#1456)
* bump to support py3.11 dj4.2

* Update tox.ini

django42 <43

Co-authored-by: Kien Dang <kiend@pm.me>

* Apply suggestions from code review

master to main

Co-authored-by: Kien Dang <kiend@pm.me>

* Update tox.ini

Co-authored-by: wongcht <wongchunhong.work@gmail.com>

---------

Co-authored-by: Kien Dang <kiend@pm.me>
2023-08-27 11:50:18 +03:00
Santiago Aguiar
7c780a916a
Backport Django 4.1 compatibility fixes to v2 (#1413)
* handle deprecation warning for requires_system_checks

Removed in django 4.1.

* Fix broken UT due to pytest import error (#1368)

* import error resolved?

* Fix tests

* Remove Python 3.6

* django 4.1 requires python>=3.10

* Django 4.1 does support python 3.8 to 3.11

* Add Django 4.1 to tox

---------

Co-authored-by: Yuekui <yuekui@users.noreply.github.com>
Co-authored-by: Josh Warwick <josh.warwick15@gmail.com>
Co-authored-by: Kien Dang <mail@kien.ai>
2023-05-26 23:08:36 +03:00
Ülgen Sarıkavak
8383bdc5aa
pre-commit & black (#1340)
* Call black via pre-commit
* Apply black
2022-08-19 09:15:44 +03:00
Ülgen Sarıkavak
e980cede38
Upgrade Python version in CI (#1339) 2022-08-18 13:02:41 +03:00
Ülgen Sarıkavak
12ec3ca4ac
Introduce pre-commit config for flake8 (#1338) 2022-08-18 12:48:51 +03:00
Yair Silbermintz
a7a8b3dca6
Replace calls to methods removed in Django v4 (#1275)
* Replace calls to deprecated methods

* Fix test config & Replace additional methods removed in django 4.0

* Update tox for official Django 4 release

* 2.16.0

* Revert version update

* Remove duplicate entry

Co-authored-by: Jeremy Stretch <jstretch@ns1.com>

* Limit max Django version

Co-authored-by: Jeremy Stretch <jstretch@ns1.com>

* Remove Python 3.5 (deprecated) from tox

Co-authored-by: Jeremy Stretch <jstretch@ns1.com>

Co-authored-by: Ülgen Sarıkavak <ulgens@users.noreply.github.com>
Co-authored-by: Jeremy Stretch <jstretch@ns1.com>
2022-02-07 17:16:41 +03:00
Jonathan Kim
8928ec2dbe
Restrict DjangoRestFramework version (#1047) 2020-10-19 20:20:30 +01:00
Andreas Hasenkopf
ee3d4f521f
Include tests and examples in source package, but don't install them (#1034)
..., but don't install them.
Also applied changes as suggested by `black`.
2020-10-19 17:23:41 +01:00
Nikolai Røed Kristiansen
67a0492c12
Add converter for django 3.1 JSONField (#1017) 2020-08-07 10:22:15 +01:00
Ülgen Sarıkavak
ee120c48e1
Use psycopg2-binary in tox (#964) 2020-05-21 13:18:43 +01:00
Jonathan Kim
b8d8508d1f
Add GitHub actions (#947) 2020-05-01 14:04:36 +01:00
Jonathan Kim
9d9a14c36d
Fix failing tests (#931)
* Use proper model

* Remove failing test

* Add python 3.8 to test list
2020-04-12 16:18:41 +01:00
Misha K
b085b5922a add Django 3.0 to the test matrix (#793)
* add Django 3.0 to the test matrix

* fix six imports
2019-10-18 11:38:59 +01:00
Jonathan Kim
692540cc78
Update flake8 (#688)
* Include setup.py in black formatting

* Add new flake8 plugins and update errors to look for

* Fix duplicate test name

* Don't use mutable data structure

* Install all dev dependencies for flake8 and black tox envs
2019-06-24 18:55:44 +01:00
Jonathan Kim
775d2e3523
Update travis and tox (#667)
* Update travis and tox

* Use xenial distribution

* Don't install coveralls twice

* Add black and flake8 tox commands

* Remove Python 3.5 test for Django master

* Fix indent

* Ignore migrations

* Remove black for now

* Run black formatting (#668)

* Run black format

* Update makefile

* Add black to travis build
2019-06-10 20:54:30 -07:00
Anthony Monthe
cb9eed6765 Added tox.ini
Updated Travis YML
2019-05-22 01:49:52 +01:00