Merge pull request #307838 from afh/remove-dontCheck

This commit is contained in:
Sandro 2024-06-02 17:10:56 +02:00 committed by GitHub
commit b2a822590a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 11 additions and 6 deletions

View File

@ -56,7 +56,7 @@ python3.pkgs.buildPythonApplication rec {
env.NIX_CFLAGS_COMPILE = "-I${lib.getDev SDL2}/include/SDL2";
# Tests can't use the display
dontCheck = true;
doCheck = false;
pythonImportsCheck = [
"pyxel"

View File

@ -4,6 +4,7 @@
fetchFromGitHub,
regex,
requests,
setuptools,
tqdm,
numpy,
toposort,
@ -13,7 +14,7 @@
buildPythonPackage rec {
pname = "gpt-2-simple";
version = "0.8.1";
format = "setuptools";
pyproject = true;
src = fetchFromGitHub {
owner = "minimaxir";
@ -22,6 +23,8 @@ buildPythonPackage rec {
hash = "sha256-WwD4sDcc28zXEOISJsq8e+rgaNrrgIy79Wa4J3E7Ovc=";
};
build-system = [ setuptools ];
propagatedBuildInputs = [
regex
requests
@ -31,7 +34,7 @@ buildPythonPackage rec {
tensorflow
];
dontCheck = true; # no tests in upstream
doCheck = false; # no tests in upstream
meta = with lib; {
description = "Easily retrain OpenAI's GPT-2 text-generating model on new texts";

View File

@ -5,6 +5,7 @@
fetchFromGitHub,
brotli,
lz4,
setuptools,
}:
let
@ -18,7 +19,7 @@ in
buildPythonPackage rec {
pname = "kaitaistruct";
version = "0.10";
format = "setuptools";
pyproject = true;
src = fetchPypi {
inherit pname version;
@ -30,13 +31,14 @@ buildPythonPackage rec {
sed '32ipackages = kaitai/compress' -i setup.cfg
'';
build-system = [ setuptools ];
propagatedBuildInputs = [
brotli
lz4
];
# no tests
dontCheck = true;
doCheck = false; # no tests in upstream
pythonImportsCheck = [
"kaitaistruct"