[From nobody Fri Sep  4 13:51:05 2026
Received: (at submit) by bugs.debian.org; 21 Aug 2026 09:48:59 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
 (2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-118.4 required=4.0 tests=ALL_TRUSTED,BAYES_00,
 BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
 DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,FROMDEVELOPER,HAS_PACKAGE,
 SPF_HELO_NONE,SPF_PASS,USER_IN_DKIM_WELCOMELIST autolearn=ham
 autolearn_force=no version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 45; hammy, 150; neutral, 154; spammy,
 0. spammytokens:
 hammytokens:0.000-+--Hx-spam-relays-external:sk:stravin,
 0.000-+--H*RT:sk:stravin, 0.000-+--Hx-spam-relays-external:311,
 0.000-+--H*RT:311, 0.000-+--H*RT:108
Return-path: &lt;maxy@debian.org&gt;
Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:108]:47268)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;maxy@debian.org&gt;) id 1wxLrv-008T87-0A
 for submit@bugs.debian.org; Fri, 21 Aug 2026 09:48:59 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; 
 s=smtpauto.stravinsky;
 h=X-Debian-User:Content-Type:MIME-Version:Message-ID:
 Subject:Cc:To:From:Date:Reply-To:Content-Transfer-Encoding:Content-ID:
 Content-Description:In-Reply-To:References;
 bh=seAtgwKselc00gDjUsOw9enz6iwxhXShmF7FCDI0l20=; b=TUlwYes3217HfoiD/o7Mnjk/qT
 M6V+woSiYXP4tetlvKthBI0WB8TjBesZNeF/bVe3ZfF60e6gLeXjHVc7YFlDYOCWxLU0XkCDbjxKw
 gCeGICtmkAl0zRZP282ILbKCpGbzDu43oknWQoIfFf8bJrMDkvyaRN5fZQI4m0ypBQKOuMPjiB8QF
 v9dE8PCzKXfSvD22m/3C1BpBuMz34y/B//PqGs4IrzuXX86dSukw/VBsM2/9P1Qz7iTyYrVRrkSAv
 0Kz2WuLdXV2JyvhrxrTrVo6xBEtlGEwIzKPh+us9W/kM+fTzbC+OIlJGu67kNVErzhy2rjQ4rfLH7
 BEb2okKA==;
Received: from authenticated-user by stravinsky.debian.org with esmtpsa
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;maxy@debian.org&gt;) id 1wxLrs-00BFgJ-2S;
 Fri, 21 Aug 2026 09:48:57 +0000
Date: Fri, 21 Aug 2026 11:48:49 +0200
From: Maximiliano Curia &lt;maxy@debian.org&gt;
To: submit@bugs.debian.org
Cc: debian-python@lists.debian.org
Subject: astropy: FTBFS due to missing slow and hugemem definitions
Message-ID: &lt;aogfAZwVwn1bwePn@hecuba.gnuservers.com.ar&gt;
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary=&quot;ATa7ibF8bHBce47h&quot;
Content-Disposition: inline
X-Debian-User: maxy
Delivered-To: submit@bugs.debian.org

--ATa7ibF8bHBce47h
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline

Package: src:astropy
Version: 8.0.1-2
User: debian-python@lists.debian.org
Usertags: python3.15
Tags: patch
Severity: serious

Hi!

While rebuilding the python related packages against the python version
3.15rc1 we found that astropy could not be built from source.

I think this is due to a change in the way the strictness of the tests.
But I haven't followed that to be sure. In any case, as packaged
astropy's tests either require the python module pytest-skip-slow which
is not packaged in Debian, or explicitly define the slow and hugemem
markers.

The attached debdiff implements the later approach. Please consider
applying these changes, or consider packaging the missing test
dependency.

Happy hacking,

