Your message dated Sat, 20 Sep 2025 11:51:09 +0000
with message-id <[email protected]>
and subject line Bug#1115132: fixed in pykdtree 1.4.3+ds-2
has caused the Debian Bug report #1115132,
regarding pykdtree: FTBFS: FAILED pykdtree/test_stub.py::test_mypy - 
AssertionError: Mypy stub test failed
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1115132: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1115132
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:pykdtree
Version: 1.4.3+ds-1
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build.

Below you will find how the build ends (probably the most relevant part,
but not necessarily). If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202509/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:pykdtree, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
 debian/rules binary
dh binary --buildsystem=pybuild
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
   debian/rules execute_after_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
cython3 pykdtree/kdtree.pyx
/usr/lib/python3/dist-packages/Cython/Compiler/Main.py:381: FutureWarning: 
Cython directive 'language_level' not set, using '3str' for now (Py3). This has 
changed from earlier releases! File: /<<PKGBUILDDIR>>/pykdtree/kdtree.pyx
  tree = Parsing.p_module(s, pxd, full_module_name)
cd pykdtree && python3 render_template.py
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_build -O--buildsystem=pybuild
I: pybuild plugin_pyproject:129: Building wheel for python3.13 with "build" 
module
I: pybuild base:311: python3.13 -m build --skip-dependency-check --no-isolation 
--wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pykdtree  
* Building wheel...
running bdist_wheel
running build
running build_py
creating build/lib.linux-x86_64-cpython-313/pykdtree
copying pykdtree/__init__.py -> build/lib.linux-x86_64-cpython-313/pykdtree
copying pykdtree/test_tree.py -> build/lib.linux-x86_64-cpython-313/pykdtree
copying pykdtree/test_stub.py -> build/lib.linux-x86_64-cpython-313/pykdtree
copying pykdtree/render_template.py -> 
build/lib.linux-x86_64-cpython-313/pykdtree
copying pykdtree/kdtree.pyi -> build/lib.linux-x86_64-cpython-313/pykdtree
copying pykdtree/py.typed -> build/lib.linux-x86_64-cpython-313/pykdtree
running build_ext
Will use gomp for OpenMP.
Compiler: unix / OpenMP: gomp / OpenMP compile args: ['-fopenmp'] / OpenMP link 
args: ['-lgomp']
building 'pykdtree.kdtree' extension
creating build/temp.linux-x86_64-cpython-313/pykdtree
x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-Wdate-time -D_FORTIFY_SOURCE=2 -fPIC 
-DNPY_NO_DEPRECATED_API=NPY_1_25_API_VERSION 
-I/usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include 
-I/usr/include/python3.13 -c pykdtree/_kdtree_core.c -o 
build/temp.linux-x86_64-cpython-313/pykdtree/_kdtree_core.o -std=c17 -O3 
-fopenmp
x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-Wdate-time -D_FORTIFY_SOURCE=2 -fPIC 
-DNPY_NO_DEPRECATED_API=NPY_1_25_API_VERSION 
-I/usr/lib/x86_64-linux-gnu/python3-numpy/numpy/_core/include 
-I/usr/include/python3.13 -c pykdtree/kdtree.c -o 
build/temp.linux-x86_64-cpython-313/pykdtree/kdtree.o -std=c17 -O3 -fopenmp
x86_64-linux-gnu-gcc -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -g 
-fwrapv -O2 -Wl,-z,relro -Wl,-z,now -g -O2 
-Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 
build/temp.linux-x86_64-cpython-313/pykdtree/_kdtree_core.o 
build/temp.linux-x86_64-cpython-313/pykdtree/kdtree.o 
-L/usr/lib/x86_64-linux-gnu -o 
build/lib.linux-x86_64-cpython-313/pykdtree/kdtree.cpython-313-x86_64-linux-gnu.so
 -lgomp
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/pykdtree
copying build/lib.linux-x86_64-cpython-313/pykdtree/__init__.py -> 
build/bdist.linux-x86_64/wheel/./pykdtree
copying build/lib.linux-x86_64-cpython-313/pykdtree/test_tree.py -> 
build/bdist.linux-x86_64/wheel/./pykdtree
copying build/lib.linux-x86_64-cpython-313/pykdtree/kdtree.pyi -> 
build/bdist.linux-x86_64/wheel/./pykdtree
copying 
build/lib.linux-x86_64-cpython-313/pykdtree/kdtree.cpython-313-x86_64-linux-gnu.so
 -> build/bdist.linux-x86_64/wheel/./pykdtree
