Skip to content

Commit d238ab5

Browse files
JelleZijlstragvanrossum
authored andcommitted
Remove bundled lib-typing (#3337)
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.
1 parent e1fcab8 commit d238ab5

File tree

13 files changed

+28
-8840
lines changed

13 files changed

+28
-8840
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ python:
1515

1616
install:
1717
- pip install -r test-requirements.txt
18+
- python2 -m pip install --user typing
1819
- python setup.py install
1920

2021
script:

LICENSE

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ DEALINGS IN THE SOFTWARE.
2727
= = = = =
2828

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

3332
= = = = =
3433

lib-typing/2.7/mod_generics_cache.py

Lines changed: 0 additions & 14 deletions
This file was deleted.

lib-typing/2.7/setup.py

Lines changed: 0 additions & 46 deletions
This file was deleted.

0 commit comments

Comments
 (0)