diff --git a/pyproject.toml b/pyproject.toml index c59d9109bad2..2f61af20376a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,7 +26,6 @@ module = [ "debconf", "httplib", "jsonpatch", - "netifaces", "paramiko.*", "pip.*", "pycloudlib.*", diff --git a/requirements.txt b/requirements.txt index edec46a7fddc..eabd7a22cd87 100644 --- a/requirements.txt +++ b/requirements.txt @@ -29,12 +29,3 @@ jsonpatch # For validating cloud-config sections per schema definitions jsonschema - -# Used by DataSourceVMware to inspect the host's network configuration during -# the "setup()" function. -# -# This allows a host that uses DHCP to bring up the network during BootLocal -# and still participate in instance-data by gathering the network in detail at -# runtime and merge that information into the metadata and repersist that to -# disk. -netifaces>=0.10.4 diff --git a/tests/unittests/sources/test_vmware.py b/tests/unittests/sources/test_vmware.py index 6cedc716256e..6f73825f4f00 100644 --- a/tests/unittests/sources/test_vmware.py +++ b/tests/unittests/sources/test_vmware.py @@ -75,7 +75,7 @@ def common_patches(): ), mock.patch( "cloudinit.netinfo.netdev_info", - return_value=[], + return_value={}, ), mock.patch( "cloudinit.sources.DataSourceVMware.getfqdn", diff --git a/tools/build-on-netbsd b/tools/build-on-netbsd index 0d4eb58be4d2..b743d591b6e2 100755 --- a/tools/build-on-netbsd +++ b/tools/build-on-netbsd @@ -19,7 +19,6 @@ pkgs=" ${py_prefix}-oauthlib ${py_prefix}-requests ${py_prefix}-setuptools - ${py_prefix}-netifaces ${py_prefix}-yaml ${py_prefix}-jsonschema sudo diff --git a/tox.ini b/tox.ini index 5f01a9a8f6dd..403b7d5765b3 100644 --- a/tox.ini +++ b/tox.ini @@ -194,7 +194,6 @@ deps = requests==2.18.4 jsonpatch==1.16 jsonschema==2.6.0 - netifaces==0.10.4 # test-requirements pytest==3.3.2 pytest-cov==2.5.1