copying build/lib.linux-x86_64-cpython-313/pykdtree/test_stub.py -> 
build/bdist.linux-x86_64/wheel/./pykdtree
copying build/lib.linux-x86_64-cpython-313/pykdtree/py.typed -> 
build/bdist.linux-x86_64/wheel/./pykdtree
copying build/lib.linux-x86_64-cpython-313/pykdtree/render_template.py -> 
build/bdist.linux-x86_64/wheel/./pykdtree
running install_egg_info
running egg_info
creating pykdtree.egg-info
writing pykdtree.egg-info/PKG-INFO
writing dependency_links to pykdtree.egg-info/dependency_links.txt
writing requirements to pykdtree.egg-info/requires.txt
writing top-level names to pykdtree.egg-info/top_level.txt
writing manifest file 'pykdtree.egg-info/SOURCES.txt'
reading manifest file 'pykdtree.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE.txt'
writing manifest file 'pykdtree.egg-info/SOURCES.txt'
Copying pykdtree.egg-info to 
build/bdist.linux-x86_64/wheel/./pykdtree-1.4.3.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/pykdtree-1.4.3.dist-info/WHEEL
creating 
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pykdtree/.tmp-atgbszg1/pykdtree-1.4.3-cp313-cp313-linux_x86_64.whl'
 and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'pykdtree/__init__.py'
adding 'pykdtree/kdtree.cpython-313-x86_64-linux-gnu.so'
adding 'pykdtree/kdtree.pyi'
adding 'pykdtree/py.typed'
adding 'pykdtree/render_template.py'
adding 'pykdtree/test_stub.py'
adding 'pykdtree/test_tree.py'
adding 'pykdtree-1.4.3.dist-info/licenses/LICENSE.txt'
adding 'pykdtree-1.4.3.dist-info/METADATA'
adding 'pykdtree-1.4.3.dist-info/WHEEL'
adding 'pykdtree-1.4.3.dist-info/top_level.txt'
adding 'pykdtree-1.4.3.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built pykdtree-1.4.3-cp313-cp313-linux_x86_64.whl
I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.13 with 
"installer" module
   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pykdtree/build; 
python3.13 -m pytest --pyargs pykdtree
============================= test session starts ==============================
platform linux -- Python 3.13.7, pytest-8.4.2, pluggy-1.6.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pykdtree/build
configfile: pyproject.toml
plugins: typeguard-4.4.4
collected 20 items

pykdtree/test_stub.py F                                                  [  5%]
pykdtree/test_tree.py .................ss                                [100%]

=================================== FAILURES ===================================
__________________________________ test_mypy ___________________________________

capsys = <_pytest.capture.CaptureFixture object at 0x7f462966f4d0>

    def test_mypy(capsys: CaptureFixture[str]) -> None:
        """
        Run mypy stub tests for pykdtree.
        This function checks for:
            - Type consistency in the stubs vs the definitions
            - Function / property signatures
            - Missing functions or properties in the stubs
        """
        from mypy import stubtest
    
        code = stubtest.test_stubs(stubtest.parse_options(["pykdtree.kdtree"]))
        captured = capsys.readouterr()
    
>       assert code == 0, "Mypy stub test failed:\n" + captured.out
E       AssertionError: Mypy stub test failed:
E         error: pykdtree.kdtree.KDTree is a disjoint base at runtime, but 
isn't marked with @disjoint_base in the stub
E         Stub: in file 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pykdtree/build/pykdtree/kdtree.pyi:21
E         <TypeInfo pykdtree.kdtree.KDTree>
E         Runtime:
E         <class 'pykdtree.kdtree.KDTree'>
E         
E         Found 1 error (checked 1 module)
E         
E       assert 1 == 0

