Merge pull request #191786 from fabaff/mechanicalsoup-bump

python310Packages.mechanicalsoup: 1.1.0 -> 1.2.0
This commit is contained in:
Jonas Heinrich 2022-09-19 09:24:38 +02:00 committed by GitHub
commit 96281a27ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,27 +1,28 @@
{ lib
, beautifulsoup4
, buildPythonPackage
, pythonAtLeast
, fetchFromGitHub
, lxml
, pytest-httpbin
, pytest-mock
, pytestCheckHook
, pythonOlder
, requests
, requests-mock
}:
buildPythonPackage rec {
pname = "mechanicalsoup";
version = "1.1.0";
version = "1.2.0";
format = "setuptools";
disabled = ! pythonAtLeast "3.6";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "MechanicalSoup";
repo = "MechanicalSoup";
rev = "v${version}";
sha256 = "1mly0ivai3rx64frk7a7ra6abhdxm9x3l6s6x7sgrl9qx1z8zsp3";
hash = "sha256-Q5oDAgAZYYUYqjDByXNXFNVKmRyjzIGVE4LN9j8vk4c=";
};
propagatedBuildInputs = [
@ -45,7 +46,9 @@ buildPythonPackage rec {
--replace " --cov --cov-config .coveragerc --flake8" ""
'';
pythonImportsCheck = [ "mechanicalsoup" ];
pythonImportsCheck = [
"mechanicalsoup"
];
meta = with lib; {
description = "Python library for automating interaction with websites";