Skip to content

Commit 0538f99

Browse files
authored
REL: Officially drop python2.7 support (#263)
* BUG: Fix missing FileNotFoundError on python2.7 * REL: Add Python 2 Trove Classifier * REL: Version 1.7.4 -> 1.7.5 * REL: Set minimum python requirement to 3.6 * REL: Bump dev version 1.7.5 -> 1.8.dev0 * Revert "BUG: Fix missing FileNotFoundError on python2.7" This reverts commit 5fbd912.
1 parent 02f9423 commit 0538f99

File tree

4 files changed

+5
-7
lines changed

4 files changed

+5
-7
lines changed

poetry.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pypandoc/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
from .py3compat import cast_bytes, cast_unicode, string_types, url2path, urlparse
1818

1919
__author__ = u'Juho Vepsäläinen'
20-
__version__ = '1.7.4'
20+
__version__ = '1.8.dev0'
2121
__license__ = 'MIT'
2222
__all__ = ['convert_file', 'convert_text',
2323
'get_pandoc_formats', 'get_pandoc_version', 'get_pandoc_path',

pyproject.toml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "pypandoc"
3-
version = "1.7.4"
3+
version = "1.8.dev0"
44
description = "Thin wrapper for pandoc"
55
authors = ["NicklasTegner <[email protected]>"]
66
license = "MIT"
@@ -16,8 +16,6 @@ classifiers = [
1616
'Programming Language :: Python',
1717
'Topic :: Text Processing',
1818
'Topic :: Text Processing :: Filters',
19-
'Programming Language :: Python :: 2',
20-
'Programming Language :: Python :: 2.7',
2119
'Programming Language :: Python :: 3',
2220
'Programming Language :: Python :: 3.6',
2321
'Programming Language :: Python :: 3.7',
@@ -41,7 +39,7 @@ include = [
4139
]
4240

4341
[tool.poetry.dependencies]
44-
python = "^2.7 || ^3.6"
42+
python = "^3.6"
4543

4644
[tool.poetry.dev-dependencies]
4745

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ def run(self):
8787
author_email = '[email protected]',
8888
packages = ['pypandoc'],
8989
package_data={'pypandoc': ['files/*']},
90+
python_requires=">=3.6",
9091
install_requires = ['setuptools', 'pip>=8.1.0', 'wheel>=0.25.0'],
9192
classifiers=[
9293
'Development Status :: 4 - Beta',
@@ -98,7 +99,6 @@ def run(self):
9899
'Programming Language :: Python',
99100
'Topic :: Text Processing',
100101
'Topic :: Text Processing :: Filters',
101-
'Programming Language :: Python :: 2.7',
102102
'Programming Language :: Python :: 3',
103103
'Programming Language :: Python :: 3.6',
104104
'Programming Language :: Python :: 3.7',

0 commit comments

Comments
 (0)