pykdtree/test_stub.py:17: AssertionError
=========================== short test summary info ============================
FAILED pykdtree/test_stub.py::test_mypy - AssertionError: Mypy stub test failed:
=================== 1 failed, 17 passed, 2 skipped in 2.23s ====================
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pykdtree/build; python3.13 -m pytest 
--pyargs pykdtree
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.13 
returned exit code 13
make: *** [debian/rules:14: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

--- End Message ---
--- Begin Message ---
Source: pykdtree
Source-Version: 1.4.3+ds-2
Done: Antonio Valentino <[email protected]>

We believe that the bug you reported is fixed in the latest version of
pykdtree, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Antonio Valentino <[email protected]> (supplier of updated pykdtree 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 20 Sep 2025 11:08:36 +0000
Source: pykdtree
Architecture: source
Version: 1.4.3+ds-2
Distribution: unstable
Urgency: medium
Maintainer: Debian GIS Project <[email protected]>
Changed-By: Antonio Valentino <[email protected]>
Closes: 1115132
Changes:
 pykdtree (1.4.3+ds-2) unstable; urgency=medium
 .
   [ Bas Couwenberg ]
   * Update lintian overrides.
 .
   [ Antonio Valentino ]
   * debian/rules:
     - Skip test_mypy. No feature is broken.
       Linting fails due to a new feature n mypy.
       Closes: 1115132.
   * debian/control:
     - Drop 'Rules-Requires-Root: no', no lonter needed.
Checksums-Sha1:
 715f6ce86f4efefa3c2ad0743bb6812f7bc656db 2257 pykdtree_1.4.3+ds-2.dsc
 8bcac731f632356a65b2e58d0df71a6370b86908 5164 pykdtree_1.4.3+ds-2.debian.tar.xz
 04a246a85454e6b8bfb18675b321875aa73d667a 8032 
pykdtree_1.4.3+ds-2_amd64.buildinfo
Checksums-Sha256:
 ab303185009cc13a35349926f37c62003128a07394bc2040899bae683f28cbe8 2257 
pykdtree_1.4.3+ds-2.dsc
 a1ad16a62b83891412aaeac4c993dd6d66b1af875620172fbf3c418cb07e4650 5164 
pykdtree_1.4.3+ds-2.debian.tar.xz
 cbeddd25da717abdd639d44fe34e8d0b7a11089c220f99feab7ca226ab2b534d 8032 
pykdtree_1.4.3+ds-2_amd64.buildinfo
Files:
 c643358a662a51a0b08c59f43a45f69f 2257 python optional pykdtree_1.4.3+ds-2.dsc
 65a50d456487c68d75845097bbe51526 5164 python optional 
pykdtree_1.4.3+ds-2.debian.tar.xz
 2e115ab6716c40b10d634d480ac4b6eb 8032 python optional 
pykdtree_1.4.3+ds-2_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJRBAEBCgA7FiEEO3DyCaX/1okDxHLF6/SKslePmBIFAmjOjwsdHGFudG9uaW8u
dmFsZW50aW5vQHRpc2NhbGkuaXQACgkQ6/SKslePmBI63RAAvtQ3XBY0Y8HtcKHa
cpDfw5lp44kWA5yMugKx8V+r0yZFaCIIIUgl5IjswLqKhSJ3sUQ5msnmnOBk/mXH
I9C9aBwuJ9WMNMN7bXdKW78ccWaWnDyObV0uDk7bmUrxrkFa2wdg+zLBklZAmmfK
HFFqewjcxVDG3Vf3zo/3BT3DNVDIuooHMk8mNz9Olo4jJq/GS8nQyrfz3ykCYMVE
0p1ccDjH0yxSsF4XepG982/GCfORDuJ2sUm9xKCWLbquFrqvKb3Lpi04JINxhX6U
Lyn2rsfLd6tJtUNYD8cG3/duI2IIid5Bbl8jiG8n2kKRwzvTpOgyhpUFyN9lWvrq
5I5SE6nmNChSkqrluqSk+bXrYp0+1mlHbYHUuimgXIZCtahMQ835ov6Q3Q0/Nrnn
Zr07KOSybrWXDJefbmPflRnuDrGhpDZRb49JGNrW5mpxb9WNlUCQg2bluq2pid6Q
0YhDwTuYKrj0blg+YI2cHNSAO8hgrmYc1ryXNoum0u5ksXtEv+t0F1MER4nNvqpY
J7yC/79OBEGw+XR/7m1bOzlwHaGkn8cR29PsDnQnKKjH5oreepWUOb9MarO+5bQN
SYx8knDYjOFQGrwcQAXiFkwS8px7RNH4QayKDIiwOul71/yvBt24nGaXOlYAo3e7
P6q+cCq1+b4Xa6XYlKwIBa4PTfE=
=mWKj
-----END PGP SIGNATURE-----

Attachment: pgp3vBxNGlfP_.pgp
Description: PGP signature


--- End Message ---

Reply via email to