Deprecate Python 3.4 and 3.5 (#507)

pull/544/head
estshorter 2020-10-10 23:15:03 +09:00 committed by GitHub
parent 67e2d79591
commit 360b1efc0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 13 additions and 2 deletions

View File

@ -5,6 +5,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## [Unreleased] ## [Unreleased]
### Deprecated
- Support for Python 3.4 and 3.5 ([#503](https://github.com/pdfminer/pdfminer.six/pull/503))
### Added ### Added
- Option to disable boxes flow layout analysis when using pdf2txt ([#479](https://github.com/pdfminer/pdfminer.six/pull/479)) - Option to disable boxes flow layout analysis when using pdf2txt ([#479](https://github.com/pdfminer/pdfminer.six/pull/479))

View File

@ -38,7 +38,7 @@ Features
How to use How to use
---------- ----------
* Install Python 3.4 or newer * Install Python 3.6 or newer (3.4 and 3.5 are deprecated)
* Install * Install
`pip install pdfminer.six` `pip install pdfminer.six`

View File

@ -57,7 +57,7 @@ Features
Installation instructions Installation instructions
========================= =========================
Before using it, you must install it using Python 3.4 or newer. Before using it, you must install it using Python 3.6 or newer (3.4 and 3.5 are deprecated).
:: ::

View File

@ -1,4 +1,12 @@
import sys
import warnings
__version__ = '20200726' __version__ = '20200726'
if sys.version_info < (3, 6):
warnings.warn('Python 3.4 and 3.5 are deprecated. '
'Please upgrade to Python 3.6 or newer.')
if __name__ == '__main__': if __name__ == '__main__':
print(__version__) print(__version__)