[1]: https://debusine.debian.net/debian/r-python-python3.15/work-request/1044991/
-- 
&quot;Can you imagine what I would do if I could do all I can?&quot; -- Sun Tzu
Saludos /\/\ /\ &gt;&lt; `/

--ATa7ibF8bHBce47h
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=astropy_8.0.1-2.1.debdiff

diff -Nru astropy-8.0.1/debian/changelog astropy-8.0.1/debian/changelog
--- astropy-8.0.1/debian/changelog	2026-08-04 08:55:48.000000000 +0200
+++ astropy-8.0.1/debian/changelog	2026-08-19 23:51:28.000000000 +0200
@@ -1,3 +1,10 @@
+astropy (8.0.1-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Avoid running slow and hugemem tests
+
+ -- Maximiliano Curia &lt;maxy@debian.org&gt;  Wed, 19 Aug 2026 23:51:28 +0200
+
 astropy (8.0.1-2) unstable; urgency=medium
 
   * Remove doc dependency from dask
diff -Nru astropy-8.0.1/debian/patches/Register-slow-and-hugemem-pytest-markers.patch astropy-8.0.1/debian/patches/Register-slow-and-hugemem-pytest-markers.patch
--- astropy-8.0.1/debian/patches/Register-slow-and-hugemem-pytest-markers.patch	1970-01-01 01:00:00.000000000 +0100
+++ astropy-8.0.1/debian/patches/Register-slow-and-hugemem-pytest-markers.patch	2026-08-19 23:51:28.000000000 +0200
@@ -0,0 +1,19 @@
+Author: Maximiliano Curia &lt;maxy@debian.org&gt;
+Description: Register slow and hugemem pytest markers in pyproject.toml
+ Without pytest-skip-slow installed in Debian, pytest fails with
+ --strict-markers because 'slow' and 'hugemem' markers are not recognized.
+---
+ pyproject.toml | 2 ++
+ 1 file changed, 2 insertions(+)
+
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -290,6 +290,8 @@ doctest_subpackage_requires = [
+ ]
+ markers = [
+     &quot;mpl_image_compare&quot;,
++    &quot;slow: mark test as slow&quot;,
++    &quot;hugemem: mark test as memory intensive&quot;,
+ ]
+ 
+ [tool.cibuildwheel]
diff -Nru astropy-8.0.1/debian/patches/series astropy-8.0.1/debian/patches/series
--- astropy-8.0.1/debian/patches/series	2026-08-04 08:55:48.000000000 +0200
+++ astropy-8.0.1/debian/patches/series	2026-08-19 23:51:28.000000000 +0200
@@ -16,3 +16,4 @@
 Remove-sphinx-9-pinning-for-docs.patch
 Attempt-to-fix-test_get_coord_range_nan_regression-on-mip.patch
 Remove-doc-dependency-from-dask.patch
+Register-slow-and-hugemem-pytest-markers.patch
diff -Nru astropy-8.0.1/debian/rules astropy-8.0.1/debian/rules
--- astropy-8.0.1/debian/rules	2026-08-04 08:55:48.000000000 +0200
+++ astropy-8.0.1/debian/rules	2026-08-19 23:51:28.000000000 +0200
@@ -20,8 +20,8 @@
 # Generate PLY files
 export PYBUILD_AFTER_BUILD=cd {build_dir}; python{version} -c 'import astropy.units.format; astropy.units.format.CDS.parse(&quot;m/s&quot;); astropy.units.format.Generic.parse(&quot;m&quot;); astropy.units.format.OGIP.parse(&quot;m/s&quot;)'
 
-# Don't run hypothesis tests
-export PYBUILD_TEST_ARGS=--astropy-header --color=no -m &quot;not hypothesis&quot;
+# Don't run hypothesis, slow, or hugemem tests
+export PYBUILD_TEST_ARGS=--astropy-header --color=no -m &quot;not hypothesis and not slow and not hugemem&quot;
 
 export NO_COLOR=1
 export PY_COLORS=0

--ATa7ibF8bHBce47h--
]