Drop Python 3.4 support.

This commit is contained in:
Waylan Limberg
2019-12-20 08:50:51 -05:00
parent c9032bd6bf
commit f601e0ae62
5 changed files with 8 additions and 17 deletions

View File

@@ -17,12 +17,6 @@ matrix:
- env: TOXENV=csslint
before_install: npm install -g csslint
# Python version specific
- python: '3.4'
env: TOXENV=py34-integration
- python: '3.4'
env: TOXENV=py34-min-req
- python: '3.4'
env: TOXENV=py34-unittests
- python: '3.5'
env: TOXENV=py35-integration
- python: '3.5'

View File

@@ -1,9 +1,6 @@
build: false
environment:
matrix:
- TOXENV: py34-integration
- TOXENV: py34-min-req
- TOXENV: py34-unittests
- TOXENV: py35-integration
- TOXENV: py35-min-req
- TOXENV: py35-unittests

View File

@@ -56,6 +56,7 @@ your global navigation uses more than one level, things will likely be broken.
### Other Changes and Additions to Version 1.1
* Drop support for Python 3.4.
* Drop support for Python 2.7. MkDocs is PY3 only now (#1926).
* Bugfix: Select appropriate asyncio event loop on Windows for Python 3.8+ (#1885).
* Bugfix: Ensure nested index pages do not get identified as the homepage (#1919).

View File

@@ -62,7 +62,7 @@ setup(
'PyYAML>=3.10',
'tornado>=5.0'
],
python_requires='>=3.4',
python_requires='>=3.5',
entry_points={
'console_scripts': [
'mkdocs = mkdocs.__main__:cli',
@@ -84,7 +84,6 @@ setup(
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',

12
tox.ini
View File

@@ -1,18 +1,18 @@
[tox]
envlist =
py{34,35,36,37,py3}-{unittests,integration,min-req},
py{35,36,37,py3}-{unittests,integration,min-req},
flake8, markdown-lint, linkchecker, jshint, csslint
[testenv]
passenv = LANG
deps=
py{34,35,36,37,py3}-{unittests,integration}: -rrequirements/project.txt
py{34,35,36,37,py3}-min-req: -rrequirements/project-min.txt
py{34,35,36,37,py3}-{unittests,min-req}: -rrequirements/test.txt
py{35,36,37,py3}-{unittests,integration}: -rrequirements/project.txt
py{35,36,37,py3}-min-req: -rrequirements/project-min.txt
py{35,36,37,py3}-{unittests,min-req}: -rrequirements/test.txt
commands=
{envpython} --version
py{34,35,36,37,py3}-{unittests,min-req}: {envbindir}/nosetests --with-coverage --cover-package mkdocs mkdocs
py{34,35,36,37,py3}-integration: {envpython} -m mkdocs.tests.integration --output={envtmpdir}/builds
py{35,36,37,py3}-{unittests,min-req}: {envbindir}/nosetests --with-coverage --cover-package mkdocs mkdocs
py{35,36,37,py3}-integration: {envpython} -m mkdocs.tests.integration --output={envtmpdir}/builds
[testenv:flake8]
deps=-rrequirements/test.txt