python312Packages.yfinance: 0.2.38 -> 0.2.40

Changelog: https://github.com/ranaroussi/yfinance/blob/0.2.40/CHANGELOG.rst
This commit is contained in:
Fabian Affolter
2024-06-11 07:47:14 +02:00
parent 01d57709ec
commit 6cfdf142df
@@ -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;