Have update-bundled check for updates to all bundled code

Add a test for whether we have bundled code inside of ansible that needs to be updated
This commit is contained in:
Toshio Kuratomi
2019-02-05 10:18:00 -08:00
parent 2c0897caf2
commit dfd8b659c0
8 changed files with 184 additions and 35 deletions

View File

@@ -66,6 +66,11 @@ from __future__ import unicode_literals
import itertools
import struct
# The following makes it easier for us to script updates of the bundled code and is not part of
# upstream
_BUNDLED_METADATA = {"pypi_name": "ipaddress", "version": "1.0.22"}
__version__ = '1.0.22'
# Compatibility functions

View File

@@ -33,6 +33,10 @@ import operator
import sys
import types
# The following makes it easier for us to script updates of the bundled code. It is not part of
# upstream six
_BUNDLED_METADATA = {"pypi_name": "six", "version": "1.11.0"}
__author__ = "Benjamin Peterson <benjamin@python.org>"
__version__ = "1.11.0"

View File

@@ -136,6 +136,10 @@ if not HAS_SSLCONTEXT and HAS_SSL:
del libssl
# The following makes it easier for us to script updates of the bundled backports.ssl_match_hostname
# The bundled backports.ssl_match_hostname should really be moved into its own file for processing
_BUNDLED_METADATA = {"pypi_name": "backports.ssl_match_hostname", "version": "3.5.0.1"}
LOADED_VERIFY_LOCATIONS = set()
HAS_MATCH_HOSTNAME = True