Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pytest runner #541

Merged
merged 2 commits into from
Sep 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 8 additions & 9 deletions pkgs/python-by-name/pycolt/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
, coverage
, sphinx
, twine
, pytest
, pytest-runner
, setuptools
, numpy
}:

Expand All @@ -22,7 +21,12 @@ buildPythonPackage rec {
sha256 = "sha256-C68jQWDmVVZHcgfK0JAAvzYGlEcN4coqrUBlqlae9Xo=";
};

propagatedBuildInputs = [
postPatch = ''
substituteInPlace setup.py --replace "'pytest-runner', " ""
'';

dependencies = [
setuptools
numpy
bump2version
wheel
Expand All @@ -34,12 +38,7 @@ buildPythonPackage rec {
twine
];

checkInputs = [
pytest
pytest-runner
];

doCheck = true;
doCheck = false;

meta = with lib; {
description = "Simple, extensible tool to create out of the box input files and commandline interfaces";
Expand Down
12 changes: 8 additions & 4 deletions pkgs/python-by-name/theodore/package.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ lib, fetchFromGitHub, buildPythonPackage, isPy311
, pytest-runner
, setuptools
, pytest
, pycolt
, cclib
Expand All @@ -26,12 +26,16 @@ buildPythonPackage rec {
./setuppy.patch
];

postPatch = ''
substituteInPlace setup.py --replace "'pytest-runner', " ""
'';

checkInputs = [
pytest
pytest-runner
];

propagatedBuildInputs = [
dependencies = [
setuptools
pycolt
cclib
numpy
Expand All @@ -45,7 +49,7 @@ buildPythonPackage rec {

meta = with lib; {
description = "Parallel Python program package for post-processing wave function data from output files of quantum chemical programs";
homepage = "http://orbkit.github.io/";
homepage = "https://github.com/felixplasser/theodore-qc";
license = licenses.lgpl3Only;
maintainers = [ maintainers.markuskowa ];
broken = isPy311; # theodore is not broken, but pycolt is.
Expand Down