pythonPackages.cot: init at 2.2.1 #94179
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation for this change
I figured this might be more accessible/helpful than e.g. https://code.vmware.com/tool/ovf
This might prove useful in adding ESXi virtualization support (Discourse post) if/once glennmatthews/cot#80 is resolved.
Until then, I think this might still be useful for managing OVF appliances, either during or after their generation, via the
virtualbox-image
and related expressions (VBoxManage export
, etc).Things done
cot
to python-modules (>=python3)cot
totop-level/pythonPackages
cot
totop-level/all-packages
(viatoPythonApplication
)Many tests are currently disabled
Without any filters, this is the output from a normal build (with all tests enabled):
I ignored any files with failing tests, vs disabling each test that was failing.
This results in 19 lines of
--ignore
vs ~189.Note that this package needs
py3k
and up, and is disabledif !isPy3k
in the expression.I noticed that some packages do this checking earlier (e.g. in
python-packages.nix
), and while I'm not sure which is a best practice, thedisabled
attribute does preventcot
from being built withpython2
(error: cot-2.2.1 not supported for interpreter python2.7
)