Merge pull request #317679 from fabaff/yfinance-bump

python312Packages.yfinance: 0.2.38 -> 0.2.40
This commit is contained in:
Fabian Affolter 2024-06-11 12:50:35 +02:00 committed by GitHub
commit 14391a5980
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,6 +1,5 @@
{
lib,
appdirs,
beautifulsoup4,
buildPythonPackage,
cryptography,
@ -12,14 +11,19 @@
numpy,
pandas,
peewee,
platformdirs,
pythonOlder,
pytz,
requests-cache,
requests-ratelimiter,
requests,
scipy,
setuptools,
}:
buildPythonPackage rec {
pname = "yfinance";
version = "0.2.38";
version = "0.2.40";
pyproject = true;
disabled = pythonOlder "3.7";
@ -28,13 +32,12 @@ buildPythonPackage rec {
owner = "ranaroussi";
repo = "yfinance";
rev = "refs/tags/${version}";
hash = "sha256-ZGwtu2vLcE9pM73umhnFwSzjQnGjTOTtVF607ox7I6E=";
hash = "sha256-y3vcgPhksW8g0WpqVgJej7s+aIj9zaAjBjSm8d7yrjs=";
};
build-system = [ setuptools ];
dependencies = [
appdirs
beautifulsoup4
cryptography
frozendict
@ -44,9 +47,21 @@ buildPythonPackage rec {
numpy
pandas
peewee
platformdirs
pytz
requests
];
passthru.optional-dependencies = {
nospam = [
requests-cache
requests-ratelimiter
];
repair = [
scipy
];
};
# Tests require internet access
doCheck = false;