Skip to content
Myr

Drop testing for 2.6 and 3.3. Add 3.6.

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Via discussion pallets/meta#24

authored by Hsiaoming Yang · committed by Hsiaoming Yang · parent a87829d · Browse files · 4 files+16 added−9 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

4 files+16 added−9 removed

  • other:+16 added−9 removed

4 files+16 added−9 removed

modified:docs/python3.rst+1 added-1 removed
4 unmodified lines
56Click supports Python 3, but like all other command line utility libraries,7it suffers from the Unicode text model in Python 3. All examples in the8documentation were written so that they could run on both Python 2.x and9Python 3.3 or higher.9Python 3.4 or higher.1011At the moment, it is strongly recommended to use Python 2 for Click12utilities unless Python 3 is a hard requirement.13
170 unmodified lines
modified:.travis.yml-2 removed
modified:setup.py+13 added-2 removed
11 unmodified lines
121314setup(15 name='click',16 version=version,17 url='https://www.palletsprojects.com/p/click/',18 author='Armin Ronacher',19 author_email='armin.ronacher@active-4.com',18 version=version,19 url='http://github.com/pallets/click',20 maintainer='Pallets team',21 maintainer_email='contact@palletsprojects.com',22 packages=['click'],23 description='A simple wrapper around optparse for '24 'powerful command line utilities.',25 license='BSD',26 classifiers=[27 'Development Status :: 5 - Production/Stable',28 'Intended Audience :: Developers',29 'License :: OSI Approved :: BSD License',30 'Operating System :: OS Independent'31 'Programming Language :: Python',32 'Programming Language :: Python :: 2',33 'Programming Language :: Python :: 2.7',34 'Programming Language :: Python :: 3',35 'Programming Language :: Python :: 3.4',36 'Programming Language :: Python :: 3.5',37 'Programming Language :: Python :: 3.6',38 ],39)
modified:tox.ini+2 added-4 removed
1[tox]2envlist = py{26,27,33,34,35,36,py}2envlist = py27,py34,py35,py36,pypy34[testenv]5passenv = LANG6commands = {env:TEST_RUNNER:pytest} {posargs}7deps =8 {env:_CLICK_TEST_PYTEST_DEP:pytest}8 pytest9 colorama: colorama10 coverage: coverage11setenv =12 coverage: TEST_RUNNER=coverage run -m pytest13 # pytest 3.3+ does not support Python 2.6 and 3.3 anymore.14 py26,py33: _CLICK_TEST_PYTEST_DEP=pytest<3.3