Skip to content

Commit

Permalink
Release 3.6.1, drop 3.2 support
Browse files Browse the repository at this point in the history
  • Loading branch information
ambv committed Mar 27, 2017
1 parent eaf73ab commit f264669
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 36 deletions.
17 changes: 0 additions & 17 deletions CHANGELOG.rst

This file was deleted.

18 changes: 4 additions & 14 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ Workflow for PyPI releases
--------------------------

* Run tests under all supported versions. As of March 2017 this includes
2.7, 3.2, 3.3, 3.4, 3.5, 3.6.
2.7, 3.3, 3.4, 3.5, 3.6.

* On macOS, you can use [pyenv](https://github.com/pyenv/pyenv) to manage
multiple Python installations. Long story short:
Expand All @@ -145,20 +145,10 @@ Workflow for PyPI releases
* `pyenv install 3.5.3`
* `pyenv install 3.4.6`
* `pyenv install 3.3.6`
* `pyenv install 3.2.6`
* (assuming you already have 2.7.13 and 3.6.1 from Homebrew)
* `pyenv global system 3.5.3 3.4.6 3.3.6 3.2.6`

* You can use `tox` to automate running tests. Note: `tox` no longer
supports Python 3.2 because modern versions of `virtualenv` bundle
`pip` versions newer than 7.1.2 which dropped Python 3.2
compatibility. You need a new `virtualenv` version to support 3.6.
So, you'll have to test on 3.2 separately:

* `pip3.2 install virtualenv==13.1.2`
* `python3.2 -m virtualenv .venv32`
* `. .venv32/bin/activate`
* `cd src/ && python -m unittest discover`
* `pyenv global system 3.5.3 3.4.6 3.3.6`

* You can use `tox` to automate running tests.

* Update the version number in `setup.py`.

Expand Down
9 changes: 4 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@
import sys
from distutils.core import setup

if sys.version_info < (2, 7, 0) or (3, 0, 0) <= sys.version_info < (3, 2, 0):
sys.stderr.write('ERROR: You need Python 2.7 or 3.2-3.4 '
if sys.version_info < (2, 7, 0) or (3, 0, 0) <= sys.version_info < (3, 3, 0):
sys.stderr.write('ERROR: You need Python 2.7 or 3.3+ '
'to install the typing package.\n')
exit(1)

version = '3.5.3.0'
version = '3.6.1'
description = 'Type Hints for Python'
long_description = '''\
Typing -- Type Hints for Python
This is a backport of the standard library typing module to Python
versions older than 3.5.
versions older than 3.6.
Typing defines a standard notation for Python function and variable
type annotations. The notation can be used for documenting code in a
Expand All @@ -33,7 +33,6 @@
'License :: OSI Approved :: Python Software Foundation License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
Expand Down

0 comments on commit f264669

Please sign in to comment.