Skip to content

Commit

Permalink
Drop Python 3.4 support
Browse files Browse the repository at this point in the history
  • Loading branch information
axnsan12 committed Jun 12, 2019
1 parent 60e1346 commit db154d1
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 10 deletions.
3 changes: 2 additions & 1 deletion .idea/drf-yasg.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
language: python
python:
- '2.7'
- '3.4'
- '3.5'
- '3.6'
- '3.7'
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ You want to contribute some code? Great! Here are a few steps to get you started

#. **Your code must pass all the required travis jobs before it is merged**

As of now, this consists of running on Python 2.7, 3.4, 3.5 and 3.6, and building the docs succesfully.
As of now, this consists of running on Python 2.7, 3.5, 3.6 and 3.7, and building the docs succesfully.

******************
Maintainer's notes
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Compatible with

- **Django Rest Framework**: 3.7.7, 3.8, 3.9
- **Django**: 1.11, 2.0, 2.1, 2.2
- **Python**: 2.7, 3.4, 3.5, 3.6, 3.7
- **Python**: 2.7, 3.5, 3.6, 3.7

Only the latest patch version of each ``major.minor`` series of Python, Django and Django REST Framework is supported.

Expand Down
2 changes: 1 addition & 1 deletion requirements/testproj.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Pillow>=4.3.0
django-cors-headers>=2.1.0
django-filter>=1.1.0,<2.0; python_version == "2.7"
django-filter>=1.1.0; python_version >= "3.4"
django-filter>=1.1.0; python_version >= "3.5"
djangorestframework-camel-case>=0.2.0
djangorestframework-recursive>=0.1.2
dj-database-url>=0.4.2
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def read_req(req_file):
requirements = read_req('base.txt')
requirements_validation = read_req('validation.txt')

py3_supported_range = (4, 7)
py3_supported_range = (5, 7)

# convert inclusive range to exclusive range
py3_supported_range = (py3_supported_range[0], py3_supported_range[1] + 1)
Expand Down
6 changes: 2 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,8 @@ isolated_build_env = .package
# https://docs.djangoproject.com/en/dev/faq/install/#what-python-version-can-i-use-with-django
envlist =
py27-django111-drf39-typing,
py{27,34,35,36}-django111-drf{37,38,39},
py{34,35,36,37}-django20-drf{37,38,39},
py{35,36,37}-django21-drf{37,38,39},
py{35,36,37}-django22-drf{37,38,39},
py{27,35,36}-django111-drf{37,38,39},
py{35,36,37}-django{20,21,22}-drf{37,38,39},
djmaster, lint, docs

[testenv:.package]
Expand Down

0 comments on commit db154d1

Please sign in to comment.