New comment by icp1994 on void-packages repository https://github.com/void-linux/void-packages/pull/34520#issuecomment-1164199013 Comment: For `black-22.3.0` a couple of the `depends` and `checkdepends` seem redundant. Same with the `make_check_args` and `pre_build()`. As for the tests, you need to have a custom `do_check()` running the tests twice, with the jupyter dependencies disabled and enabled, as outlined in their [tox.ini](https://github.com/psf/black/blob/ae2c0758c9e61a385df9700dc9c231bf54887041/tox.ini#L37). With that, only one test should fail due to it's incompatibility with `python3-ipython-8.4.0`. It has already been [fixed upstream](https://github.com/psf/black/commit/712f8b37fb12a40ec6ea86903f44c2d0750f56a3) so I'd say it's fair to deselect this particular one. I have a [working local build](https://github.com/icp1994/void-packages/blob/af9f829af2dc786699c250f3d9597b22cd8dc932/srcpkgs/black/template) but unsure whether moving a sub-directory in and out from `` during a `do_check()` is acceptable or not.