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

python3.pkgs.cssutils: 2.0.0 -> 2.2.0 #116082

Merged
merged 1 commit into from Mar 20, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
24 changes: 19 additions & 5 deletions pkgs/development/python-modules/cssutils/default.nix
@@ -1,29 +1,43 @@
{ lib
, buildPythonPackage
, isPy27
, pythonOlder
, fetchPypi
, setuptools-scm
, toml
, importlib-metadata
, mock
, pytestCheckHook
}:

buildPythonPackage rec {
pname = "cssutils";
version = "2.0.0";
version = "2.2.0";

disabled = isPy27;
disabled = pythonOlder "3.6";

src = fetchPypi {
inherit pname version;
sha256 = "984b5dbe3a2a0483d7cb131609a17f4cbaa34dda306c419924858a88588fed7c";
sha256 = "5bef59f6b59bdccbea8e36cb292d2be1b6be1b485fc4a9f5886616f19eb31aaf";
};

nativeBuildInputs = [
setuptools-scm
toml
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

toml can be removed here since 4b7e688 (#115349) which is currently only in staging.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well this isn't targetting staging.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not sure if this would cause a duplicated input or another error when staging ist merged.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, that's not a problem.

];

propagatedBuildInputs = lib.optionals (pythonOlder "3.8") [
importlib-metadata
];

checkInputs = [
mock
pytestCheckHook
];

disabledTests = [
"test_parseUrl" # accesses network
# access network
"test_parseUrl"
"encutils"
];

pythonImportsCheck = [ "cssutils" ];
Expand Down