Passing the trustme dependency into requests checkInputs has become an
infinite recursion since the latest hypothesis update.
It is unclear what the dependency chain is that causes this, but there
is little need in overriding requests, since its API is mostly very
stable.
use_2to3 was removed from setuptools with version 58.0.0. There is an
upstream issue for this error
(https://github.com/indigo-dc/udocker/issues/358) and has been resolved
with commit
9f7d6c5f9a.
We apply this commit as a patch.
Disable test_02__load_structure because it fails with a
unittest.mock.InvalidSpecError.
and check for all required imports as per requirements.txt
While debugging missing metadata in the cloud-init boot local phase
in a NixOS VM on SmartOS, the following error was observed:
SystemError: Unable to open /dev/ttyS1
Adding the missing pyserial dependency fixes the above error and
cloud-init metadata detection now works in NixOS VMs on SmartOS
Workaround build failure on -fno-common toolchains like upstream
gcc-10. Otherwise build fails as:
ld: utils.o:xenstore/utils.h:27:
multiple definition of `xprintf'; xenstored_core.o:xenstore/utils.h:27: first defined here
- Make tests/lxd.nix use NixOS's lxdMeta & lxdImage to avoid relying on
3rd party containers such as Alpine Linux for testing purposes.
- Merge tests/lxd-image.nix into tests/lxd.nix, since now both have a
similar structure.
- Extract duplicated inline LXD configuration into a separate file,
- Add passthru.lxd-nftables & passthru.lxd-image-server.
/etc/containers is also used by Podman, Skopeo & other popular
container tooling so we need to be able to move to another
configuration directory.
The state move is not strictly a requirement but is good for consistency.
Upon every API call, this program will check the API version and make a
request to PyPi to check the latest version and, if not latest, will
show a warning like
> The API responded with version 1.2.4, which is newer than the CLI's
> version of 1.2.3. Please update the CLI to get access to the newest
> features. You can update with a simple `pip install --upgrade
> linode-cli`
This is not really useful with Nix, as the update message is wrong. And
connecting to a third-party on each usage is not desired, either.