Skip to content

Commit c468c69

Browse files
Remove typing-extensions (#1189)
1 parent 7c5e767 commit c468c69

File tree

12 files changed

+17
-5300
lines changed

12 files changed

+17
-5300
lines changed

.flake8

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,3 @@ ignore =
99
E129,
1010
# consistency with mypy
1111
W504
12-
exclude =
13-
# tests have more relaxed formatting rules
14-
# and its own specific config in .flake8-tests
15-
typing_extensions/src/test_typing_extensions.py,

.flake8-tests

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

.github/workflows/ci.yml

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -8,36 +8,6 @@ permissions:
88
contents: read
99

1010
jobs:
11-
tests:
12-
name: Run tests
13-
14-
strategy:
15-
fail-fast: false
16-
matrix:
17-
# We try to test on the earliest available bugfix release of each
18-
# Python version, because typing sometimes changed between bugfix releases.
19-
# For available versions, see:
20-
# https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json
21-
python-version: ["3.7", "3.7.1", "3.8", "3.8.0", "3.9", "3.9.0", "3.10", "3.10.0", "3.11-dev"]
22-
23-
runs-on: ubuntu-latest
24-
25-
steps:
26-
- uses: actions/checkout@v2
27-
28-
- name: Set up Python
29-
uses: actions/setup-python@v2
30-
with:
31-
python-version: ${{ matrix.python-version }}
32-
33-
- name: Test typing_extensions
34-
continue-on-error: ${{ matrix.python-version == '3.11-dev' }}
35-
run: |
36-
# Be wary of running `pip install` here, since it becomes easy for us to
37-
# accidentally pick up typing_extensions as installed by a dependency
38-
cd typing_extensions/src
39-
python -m unittest test_typing_extensions.py
40-
4111
linting:
4212
name: Lint
4313

@@ -59,6 +29,3 @@ jobs:
5929
6030
- name: Lint implementation
6131
run: flake8
62-
63-
- name: Lint tests
64-
run: flake8 --config=.flake8-tests typing_extensions/src/test_typing_extensions.py

.github/workflows/package.yml

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

README.md

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
[![Chat at https://gitter.im/python/typing](https://badges.gitter.im/python/typing.svg)](https://gitter.im/python/typing?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
22

3-
Static Typing for Python
4-
========================
3+
# Static Typing for Python
54

6-
Documentation and Support
7-
-------------------------
5+
## Documentation and Support
86

97
The documentation for Python's static typing can be found at
108
[typing.readthedocs.io](https://typing.readthedocs.io/). You can get
@@ -16,26 +14,29 @@ Improvements to the type system should be discussed on the
1614
mailing list, although the [issues](https://github.com/python/typing/issues) in this
1715
repository contain some historic discussions.
1816

19-
Repository Content
20-
------------------
17+
## Repository Content
2118

2219
This GitHub repository is used for several things:
2320

24-
- The `typing_extensions` module lives in the
25-
[typing\_extensions](./typing_extensions) directory.
26-
2721
- The documentation at [typing.readthedocs.io](https://typing.readthedocs.io/)
2822
is maintained in the [docs directory](./docs).
2923

3024
- A [discussion forum](https://github.com/python/typing/discussions) for typing-related user
3125
help is hosted here.
3226

33-
Historically, this repository hosted a backport of the
34-
[`typing` module](https://docs.python.org/3/library/typing.html) for older
35-
Python versions. The last released version, supporting Python 2.7 and 3.4,
36-
is [available at PyPI](https://pypi.org/project/typing/).
27+
Historically, this repository also hosted:
28+
29+
- The `typing_extensions` package, which now lives in the
30+
[typing_extensions](https://github.com/python/typing_extensions) repo.
31+
It used to be in the `typing_extensions` directory.
32+
33+
- A backport of the
34+
[`typing` module](https://docs.python.org/3/library/typing.html) for older
35+
Python versions. It was removed after all Python versions that lack `typing`
36+
in the standard library reached end of life. The last released version,
37+
supporting Python 2.7 and 3.4,
38+
is [available at PyPI](https://pypi.org/project/typing/).
3739

38-
Workflow
39-
--------
40+
## Workflow
4041

4142
See [CONTRIBUTING.md](/CONTRIBUTING.md) for more.

typing_extensions/CHANGELOG.md

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

0 commit comments

Comments
 (0)