Skip to content

Commit 9b5b59e

Browse files
authored
Deprecate EOL Python 3.5 support (audreyfeldroy#615)
* Deprecate EOL Python 3.5 support * Remove Python 3.5 from template * Remove Python 3.5 from tox and travis configs * Remove/update Python 3.5 references in documentation
1 parent aedbb9d commit 9b5b59e

File tree

9 files changed

+8
-14
lines changed

9 files changed

+8
-14
lines changed

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ python:
55
- 3.8
66
- 3.7
77
- 3.6
8-
- 3.5
98

109
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
1110
install: pip install -U tox-travis

CONTRIBUTING.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ development. Please note this documentation assumes you already have
7373
7474
::
7575

76-
3. Assuming you have virtualenv installed (If you have Python3.5 this should
76+
3. Assuming you have virtualenv installed (If you have Python 3.6 this should
7777
already be there), you can create a new environment for your local
7878
development by typing:
7979

@@ -171,7 +171,7 @@ Before you submit a pull request, check that it meets these guidelines:
171171
new functionality into a function with a docstring, and add the feature to
172172
the list in README.rst.
173173

174-
3. The pull request should work for Python 3.5, 3.6 and 3.7, 3.8 and for PyPy. Check
174+
3. The pull request should work for Python 3.6 and 3.7, 3.8 and for PyPy. Check
175175
https://travis-ci.org/audreyr/cookiecutter-pypackage/pull_requests and
176176
make sure that the tests pass for all supported Python versions.
177177

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Features
2525

2626
* Testing setup with ``unittest`` and ``python setup.py test`` or ``pytest``
2727
* Travis-CI_: Ready for Travis Continuous Integration testing
28-
* Tox_ testing: Setup to easily test for Python 3.5, 3.6, 3.7, 3.8
28+
* Tox_ testing: Setup to easily test for Python 3.6, 3.7, 3.8
2929
* Sphinx_ docs: Documentation ready for generation with, for example, `Read the Docs`_
3030
* bump2version_: Pre-configured version bumping with a single command
3131
* Auto-release to PyPI_ when you push a new tag to master (optional)

docs/troubleshooting.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Windows Issues
1515

1616
* Some people have reported issues using git bash; try using the Command Terminal instead.
1717

18-
* Virtual environments can sometimes be tricky on Windows. If you have Python 3.5 or above installed (recommended), this should get you a virtualenv named ``myenv`` created inside the current folder:
18+
* Virtual environments can sometimes be tricky on Windows. If you have Python 3.6 or above installed (recommended), this should get you a virtualenv named ``myenv`` created inside the current folder:
1919

2020
.. code-block:: powershell
2121

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
author_email='[email protected]',
1212
url='https://github.com/audreyr/cookiecutter-pypackage',
1313
keywords=['cookiecutter', 'template', 'package', ],
14-
python_requires='>=3.5',
14+
python_requires='>=3.6',
1515
classifiers=[
1616
'Development Status :: 4 - Beta',
1717
'Environment :: Console',
@@ -20,7 +20,6 @@
2020
'License :: OSI Approved :: BSD License',
2121
'Programming Language :: Python',
2222
'Programming Language :: Python :: 3',
23-
'Programming Language :: Python :: 3.5',
2423
'Programming Language :: Python :: 3.6',
2524
'Programming Language :: Python :: 3.7',
2625
'Programming Language :: Python :: 3.8',

tox.ini

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
[tox]
2-
envlist = py35, py36, py37,py38 pypy, docs
2+
envlist = py36, py37,py38 pypy, docs
33
skipsdist = true
44

55
[travis]
66
python =
77
3.8: py38
88
3.7: py37
99
3.6: py36
10-
3.5: py35
1110

1211
[testenv:docs]
1312
basepython=python

{{cookiecutter.project_slug}}/.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ python:
55
- 3.8
66
- 3.7
77
- 3.6
8-
- 3.5
98

109
# Command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
1110
install: pip install -U tox-travis

{{cookiecutter.project_slug}}/setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
setup(
2828
author="{{ cookiecutter.full_name.replace('\"', '\\\"') }}",
2929
author_email='{{ cookiecutter.email }}',
30-
python_requires='>=3.5',
30+
python_requires='>=3.6',
3131
classifiers=[
3232
'Development Status :: 2 - Pre-Alpha',
3333
'Intended Audience :: Developers',
@@ -36,7 +36,6 @@
3636
{%- endif %}
3737
'Natural Language :: English',
3838
'Programming Language :: Python :: 3',
39-
'Programming Language :: Python :: 3.5',
4039
'Programming Language :: Python :: 3.6',
4140
'Programming Language :: Python :: 3.7',
4241
'Programming Language :: Python :: 3.8',

{{cookiecutter.project_slug}}/tox.ini

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
[tox]
2-
envlist = py35, py36, py37, py38, flake8
2+
envlist = py36, py37, py38, flake8
33

44
[travis]
55
python =
66
3.8: py38
77
3.7: py37
88
3.6: py36
9-
3.5: py35
109

1110
[testenv:flake8]
1211
basepython = python

0 commit comments

Comments
 (0)