Cristi Vîjdea
a872eb66d6
Add Django 3.0, DRF 3.11, drop Python 3.5, Django 2.1
2020-02-17 02:58:55 +02:00
Aliaksei Urbanski
9a89d8ccb0
Improve testing ( #415 )
...
These changes:
- Fix the lint and the djmaster jobs
- Fix compatibility with upcoming Django 3.0
- Replace jobs with matrix in .travis.yml
- Add a test job for Python 3.8
- Allow running tests on any branch
2019-10-03 01:38:02 +03:00
Cristi Vijdea
e6219ab8b7
Add packaging to requirements
2019-07-16 21:19:19 +03:00
tfranzel
1904b0499e
Fix imports for DRF 3.10 ( #408 )
...
Fixes #410
Fixes #411
2019-07-16 20:39:44 +03:00
Étienne Noss
6417bb3770
Handle enum type for nested ChoiceFields ( #400 )
2019-07-15 12:14:23 +03:00
Cristi Vîjdea
3a37c4a019
Drop Django 2.0 and DRF 3.7 support
2019-06-13 16:49:46 +03:00
Cristi Vîjdea
db154d196a
Drop Python 3.4 support
2019-06-13 02:37:04 +03:00
Cristi Vîjdea
64d9d42aa9
Remove pygments test dependency
2019-06-13 01:54:22 +03:00
Cristi Vijdea
df82fe59d7
Remove recommandations for unmaintained flex library
...
Fixes #285
2019-01-29 09:04:10 +02:00
Cristi Vîjdea
86ac276449
Fix some version constraints
2018-12-21 15:55:03 +02:00
Cristi Vîjdea
9d933a9745
Really fix django-oauth-toolkit version
...
This is the simplest way to keep all test configurations happy...
ref 85db6c9d79
2018-12-21 02:13:59 +02:00
Cristi Vîjdea
85db6c9d79
Fix django-oauth-toolkit python version dependency
...
django-oauth-toolkit 1.1 is the last version to support Python 2.7/Django 1.11
Source: https://github.com/jazzband/django-oauth-toolkit/issues/579
2018-12-21 01:31:05 +02:00
Cristi Vîjdea
b385228f7d
Add mock OAuth2 provider to testproj
2018-12-21 01:07:11 +02:00
Cristi Vîjdea
cf4106f8f7
Use twine check instead of setup.py check
2018-12-19 21:46:49 +02:00
Cristi Vîjdea
1fc454fcfa
Enable isolated_build for tox
...
This enables tox support for PEP517 and PEP518.
2018-12-19 21:46:48 +02:00
Cristi Vîjdea
1946a1204d
Remove requirements/setup.txt and setup_requires
2018-12-19 20:29:42 +02:00
Cristi Vîjdea
3ac6c9ec3a
Remove dependency on future
...
Sole use was raise_from.
six.raise_from loses exception detail on Python 2, so god help the programmers of the past.
Fixes #196 .
2018-09-09 22:29:11 +03:00
Cristi Vîjdea
dd50eb5e12
Remove unused requirement
2018-08-14 09:53:47 +03:00
Cristi Vîjdea
64e13a94da
Remove tox-battery from CI requirements
2018-08-09 03:54:35 +03:00
Cristi Vîjdea
16b6ed7fd6
Test with Django 2.1 and Python 3.7 ( #176 )
...
* Test with Django 2.1 and Python 3.7
* Fix lint errors
* Remove setuptools-scm hack
* Factor out coverage script
* Cache .tox in travis
* Update README & docs
2018-08-06 12:24:56 +03:00
Cristi Vîjdea
698a175a1b
Remove python_requires from Django requirement
...
Fixes #113 .
2018-05-02 20:30:09 +03:00
Cristi Vîjdea
ca00ed35be
Install pytest-django from PyPI
2018-04-27 12:04:20 +03:00
Roman Sichny
979ec84630
Django rest framework recursive support ( #110 )
...
* add get_serializer_ref_name utility function
* implement RecursiveFieldInspector
* add option to allow non-existing reference in SchemaRef
* add examples and README
* Update changelog and docs
2018-04-27 01:51:10 +03:00
Cristi Vîjdea
7270154828
Test with Django Rest Framework 3.8 ( #96 )
...
* Add djangorestframework 3.8 to tox and travis
* Add @action tests
* Limit tox to <3.0.0
2018-04-04 22:59:57 +03:00
Santiago Castro
3f7ad62950
Make 1.10.0 the min six version ( #71 )
2018-02-26 17:18:52 +02:00
Cristi Vîjdea
743396617e
Upgrade sphinx to 1.7.0
2018-02-21 04:42:53 +02:00
h-hirokawa
33199aec59
Update the minimum required version of DRF to 3.7.7
...
Closes #44 , #45 .
2018-01-12 09:40:26 +01:00
Cristi Vîjdea
757d47e1c0
Add py3-django111 testing combination
...
Tests are also now run in parallel using detox and pytest-xdist.
2018-01-12 03:35:36 +01:00
Cristi Vîjdea
47de6f2f6f
Add Django and djangorestframework to install requirements
2018-01-11 20:41:12 +01:00
Cristi Vîjdea
c4379dc6a7
Run testproj in a Heroku demo app ( #38 )
...
* Add Heroku configuration
* Add links in API description
* Read database connection string from DATABASE_URL environment variable
* Restructure settings files for production
* Run server using gunicorn and servce static files with whitenoise
* Install drf-yasg from source instead of pypi in testproj
* Add readme links to demo app
2018-01-10 10:18:22 +01:00
Cristi Vîjdea
15c67891c6
Optimize requirements ( #35 )
2018-01-03 23:11:27 +01:00
Cristi Vîjdea
917ccd1f56
Restructure travis & tox configuration ( #34 )
...
Also removed useless python 3.7-dev build
2018-01-03 20:30:17 +01:00
Cristi Vîjdea
fd099998ea
Add explicit dependency on uritemplate and six
2018-01-03 16:39:14 +01:00
Jiri Puc
caa397b906
Add requirements.txt and README instructions for test project setup
...
Closes #32 .
2018-01-01 19:17:42 +01:00
Cristi Vîjdea
74fcd47047
Refactor setup requirements
2018-01-01 19:16:28 +01:00
Cristi Vîjdea
d39764d383
Add isort
2017-12-27 20:23:05 +01:00
Cristi Vîjdea
60e266fe99
Make sphinx document CamelCaseJSONFilter
2017-12-27 20:14:12 +01:00
Cristi Vîjdea
c89f96fcb0
Prepare for 1.1.0 ( #30 )
...
* refactor the view inspection process to be more modular and allow recursive customization
* add operation_id argument to @swagger_auto_
* add inspections for min/max validators
* add support for URLPathVersioning and NamespaceVersioning
* integrate with djangorestframework-camel-case
* fix bugs, improve tests and documentation
2017-12-26 22:50:59 +01:00
Cristi Vîjdea
f6c30181fe
Use Django 2.0 for building docs
2017-12-17 11:18:49 +01:00
Cristi Vîjdea
83e539ab2e
Rename to drf-yasg, part 2
2017-12-13 10:45:43 +01:00
Cristi Vîjdea
71b3fd2895
Clean up for publish to pypi
2017-12-12 23:42:54 +01:00
Cristi Vîjdea
8883894775
Add more tests and cleanup coverage reports ( #13 )
...
Closes #11
2017-12-12 17:30:58 +01:00
Cristi Vîjdea
53ac55a24b
Add dcumentation ( #12 )
...
* added sphinx documentation
* filled in most missing docstrings
* updated README and setup.py, added CONTRIBUTING
* added docs build target
2017-12-12 11:14:33 +01:00
Cristi Vîjdea
bfced82ae4
Add suport for Response schemas ( #10 )
...
Schemas generated from Serializers will now be added to the `definitions` section by default, and used as `$ref` objects where needed.
The Schema definition name is based on the serializer class name, and can be overriden by specifying a `__ref_name__` property on the Serializer. If this property is set to None, the schema will not be added to `definitions` and will be forced inline.
Closes #6 , #7 .
2017-12-10 03:06:49 +01:00
Cristi Vîjdea
dce00156d5
Rewrite schema generation ( #1 )
...
* Completeley rewritten schema generation
* Added support for python 2.7 and 3.4
* Restructured testing and build configuration
* Added nested request schemas
This rewrite completely replaces the public interface of the django rest schema generation library, so
further changes will be needed to re-enable and further extend the customization points one might want.
2017-12-05 19:46:02 +01:00