Merge staging-next into staging

This commit is contained in:
github-actions[bot]
2021-05-29 07:30:08 +00:00
committed by GitHub
8 changed files with 89 additions and 584 deletions

View File

@@ -5,19 +5,21 @@
, setuptools-scm
, toml
, importlib-metadata
, cssselect
, lxml
, mock
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "cssutils";
version = "2.2.0";
version = "2.3.0";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "5bef59f6b59bdccbea8e36cb292d2be1b6be1b485fc4a9f5886616f19eb31aaf";
sha256 = "sha256-stOxYEfKroLlxZADaTW6+htiHPRcLziIWvS+SDjw/QA=";
};
nativeBuildInputs = [
@@ -30,6 +32,8 @@ buildPythonPackage rec {
];
checkInputs = [
cssselect
lxml
mock
pytestCheckHook
];
@@ -38,6 +42,12 @@ buildPythonPackage rec {
# access network
"test_parseUrl"
"encutils"
"website.logging"
] ++ lib.optionals (pythonOlder "3.9") [
# AttributeError: module 'importlib.resources' has no attribute 'files'
"test_parseFile"
"test_parseString"
"test_combine"
];
pythonImportsCheck = [ "cssutils" ];

View File

@@ -14,11 +14,11 @@
buildPythonPackage rec {
pname = "SQLAlchemy";
version = "1.4.15";
version = "1.4.16";
src = fetchPypi {
inherit pname version;
sha256 = "1rj9h3mcxrgh5q8qvz7m39diyil27l5mldr49mgz6xfibk3h1w8g";
sha256 = "15yl9frbxsq90hq5b8znqy34fg5kqdw1jjw933kz709rbpxw4lzd";
};
propagatedBuildInputs = [
@@ -29,14 +29,9 @@ buildPythonPackage rec {
checkInputs = [
pytestCheckHook
pytest_xdist
mock
] ++ lib.optional (!isPy3k) pysqlite;
pytestFlagsArray = [
"-n auto"
];
postInstall = ''
sed -e 's:--max-worker-restart=5::g' -i setup.cfg
'';