mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-22 03:53:47 +00:00
Merge pull request #307316 from GaetanLepage/uproot
python311Packages.uproot: 5.3.2 -> 5.3.6, python311Packages.coffea: 2024.4.1 -> 2024.5.0
This commit is contained in:
commit
3f1b4523da
@ -4,6 +4,7 @@
|
|||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, hatchling
|
, hatchling
|
||||||
, hatch-vcs
|
, hatch-vcs
|
||||||
|
, aiohttp
|
||||||
, awkward
|
, awkward
|
||||||
, cachetools
|
, cachetools
|
||||||
, cloudpickle
|
, cloudpickle
|
||||||
@ -21,6 +22,7 @@
|
|||||||
, packaging
|
, packaging
|
||||||
, pandas
|
, pandas
|
||||||
, pyarrow
|
, pyarrow
|
||||||
|
, requests
|
||||||
, scipy
|
, scipy
|
||||||
, toml
|
, toml
|
||||||
, tqdm
|
, tqdm
|
||||||
@ -32,7 +34,7 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "coffea";
|
pname = "coffea";
|
||||||
version = "2024.4.1";
|
version = "2024.5.0";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
disabled = pythonOlder "3.8";
|
disabled = pythonOlder "3.8";
|
||||||
@ -41,20 +43,16 @@ buildPythonPackage rec {
|
|||||||
owner = "CoffeaTeam";
|
owner = "CoffeaTeam";
|
||||||
repo = "coffea";
|
repo = "coffea";
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-Iu1GHnLUqdhYO7hoHaf+O/S6KO0P+dvl0wgfRA5vtGI=";
|
hash = "sha256-FHE7/VL0mnf0eBPzCsrr8ISr7OmfFvI9xuV0CPa7JdU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
build-system = [
|
||||||
substituteInPlace pyproject.toml \
|
|
||||||
--replace-fail "numba>=0.58.1" "numba"
|
|
||||||
'';
|
|
||||||
|
|
||||||
nativeBuildInputs = [
|
|
||||||
hatchling
|
hatchling
|
||||||
hatch-vcs
|
hatch-vcs
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
dependencies = [
|
||||||
|
aiohttp
|
||||||
awkward
|
awkward
|
||||||
cachetools
|
cachetools
|
||||||
cloudpickle
|
cloudpickle
|
||||||
@ -72,6 +70,7 @@ buildPythonPackage rec {
|
|||||||
packaging
|
packaging
|
||||||
pandas
|
pandas
|
||||||
pyarrow
|
pyarrow
|
||||||
|
requests
|
||||||
scipy
|
scipy
|
||||||
toml
|
toml
|
||||||
tqdm
|
tqdm
|
||||||
@ -88,6 +87,12 @@ buildPythonPackage rec {
|
|||||||
"coffea"
|
"coffea"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
disabledTests = [
|
||||||
|
# Requires internet access
|
||||||
|
# https://github.com/CoffeaTeam/coffea/issues/1094
|
||||||
|
"test_lumimask"
|
||||||
|
];
|
||||||
|
|
||||||
__darwinAllowLocalNetworking = true;
|
__darwinAllowLocalNetworking = true;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "uproot";
|
pname = "uproot";
|
||||||
version = "5.3.2";
|
version = "5.3.7";
|
||||||
pyproject = true;
|
pyproject = true;
|
||||||
|
|
||||||
disabled = pythonOlder "3.8";
|
disabled = pythonOlder "3.8";
|
||||||
@ -28,15 +28,15 @@ buildPythonPackage rec {
|
|||||||
owner = "scikit-hep";
|
owner = "scikit-hep";
|
||||||
repo = "uproot5";
|
repo = "uproot5";
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-dq362pevqgLx5KwZ19zQ6aOn5NCyiqynPCF7YdI6tkw=";
|
hash = "sha256-ptfT31eUNSpVaZfXAyRcIc2T2p82rXmzUyySSVbI9lI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
build-system = [
|
||||||
hatch-vcs
|
hatch-vcs
|
||||||
hatchling
|
hatchling
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
dependencies = [
|
||||||
awkward
|
awkward
|
||||||
cramjam
|
cramjam
|
||||||
numpy
|
numpy
|
||||||
@ -76,6 +76,7 @@ buildPythonPackage rec {
|
|||||||
"test_http_size"
|
"test_http_size"
|
||||||
"test_http_size_port"
|
"test_http_size_port"
|
||||||
"test_issue_1054_filename_colons"
|
"test_issue_1054_filename_colons"
|
||||||
|
"test_multiple_page_lists"
|
||||||
"test_no_multipart"
|
"test_no_multipart"
|
||||||
"test_open_fsspec_github"
|
"test_open_fsspec_github"
|
||||||
"test_open_fsspec_http"
|
"test_open_fsspec_http"
|
||||||
@ -83,6 +84,7 @@ buildPythonPackage rec {
|
|||||||
"test_pickle_roundtrip_http"
|
"test_pickle_roundtrip_http"
|
||||||
"test_split_ranges_if_large_file_in_http"
|
"test_split_ranges_if_large_file_in_http"
|
||||||
# Cyclic dependency with dask-awkward
|
# Cyclic dependency with dask-awkward
|
||||||
|
"test_dask_duplicated_keys"
|
||||||
"test_decompression_executor_for_dask"
|
"test_decompression_executor_for_dask"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user