You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ grep -A 2 "extras_require" setup.py
extras_require={
'python-daemon': ['python-daemon'],
},
$ sudo pip install apel-ssm[python-daemon]
Requirement already satisfied (use --upgrade to upgrade): apel-ssm[python-daemon] in /usr/lib/python2.7/site-packages/apel_ssm-2.2.0-py2.7.egg
apel-ssm 2.2.0 does not provide the extra 'python-daemon'
I guess we should follow what @jrha says for this kind of thing - if a package is optional then it shouldn't be a requirement and, as there's no consistent way of handling optionals across packaging systems, then it should just be left out.
The flip side of this is that we probably need better exception handling if the packages are missing when an attempt is made to use the parts of our software that do need those packages.
Currently it's only an optional requirement in setup.py but a hard requirement in apel-ssm.spec.
The text was updated successfully, but these errors were encountered: