diff --git a/docker/python-builder/scripts/get-extras-packages b/docker/python-builder/scripts/get-extras-packages index f3649f4fbd..b77a69815e 100755 --- a/docker/python-builder/scripts/get-extras-packages +++ b/docker/python-builder/scripts/get-extras-packages @@ -28,6 +28,8 @@ def get_extras_packages(path): for name, packages in config.items(): for package in packages.split('\n'): package = package.strip() + if '#' in package: + package = package.split('#')[0] if not package: continue extras.add(package)