Skip to content

Commit

Permalink
Remove bundled lib-typing (#3337)
Browse files Browse the repository at this point in the history
This gets rid of code duplication and makes sure mypy works with the released version of `typing`. This doesn't fix any immediate issue, but I saw some comments in the bug tracker saying that we should be able to get rid of `lib-typing` eventually.

There is a minor downside: To run mypy tests locally, you will now have to have a Python 2.7 installed that has `typing` available.
  • Loading branch information
JelleZijlstra authored and gvanrossum committed May 29, 2017
1 parent e1fcab8 commit d238ab5
Show file tree
Hide file tree
Showing 13 changed files with 28 additions and 8,840 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ python:

install:
- pip install -r test-requirements.txt
- python2 -m pip install --user typing
- python setup.py install

script:
Expand Down
3 changes: 1 addition & 2 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ DEALINGS IN THE SOFTWARE.
= = = = =

Portions of mypy are licensed under different licenses. The files
under stdlib-samples and lib-typing are licensed under the PSF 2
License, reproduced below.
under stdlib-samples are licensed under the PSF 2 License, reproduced below.

= = = = =

Expand Down
14 changes: 0 additions & 14 deletions lib-typing/2.7/mod_generics_cache.py

This file was deleted.

46 changes: 0 additions & 46 deletions lib-typing/2.7/setup.py

This file was deleted.

Loading

0 comments on commit d238ab5

Please sign in to comment.