8000 Resolve stubtest allowlist entries for `ldap3` (#9532) · python/typeshed@0e36622 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0e36622

Browse files
authored
Resolve stubtest allowlist entries for ldap3 (#9532)
1 parent 85792bc commit 0e36622

File tree

4 files changed

+8
-2
lines changed

4 files changed

+8
-2
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
gssapi

stubs/ldap3/@tests/stubtest_allowlist.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

stubs/ldap3/METADATA.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,8 @@
11
version = "2.9.*"
22
requires = ["types-pyasn1"]
3+
4+
[tool.stubtest]
5+
apt_dependencies = ["libkrb5-dev"]
6+
# No need to install on the CI. Leaving here as information for MacOs/Windows contributors.
7+
# brew_dependencies = ["krb5"]
8+
# choco_dependencies = ["mitkerberos"]

tests/check_consistent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ def check_metadata() -> None:
191191
assert key in tk, f"Unrecognised {tool} key {key} for {distribution}"
192192

193193
tool_stubtest = data.get("tool", {}).get("stubtest", {})
194-
specified_stubtest_platforms = set(tool_stubtest.get("platforms", []))
194+
specified_stubtest_platforms = set(tool_stubtest.get("platforms", ["linux"]))
195195
assert (
196196
specified_stubtest_platforms <= supported_stubtest_platforms
197197
), f"Unrecognised platforms specified: {supported_stubtest_platforms - specified_stubtest_platforms} for {distribution}"

0 commit comments

Comments
 (0)
0