Another test issue surfacing from the setuptools bump in
70c1899768.
This time, the tests just fail because mock is missing as a dependency.
Tested building against Python 2.7 and Python 3.6.
Signed-off-by: aszlig <aszlig@nix.build>
Cc: @joachifm, @Mic92
The bump of setuptools from version 36.7.1 to 38.2.3 (commit
70c1899768) has caused the axolotl tests
to suddenly being run.
As the comment prior to the doCheck attribute states, we're using
pycryptodome so the tests are expected to fail even on Python 2.7 but
because of the version bump mentioned above, the tests didn't run and
thus the build didn't fail during when commit
094ac2d9b1 was made.
Signed-off-by: aszlig <aszlig@nix.build>
Cc: @abbradar, @Mic92
New features:
* Support for retrieving reverse PTRs.
* Support for subnet-ranges.
* Add logging (aszlig/hetzner#14).
Fixes:
* Hide internal methods from the public API.
* Fix Python 3 compatibility.
* Fix for creating admin accounts with Hetzner's new login site.
* Fix __repr__/__str__ issue with some exceptions (aszlig/hetzner#23).
* Fix login for RobotWebInterface
Changes for the hetznerctl utility:
* show: Show subnets
* show: Show reverse PTRs
* New 'rdns' subcommand for getting/setting/removing reverse-PTRs.
* Use 'argparse' instead of 'optparse'.
* Add command for managing admin accounts.
* New '--debug' flag for printing debugging information.
This also fixesNixOS/nixops#778.
Tested building against Python 2.7 and Python 3.6.
Signed-off-by: aszlig <aszlig@nix.build>
Python libraries or modules now have an attribute `pythonModule = interpreter;` to indicate
they provide Python modules for the specified `interpreter`.
The package set provides the following helper functions:
- hasPythonModule: Check whether a derivation provides a Python module.
- requiredPythonModules: Recurse into a list of Python modules, returning all Python modules that are required.
- makePythonPath: Create a PYTHONPATH from a list of Python modules.
Also included in this commit is:
- disabledIf: Helper function for disabling non-buildPythonPackage functions.