From 9b64039bbc37503f93851768b587d1eb906e7664 Mon Sep 17 00:00:00 2001 From: Sebastian Rittau Date: Wed, 16 Jun 2021 16:56:20 +0200 Subject: [PATCH 1/2] Rename openssl-python to pyOpenSSL Remove stubtest allowlist Set package version --- stubs/openssl-python/@tests/stubtest_allowlist.txt | 3 --- stubs/{openssl-python => pyOpenSSL}/METADATA.toml | 3 +-- stubs/{openssl-python => pyOpenSSL}/OpenSSL/SSL.pyi | 0 stubs/{openssl-python => pyOpenSSL}/OpenSSL/__init__.pyi | 0 stubs/{openssl-python => pyOpenSSL}/OpenSSL/crypto.pyi | 0 5 files changed, 1 insertion(+), 5 deletions(-) delete mode 100644 stubs/openssl-python/@tests/stubtest_allowlist.txt rename stubs/{openssl-python => pyOpenSSL}/METADATA.toml (61%) rename stubs/{openssl-python => pyOpenSSL}/OpenSSL/SSL.pyi (100%) rename stubs/{openssl-python => pyOpenSSL}/OpenSSL/__init__.pyi (100%) rename stubs/{openssl-python => pyOpenSSL}/OpenSSL/crypto.pyi (100%) diff --git a/stubs/openssl-python/@tests/stubtest_allowlist.txt b/stubs/openssl-python/@tests/stubtest_allowlist.txt deleted file mode 100644 index b84899f82079..000000000000 --- a/stubs/openssl-python/@tests/stubtest_allowlist.txt +++ /dev/null @@ -1,3 +0,0 @@ -OpenSSL -OpenSSL.SSL -OpenSSL.crypto diff --git a/stubs/openssl-python/METADATA.toml b/stubs/pyOpenSSL/METADATA.toml similarity index 61% rename from stubs/openssl-python/METADATA.toml rename to stubs/pyOpenSSL/METADATA.toml index f2e57a602bc3..098d93d36d4a 100644 --- a/stubs/openssl-python/METADATA.toml +++ b/stubs/pyOpenSSL/METADATA.toml @@ -1,4 +1,3 @@ -version = "0.1" +version = "20.0" python2 = true -python3 = true requires = ["types-cryptography"] diff --git a/stubs/openssl-python/OpenSSL/SSL.pyi b/stubs/pyOpenSSL/OpenSSL/SSL.pyi similarity index 100% rename from stubs/openssl-python/OpenSSL/SSL.pyi rename to stubs/pyOpenSSL/OpenSSL/SSL.pyi diff --git a/stubs/openssl-python/OpenSSL/__init__.pyi b/stubs/pyOpenSSL/OpenSSL/__init__.pyi similarity index 100% rename from stubs/openssl-python/OpenSSL/__init__.pyi rename to stubs/pyOpenSSL/OpenSSL/__init__.pyi diff --git a/stubs/openssl-python/OpenSSL/crypto.pyi b/stubs/pyOpenSSL/OpenSSL/crypto.pyi similarity index 100% rename from stubs/openssl-python/OpenSSL/crypto.pyi rename to stubs/pyOpenSSL/OpenSSL/crypto.pyi From d76ad389fae2d1af3b3f0116886ee75542c98db7 Mon Sep 17 00:00:00 2001 From: Sebastian Rittau Date: Wed, 16 Jun 2021 17:07:07 +0200 Subject: [PATCH 2/2] Add new stubtest allowlist --- stubs/pyOpenSSL/@tests/stubtest_allowlist.txt | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 stubs/pyOpenSSL/@tests/stubtest_allowlist.txt diff --git a/stubs/pyOpenSSL/@tests/stubtest_allowlist.txt b/stubs/pyOpenSSL/@tests/stubtest_allowlist.txt new file mode 100644 index 000000000000..a156e4ee8c3e --- /dev/null +++ b/stubs/pyOpenSSL/@tests/stubtest_allowlist.txt @@ -0,0 +1,4 @@ +OpenSSL.SSL.Connection.__init__ +OpenSSL.SSL.Context.load_verify_locations +OpenSSL.SSL.Context.set_verify +OpenSSL.crypto