Merge pull request #313622 from fabaff/webdriver-manager-darwin

python312Packages.webdriver-manager: limit platform support
This commit is contained in:
Weijia Wang 2024-05-22 13:58:08 +02:00 committed by GitHub
commit d5176c1e3f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,14 +1,15 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, packaging
, pybrowsers
, pytestCheckHook
, python-dotenv
, pythonOlder
, requests
, selenium
, setuptools
{
lib,
buildPythonPackage,
fetchFromGitHub,
packaging,
pybrowsers,
pytestCheckHook,
python-dotenv,
pythonOlder,
requests,
selenium,
setuptools,
}:
buildPythonPackage rec {
@ -25,11 +26,11 @@ buildPythonPackage rec {
hash = "sha256-PdUlloJ4DncnktKQHofn/OLVrgSVyWhaeEEhl3Hgjek=";
};
nativeBuildInputs = [
setuptools
];
__darwinAllowLocalNetworking = true;
propagatedBuildInputs = [
build-system = [ setuptools ];
dependencies = [
packaging
python-dotenv
requests
@ -41,9 +42,7 @@ buildPythonPackage rec {
selenium
];
pythonImportsCheck = [
"webdriver_manager"
];
pythonImportsCheck = [ "webdriver_manager" ];
disabledTestPaths = [
# Tests require network access and browsers available
@ -69,5 +68,6 @@ buildPythonPackage rec {
changelog = "https://github.com/SergeyPirogov/webdriver_manager/blob/${version}/CHANGELOG.md";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
platforms = platforms.linux;
};
}