diff options
-rw-r--r-- | .travis.yml | 7 | ||||
-rw-r--r-- | markdown/extensions/legacy_attrs.py | 2 | ||||
-rwxr-xr-x | setup.py | 4 | ||||
-rw-r--r-- | tox.ini | 2 |
4 files changed, 10 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml index bc61d47..01bdbd6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,8 +11,14 @@ matrix: env: TOXENV=py35 - python: '3.6' env: TOXENV=py36 + - python: '3.7' + env: TOXENV=py37 + dist: xenial + sudo: true - python: 'pypy' env: TOXENV=pypy + - python: 'pypy3' + env: TOXENV=pypy3 - env: TOXENV=flake8 - env: TOXENV=checkspelling @@ -37,4 +43,3 @@ after_success: branches: only: - master - - md3 diff --git a/markdown/extensions/legacy_attrs.py b/markdown/extensions/legacy_attrs.py index 280be07..b28223f 100644 --- a/markdown/extensions/legacy_attrs.py +++ b/markdown/extensions/legacy_attrs.py @@ -17,7 +17,7 @@ from markdown.treeprocessors import Treeprocessor, isString from markdown.extensions import Extension -ATTR_RE = re.compile("\{@([^\}]*)=([^\}]*)}") # {@id=123} +ATTR_RE = re.compile(r'\{@([^\}]*)=([^\}]*)}') # {@id=123} class LegacyAttrs(Treeprocessor): @@ -56,6 +56,7 @@ setup( maintainer_email='waylan.limberg@icloud.com', license='BSD License', packages=['markdown', 'markdown.extensions'], + python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*', entry_points={ 'console_scripts': [ '%s = markdown.__main__:run' % SCRIPT_NAME, @@ -89,11 +90,10 @@ setup( 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.2', - 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', + 'Programming Language :: Python :: 3.7', 'Topic :: Communications :: Email :: Filters', 'Topic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/Libraries', 'Topic :: Internet :: WWW/HTTP :: Site Management', @@ -1,5 +1,5 @@ [tox] -envlist = py27, py32, py33, py34, py35, py36, pypy, flake8, checkspelling +envlist = py27, py34, py35, py36, py37, pypy, pypy3, flake8, checkspelling [testenv] deps = -rtest-requirements.txt |