summaryrefslogtreecommitdiff
path: root/lib/ansible/compat
diff options
context:
space:
mode:
authorToshio Kuratomi <a.badger@gmail.com>2019-02-05 10:18:00 -0800
committerToshio Kuratomi <a.badger@gmail.com>2019-02-06 13:59:55 -0800
commitdfd8b659c0fbf9032e2ca24c0e36bd8755d27614 (patch)
tree738152cb2644312c44c4ebacec848460340a05ae /lib/ansible/compat
parent2c0897caf2b2fe6eecc2361f4fd5446ba1991105 (diff)
downloadansible-dfd8b659c0fbf9032e2ca24c0e36bd8755d27614.tar.gz
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
Diffstat (limited to 'lib/ansible/compat')
-rw-r--r--lib/ansible/compat/selectors/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/ansible/compat/selectors/__init__.py b/lib/ansible/compat/selectors/__init__.py
index 8d45ea5fbf..2f73c02280 100644
--- a/lib/ansible/compat/selectors/__init__.py
+++ b/lib/ansible/compat/selectors/__init__.py
@@ -24,7 +24,8 @@ Compat selectors library. Python-3.5 has this builtin. The selectors2
package exists on pypi to backport the functionality as far as python-2.6.
'''
# The following makes it easier for us to script updates of the bundled code
-_BUNDLED_METADATA = {"pypi_name": "selectors2", "version": "1.1.0"}
+_BUNDLED_METADATA = {"pypi_name": "selectors2", "version": "1.1.0", "version_constraints": ">1.0,<2.0"}
+
# Added these bugfix commits from 2.1.0:
# * https://github.com/SethMichaelLarson/selectors2/commit/3bd74f2033363b606e1e849528ccaa76f5067590
# Wrap kqueue.control so that timeout is a keyword arg