Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions pkgs/development/python-modules/drms/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,17 @@
pytest-doctestplus,
}:

buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "drms";
version = "0.9.0";
version = "0.9.1";
pyproject = true;
__structuredAttrs = true;

src = fetchFromGitHub {
owner = "sunpy";
repo = "drms";
tag = "v${version}";
hash = "sha256-Hd65bpJCknBeRd27JlcIkzzoZv5nGR7C6oMSGPFiyjA=";
tag = "v${finalAttrs.version}";
hash = "sha256-f5t59a24aD8iXa3/zikgBnJeuUnZ4cvvpJuOfc80Xcw=";
};

build-system = [
Expand Down Expand Up @@ -58,8 +59,8 @@ buildPythonPackage rec {
meta = {
description = "Access HMI, AIA and MDI data with Python";
homepage = "https://github.com/sunpy/drms";
changelog = "https://github.com/sunpy/drms/blob/v${version}/CHANGELOG.rst";
changelog = "https://github.com/sunpy/drms/blob/${finalAttrs.src.tag}/CHANGELOG.rst";
license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [ bot-wxt1221 ];
};
}
})
11 changes: 11 additions & 0 deletions pkgs/development/python-modules/parfive/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,17 @@ buildPythonPackage (finalAttrs: {
# Tests require local network access
__darwinAllowLocalNetworking = true;

disabledTestPaths = [
# Tests that fail due to network access
"parfive/tests/test_downloader.py"
"parfive/tests/test_downloader_multipart.py"
# assert 1 == 0
"parfive/tests/test_main.py::test_run_cli_success"
# aiohttp.client_exceptions.ClientResponseError: 400, message="Data after `Connection: close
"parfive/tests/test_utils.py::test_head_or_get"
"parfive/tests/test_utils.py::test_head_302"
];

pythonImportsCheck = [ "parfive" ];

meta = {
Expand Down
8 changes: 6 additions & 2 deletions pkgs/development/python-modules/sunpy/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -55,20 +55,21 @@
pytest-astropy,
pytest-mock,
pytestCheckHook,
responses,
writableTmpDirAsHomeHook,
}:

buildPythonPackage (finalAttrs: {
pname = "sunpy";
version = "7.1.2";
version = "8.0.0";
pyproject = true;
__structuredAttrs = true;

src = fetchFromGitHub {
owner = "sunpy";
repo = "sunpy";
tag = "v${finalAttrs.version}";
hash = "sha256-saq3vYJMKogXSBxKn/tqlSnE96K10EM27femC+Qx0Gw=";
hash = "sha256-VR0FvIkskjL1rvc0xOp+DSS+ocTJAAk4NYkO8+kpqmA=";
};

build-system = [
Expand Down Expand Up @@ -157,6 +158,7 @@ buildPythonPackage (finalAttrs: {
pytest-astropy
pytest-mock
pytestCheckHook
responses
writableTmpDirAsHomeHook
]
++ finalAttrs.passthru.optional-dependencies.all;
Expand Down Expand Up @@ -202,7 +204,9 @@ buildPythonPackage (finalAttrs: {
"sunpy/net/jsoc/tests/test_jsoc.py"
"sunpy/physics/differential_rotation.py"
"sunpy/physics/tests/test_differential_rotation.py"
"sunpy/net/soar/tests/test_sunpy_soar.py"
"sunpy/visualization"

# Requires cdflib
"sunpy/io/tests/test_cdf.py"
"sunpy/timeseries"
Expand Down
Loading