I started to make a package for ruamel_yaml as a first step since the version in the Solus repository is only Python 2 and quite outdated.
But the make fails during install with below error:
+ pip3 install . --root=/home/build/YPKG/root/python3-ruamel_yaml/install
Processing /home/build/YPKG/root/python3-ruamel_yaml/build/ruamel.yaml-0.16.10
Collecting ruamel.yaml.clib>=0.1.2 (from ruamel.yaml==0.16.10)
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f84308f56d0>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/ruamel-yaml-clib/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f84308bcd50>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/ruamel-yaml-clib/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f84308bc4d0>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/ruamel-yaml-clib/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f84308bc690>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/ruamel-yaml-clib/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7f84308bcc90>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/ruamel-yaml-clib/
ERROR: Could not find a version that satisfies the requirement ruamel.yaml.clib>=0.1.2 (from ruamel.yaml==0.16.10) (from versions: none)
ERROR: No matching distribution found for ruamel.yaml.clib>=0.1.2 (from ruamel.yaml==0.16.10)
Command '['/bin/bash', '--norc', '--noprofile', '/tmp/ypkg-installzTtR63']' returned non-zero exit status 1
[Build] install failed
In package.yml I have install : pip3 install . --root=%installroot% like in current Solus repository for Python 2.7. The macro python3_install throws an error telling me that setup.py has no install section and I hae to use pip install.
In a Python3 virtual environment I could do a pip3 install ruamel.yaml.clibwithout issues, not clear why it doesn't seem to work in solbuild make process. Or do I need to create the ruamel.yaml.clib first and add it as build dependency?