Your message dated Sun, 08 Jun 2025 09:04:24 +0000
with message-id <e1uobx2-004psw...@fasolo.debian.org>
and subject line Bug#1107280: fixed in pymatgen 2025.2.18+dfsg1-5
has caused the Debian Bug report #1107280,
regarding pymatgen: FTBFS: Tries to access Internet during build
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 ow...@bugs.debian.org
immediately.)


-- 
1107280: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1107280
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:pymatgen
Version: 2025.2.18+dfsg1-4
Severity: serious
Tags: ftbfs trixie sid

Dear maintainer:

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

--------------------------------------------------------------------------------
[...]
self = <urllib3.connectionpool.HTTPSConnectionPool object at 0x7fce1d0e9ba0>
err = TimeoutError('The read operation timed out')
url = 
'/wiki/api.php?action=query&list=categorymembers&cmtitle=Category:INCAR_tag&cmlimit=500&format=json'
timeout_value = 60

    def _raise_timeout(
        self,
        err: BaseSSLError | OSError | SocketTimeout,
        url: str,
        timeout_value: _TYPE_TIMEOUT | None,
    ) -> None:
        """Is the error actually a timeout? Will raise a ReadTimeout or pass"""
if isinstance(err, SocketTimeout):
          raise ReadTimeoutError(
                self, url, f"Read timed out. (read timeout={timeout_value})"
            ) from err
E           urllib3.exceptions.ReadTimeoutError: 
HTTPSConnectionPool(host='www.vasp.at', port=443): Read timed out. (read 
timeout=60)
--------------------------------------------------------------------------------

The reason is in tests/io/vasp/test_help.py which reads like this:


try:
    website_down = requests.get("https://www.vasp.at";, timeout=5).status_code 
!= 200
except (requests.exceptions.ConnectionError, requests.exceptions.ReadTimeout):
    website_down = True


I guess that for the package build as such, we could do this instead of the
above four lines:

website_down = True

and the remaining code would not need to be touched.


But I see in #1103427 that some network tests are deliberately run in CI
so I'm not sure if the above simple fix would be compatible with running
the network tests in CI, so I leave it to you.

Thanks.

--- End Message ---
--- Begin Message ---
Source: pymatgen
Source-Version: 2025.2.18+dfsg1-5
Done: Santiago Vila <sanv...@debian.org>

We believe that the bug you reported is fixed in the latest version of
pymatgen, 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 1107...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Santiago Vila <sanv...@debian.org> (supplier of updated pymatgen 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 ftpmas...@ftp-master.debian.org)


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

Format: 1.8
Date: Sun, 08 Jun 2025 10:45:00 +0200
Source: pymatgen
Architecture: source
Version: 2025.2.18+dfsg1-5
Distribution: unstable
Urgency: medium
Maintainer: Debichem Team <debichem-de...@lists.alioth.debian.org>
Changed-By: Santiago Vila <sanv...@debian.org>
Closes: 1106436 1107280
Changes:
 pymatgen (2025.2.18+dfsg1-5) unstable; urgency=medium
 .
   * Team upload.
   * Fix build with new uncertainties. Closes: #1106436.
   * Do not try to access Internet during build. Closes: #1107280.
   * Skip performance tests, as they fail in Salsa CI.
   * Change BD from python3-numpy to python3-numpy-dev (lintian error).
Checksums-Sha1:
 2950050ea0d36196b5a217dfa46a9f9bfa34f7fd 2837 pymatgen_2025.2.18+dfsg1-5.dsc
 1fccbbac16d6ba35060bee448a35d46c7390da39 19608 
pymatgen_2025.2.18+dfsg1-5.debian.tar.xz
 cec300afbf179facaa31f2c06a33571f2cc89a82 10271 
pymatgen_2025.2.18+dfsg1-5_source.buildinfo
Checksums-Sha256:
 d7f2839b4d219072d9ed740955fe06f3e0f349925411ee6a43a9ca9636e0a28a 2837 
pymatgen_2025.2.18+dfsg1-5.dsc
 5a769e10ec2f1ac891f73788c321179e71912f990526150f10f36f9ae3225114 19608 
pymatgen_2025.2.18+dfsg1-5.debian.tar.xz
 a4dc96146e93e363efea6a3da6abdedb361d4b486a190e33c1832b11c309c590 10271 
pymatgen_2025.2.18+dfsg1-5_source.buildinfo
Files:
 9387a3395b51d4fd1306806ab4be5341 2837 python optional 
pymatgen_2025.2.18+dfsg1-5.dsc
 31c75ec9cdff14107e5ad3cb36176cd7 19608 python optional 
pymatgen_2025.2.18+dfsg1-5.debian.tar.xz
 98cefe25e1d9057697ce4ecaa8ad21bd 10271 python optional 
pymatgen_2025.2.18+dfsg1-5_source.buildinfo

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

iQEzBAEBCgAdFiEE1Uw7+v+wQt44LaXXQc5/C58bizIFAmhFTokACgkQQc5/C58b
izIJVgf+KSJU6AQdxBUv4ZI6H2SKHKTfDkKGU0GzWMH7Ub1IS83hcGlhBlGQz/+W
YlRgAxeeL6sGIo/WYJh/2wRl/7lRc0dZqjxWcCi7+FRTIZ9aY1Vz6mdkrKTN1srK
wDvzU/xn9cjiQtsyvZRP0VmpKDoJ+269sbkwnXzUXanvlFZk9W0WXwgLb+JA3Fk/
/XItkxWsr5PE6NdKbB/u3vhKQ02jeZYlOIsRaZ03jBH/8Zz2FKGEv5MwV3SnBohc
spIqRvGoh7lKL8vhaJDhewhYVFUIi8rEbacJF7GCaV4hEnw/8ufrcxo19hqQrQfX
2WaPjXosCa5wmYCwZF4MU2wKUbfV+w==
=kvAZ
-----END PGP SIGNATURE-----

Attachment: pgpssCwZiPljs.pgp
Description: PGP signature


--- End Message ---

Reply via email to