···639639640640#### Using pythonImportsCheck
641641642642-Although unit tests are highly prefered to valid correctness of a package. Not
642642+Although unit tests are highly prefered to validate correctness of a package, not
643643all packages have test suites that can be ran easily, and some have none at all.
644644To help ensure the package still works, `pythonImportsCheck` can attempt to import
645645the listed modules.
···1569156915701570### Contributing guidelines
1571157115721572-Following rules are desired to be respected:
15721572+The following rules are desired to be respected:
1573157315741574* Python libraries are called from `python-packages.nix` and packaged with
15751575 `buildPythonPackage`. The expression of a library should be in
15761576 `pkgs/development/python-modules/<name>/default.nix`.
15771577-* Libraries in `pkgs/top-level/python-packages.nix` are sorted
15781578- alphanumerically to avoid merge conflicts and ease locating attributes.
15791577* Python applications live outside of `python-packages.nix` and are packaged
15801578 with `buildPythonApplication`.
15811579* Make sure libraries build for all Python interpreters.
···15851583 case, when you disable tests, leave a comment explaining why.
15861584* Commit names of Python libraries should reflect that they are Python
15871585 libraries, so write for example `pythonPackages.numpy: 1.11 -> 1.12`.
15881588-* Attribute names in `python-packages.nix` should be normalized according to
15891589- [PEP 0503](https://www.python.org/dev/peps/pep-0503/#normalized-names). This
15901590- means that characters should be converted to lowercase and `.` and `_` should
15911591- be replaced by a single `-` (foo-bar-baz instead of Foo__Bar.baz )
15921592-* Attribute names in `python-packages.nix` should be sorted alphanumerically.
15861586+* Attribute names in `python-packages.nix` as well as `pname`s should match the
15871587+ library's name on PyPI, but be normalized according to [PEP
15881588+ 0503](https://www.python.org/dev/peps/pep-0503/#normalized-names). This means
15891589+ that characters should be converted to lowercase and `.` and `_` should be
15901590+ replaced by a single `-` (foo-bar-baz instead of Foo__Bar.baz).
15911591+ If necessary, `pname` has to be given a different value within `fetchPypi`.
15921592+* Attribute names in `python-packages.nix` should be sorted alphanumerically to
15931593+ avoid merge conflicts and ease locating attributes.
+1-1
nixos/doc/manual/Makefile
···11.PHONY: all
22-all: manual-combined.xml format
22+all: manual-combined.xml
3344.PHONY: debug
55debug: generated manual-combined.xml