mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-17 01:24:47 +00:00
Merge pull request #310800 from GaetanLepage/pandas-datareader
python312Packages.pandas-datareader: mark as broken on python 3.12
This commit is contained in:
commit
ac0133cfc2
@ -1,7 +1,9 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, pythonAtLeast
|
||||
, fetchPypi
|
||||
, isPy27
|
||||
, setuptools
|
||||
, pandas
|
||||
, lxml
|
||||
, requests
|
||||
@ -10,20 +12,29 @@
|
||||
buildPythonPackage rec {
|
||||
pname = "pandas-datareader";
|
||||
version = "0.10.0";
|
||||
format = "setuptools";
|
||||
disabled = isPy27;
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.6" || pythonAtLeast "3.12";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "9fc3c63d39bc0c10c2683f1c6d503ff625020383e38f6cbe14134826b454d5a6";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
pandas
|
||||
lxml
|
||||
requests
|
||||
];
|
||||
|
||||
# Tests are trying to load data over the network
|
||||
doCheck = false;
|
||||
pythonImportsCheck = [ "pandas_datareader" ];
|
||||
|
||||
propagatedBuildInputs = [ pandas lxml requests ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Up to date remote data access for pandas, works for multiple versions of pandas";
|
||||
homepage = "https://github.com/pydata/pandas-datareader";
|
||||
|
Loading…
Reference in New Issue
Block a user