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

python3Packages.embrace: disable check phase on Darwin
This commit is contained in:
Jörg Thalheim 2022-05-16 07:04:31 +01:00 committed by GitHub
commit abacc8de82
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,5 @@
{ lib, buildPythonPackage, fetchFromSourcehut, sqlparse, wrapt, pytestCheckHook }: { stdenv, lib, buildPythonPackage, fetchFromSourcehut,
sqlparse, wrapt, pytestCheckHook }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "embrace"; pname = "embrace";
@ -16,6 +17,10 @@ buildPythonPackage rec {
checkInputs = [ pytestCheckHook ]; checkInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "embrace" ]; 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; { meta = with lib; {
description = "Embrace SQL keeps your SQL queries in SQL files"; description = "Embrace SQL keeps your SQL queries in SQL files";
homepage = "https://pypi.org/project/embrace/"; homepage = "https://pypi.org/project/embrace/";