@@ -190,6 +190,9 @@ supported:
190
190
[ removing obsolete third-party libraries] ( #third-party-library-removal-policy ) .
191
191
It contains the first version of the corresponding library that ships
192
192
its own ` py.typed ` file.
193
+ * ` no_longer_updated ` (optional): This field is set to ` true ` before removing
194
+ stubs for other reasons than the upstream library shipping with type
195
+ information.
193
196
* ` stubtest ` (default: ` true ` ): Whether stubtest should be run against this
194
197
package. Please avoid setting this to ` false ` , and add a comment if you have
195
198
to.
@@ -529,7 +532,7 @@ if it consisted of several smaller commits.
529
532
530
533
## Third-party library removal policy
531
534
532
- Third-party packages are generally removed from typeshed when one of the
535
+ Third-party stubs are generally removed from typeshed when one of the
533
536
following criteria is met:
534
537
535
538
* The upstream package ships a ` py.typed ` file for at least six months, or
@@ -543,6 +546,18 @@ If a package ships its own `py.typed` file, please follow these steps:
543
546
[ "removal" label] ( https://github.com/python/typeshed/labels/removal ) .
544
547
3 . Open a PR that sets the ` obsolete_since ` field in the ` METADATA.toml `
545
548
file to the first version of the package that shipped ` py.typed ` .
549
+ 4 . After at least six months, open a PR to remove the stubs.
550
+
551
+ If third-party stubs should be removed for other reasons, please follow these
552
+ steps:
553
+
554
+ 1 . Open an issue explaining why the stubs should be removed.
555
+ 2 . A maintainer will add the
556
+ [ "removal" label] ( https://github.com/python/typeshed/labels/removal ) .
557
+ 3 . Open a PR that sets the ` no_longer_updated ` field in the ` METADATA.toml `
558
+ file to ` true ` .
559
+ 4 . When a new version of the package was automatically uploaded to PyPI
560
+ (which usually takes up to 3 hours), open a PR to remove the stubs.
546
561
547
562
## Maintainer guidelines
548
563
0 commit comments