From 41f871f12db9f4338c0a6f3f2f59ab61f39a8b03 Mon Sep 17 00:00:00 2001 From: Guillaume Ayoub Date: Fri, 4 Sep 2020 08:41:11 +0200 Subject: [PATCH] Drop Python 3.5 support --- .travis.yml | 6 ++---- README.rst | 2 +- docs/install.rst | 2 +- setup.cfg | 3 +-- 4 files changed, 5 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1463e0eae..b2b771730 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,13 +6,11 @@ git: jobs: include: - - os: linux - python: 3.5 - - os: linux + - dist: bionic python: 3.6 - dist: bionic python: 3.7 - - dist: bionic + - dist: focal python: 3.8 - os: osx language: generic diff --git a/README.rst b/README.rst index e661b9fce..5c3bee773 100644 --- a/README.rst +++ b/README.rst @@ -17,7 +17,7 @@ WebKit or Gecko. The CSS layout engine is written in Python, designed for pagination, and meant to be easy to hack on. * Free software: BSD licensed -* Python 3.5+ +* Python 3.6+ * Website: https://weasyprint.org/ * Documentation: https://weasyprint.readthedocs.io/ * Source code and issue tracker: https://github.com/Kozea/WeasyPrint diff --git a/docs/install.rst b/docs/install.rst index 198020808..e3bbf83e1 100644 --- a/docs/install.rst +++ b/docs/install.rst @@ -3,7 +3,7 @@ Installing WeasyPrint |version| depends on: -* CPython_ ≥ 3.5.0 +* CPython_ ≥ 3.6.0 * cairo_ ≥ 1.15.4 [#]_ * Pango_ ≥ 1.38.0 [#]_ * setuptools_ ≥ 30.3.0 [#]_ diff --git a/setup.cfg b/setup.cfg index 4ddc2cf2c..d0a05c274 100644 --- a/setup.cfg +++ b/setup.cfg @@ -23,7 +23,6 @@ classifiers = Intended Audience :: Developers License :: OSI Approved :: BSD License Programming Language :: Python :: 3 - Programming Language :: Python :: 3.5 Programming Language :: Python :: 3.6 Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.8 @@ -63,7 +62,7 @@ tests_require = pytest-cov pytest-flake8 pytest-isort -python_requires = >= 3.5 +python_requires = >= 3.6 [options.entry_points] console-scripts = weasyprint = weasyprint.__main__:main