python3Packages.astroquery: 0.4.10 -> 0.4.11

Diff: https://github.com/astropy/astroquery/compare/v0.4.10...v0.4.11

Changelog: https://github.com/astropy/astroquery/releases/tag/v0.4.11
This commit is contained in:
Robert Schütz
2025-11-25 13:14:11 -08:00
parent 297cf40cff
commit 91afcb0bf7
@@ -2,7 +2,6 @@
lib,
buildPythonPackage,
fetchFromGitHub,
fetchpatch2,
astropy,
boto3,
requests,
@@ -15,33 +14,26 @@
pytest-astropy,
pytest-dependency,
pytest-rerunfailures,
pytest-timeout,
pytestCheckHook,
pyvo,
astropy-helpers,
setuptools,
writableTmpDirAsHomeHook,
}:
buildPythonPackage rec {
pname = "astroquery";
version = "0.4.10";
version = "0.4.11";
pyproject = true;
src = fetchFromGitHub {
owner = "astropy";
repo = "astroquery";
tag = "v${version}";
hash = "sha256-5pNKV+XNfUQca7WoWboVphXffzyVIHCmfxwr4nBMaEk=";
hash = "sha256-BcdRBPnJfuW17p31xUhjBmP7Lv98CnmOTCO4aU0xpMM=";
};
patches = [
# https://github.com/astropy/astroquery/pull/3311
(fetchpatch2 {
name = "setuptools-package-index.patch";
url = "https://github.com/astropy/astroquery/commit/9d43beb4b7bea424d73fff0b602ca90026155519.patch";
hash = "sha256-3QdOwP1rlWeScGxHT9ZVPmffE7S1XE0cbtnQ8T4bIYw=";
})
];
build-system = [
astropy-helpers
setuptools
@@ -71,23 +63,19 @@ buildPythonPackage rec {
pytest-astropy
pytest-dependency
pytest-rerunfailures
pytest-timeout
writableTmpDirAsHomeHook
];
pytestFlags = [
# DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13
"-Wignore::DeprecationWarning"
];
# Tests must be run in the build directory. The tests create files
# in $HOME/.astropy so we need to set HOME to $TMPDIR.
# Tests must be run in the build directory.
preCheck = ''
export HOME=$TMPDIR
cd build/lib
'';
pythonImportsCheck = [ "astroquery" ];
meta = {
changelog = "https://github.com/astropy/astroquery/releases/tag/${src.tag}";
description = "Functions and classes to access online data resources";
homepage = "https://astroquery.readthedocs.io/";
license = lib.licenses.bsd3;