Merge pull request #173190 from pacien/embrace-darwin-disable-test

python3Packages.embrace: disable check phase on Darwin
main
Jörg Thalheim 2 years ago committed by GitHub
commit abacc8de82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      pkgs/development/python-modules/embrace/default.nix

@ -1,4 +1,5 @@
{ lib, buildPythonPackage, fetchFromSourcehut, sqlparse, wrapt, pytestCheckHook }:
{ stdenv, lib, buildPythonPackage, fetchFromSourcehut,
sqlparse, wrapt, pytestCheckHook }:
buildPythonPackage rec {
pname = "embrace";
@ -16,6 +17,10 @@ buildPythonPackage rec {
checkInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "embrace" ];
# Some test for hot-reload fails on Darwin, but the rest of the library
# should remain usable. (https://todo.sr.ht/~olly/embrace-sql/4)
doCheck = !stdenv.isDarwin;
meta = with lib; {
description = "Embrace SQL keeps your SQL queries in SQL files";
homepage = "https://pypi.org/project/embrace/";

Loading…
Cancel
Save