Your message dated Mon, 09 Nov 2026 17:36:55 +0000
with message-id <[email protected]>
and subject line Bug#1149156: fixed in python-ismartgate 5.0.2-3
has caused the Debian Bug report #1149156,
regarding python-ismartgate: FTBFS against python 3.15rc2
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.)


-- 
1149156: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1149156
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:python-ismartgate
Version: 5.0.2-2
User: [email protected]
Usertags: python3.15
Tags: patch, ftbfs, forky, sid
Severity: important

Hi!

While rebuilding the python related packages against the Python 3.15rc2 version 
we found that python-ismartgate fails to build from source [1].

There are two problems. One related to not supporting building the docs for 
more than one Python version, and the other related to the m2r2 dependency.

For the first one, I've fixed the docs invocation so that it works for multiple 
Python versions. For the second one, I've backported upstream commit 9406180, 
that drops that broken m2r2 dependency [2].

I've applied these fixes in the sandbox [3] to verify that python-ismartgate 
builds successfully, please consider applying the patch to support the upcoming 
3.15 version.

Setting the severity to important for now. Once Python 3.15 is released, it 
will be added to python3-defaults and this bug will become release critical.

Happy hacking,

[1]: https://debusine.debian.net/debian/r-python-python3.15/artifact/4856777/
[2]: 
https://github.com/bdraco/ismartgate/commit/9406180a2d603f70187c9c9c09f39e02f22614f9
[3]: https://debusine.debian.net/debian/r-python-python3.15/

--
"Can you imagine what I would do if I could do all I can?" -- Sun Tzu
Saludos /\/\ /\ >< `/
diff --git a/debian/changelog b/debian/changelog
index 75fa44c..d265638 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,20 @@
+python-ismartgate (5.0.2-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Use only one PYBUILD_BUILD_DIR
+  * Backport upstream commit to fix docs build
+  * Drop unused python3-m2r2 build dependency
+
+ -- Maximiliano Curia <[email protected]>  Sun, 27 Sep 2026 15:50:58 +0200
+
+python-ismartgate (5.0.2-2) unstable; urgency=medium
+
+  * Team upload.
+  * Drop <!nocheck> from python3-httpx & python3-pycryptodome
+    (Closes: #1147377)
+
+ -- Alexandre Detiste <[email protected]>  Fri, 11 Sep 2026 15:08:17 +0200
+
 python-ismartgate (5.0.2-1) unstable; urgency=medium
 
   * Initial release. (Closes: #1146031)
diff --git a/debian/control b/debian/control
index 956dbeb..c7294f6 100644
--- a/debian/control
+++ b/debian/control
@@ -14,9 +14,8 @@ Build-Depends:
  python3-setuptools,
 Build-Depends-Indep:
  python3-dicttoxml <!nocheck>,
- python3-httpx <!nocheck>,
- python3-m2r2 <!nodoc>,
- python3-pycryptodome <!nocheck>,
+ python3-httpx,
+ python3-pycryptodome,
  python3-pytest <!nocheck>,
  python3-pytest-asyncio <!nocheck>,
  python3-pytest-cov <!nocheck>,
diff --git a/debian/patches/chore-fix-docs-build.patch b/debian/patches/chore-fix-docs-build.patch
new file mode 100644
index 0000000..cdf8428
--- /dev/null
+++ b/debian/patches/chore-fix-docs-build.patch
@@ -0,0 +1,43 @@
+From: J. Nick Koston <[email protected]>
+Date: Tue, 4 Feb 2025 17:54:47 -0600
+Subject: chore: fix docs build (#11)
+Origin: https://github.com/bdraco/ismartgate/commit/9406180a2d603f70187c9c9c09f39e02f22614f9
+
+---
+ docs/conf.py | 3 +--
+ setup.py     | 1 -
+ 2 files changed, 1 insertion(+), 3 deletions(-)
+
+diff --git a/docs/conf.py b/docs/conf.py
+index daa8cf1..205ec31 100644
+--- a/docs/conf.py
++++ b/docs/conf.py
+@@ -39,7 +39,6 @@ extensions = [
+     "sphinx.ext.viewcode",
+     "sphinx.ext.napoleon",
+     "sphinx.ext.mathjax",
+-    "m2r2",
+ ]
+ 
+ # Control napoleon
+@@ -85,7 +84,7 @@ release = ismartgate.__version__
+ #
+ # This is also used if you do content translation via gettext catalogs.
+ # Usually you set "language" from the command line for these cases.
+-language = None
++language = "en"
+ 
+ # List of patterns, relative to source directory, that match files and
+ # directories to ignore when looking for source files.
+diff --git a/setup.py b/setup.py
+index 43c54da..b0c824c 100644
+--- a/setup.py
++++ b/setup.py
+@@ -27,7 +27,6 @@ dev_requirements = [
+     "bump2version>=1.0.1",
+     "coverage>=5.1",
+     "ipython>=7.15.0",
+-    "m2r2>=0.2.7",
+     "pytest-runner>=5.2",
+     "Sphinx>=3.4.3",
+     "sphinx_rtd_theme>=0.5.1",
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..9205ea8
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+chore-fix-docs-build.patch
diff --git a/debian/rules b/debian/rules
index 17a716b..14ab408 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,6 @@
 #!/usr/bin/make -f
 export PYBUILD_AFTER_BUILD=find {build_dir} -type f -name "*.py" -exec sed -i 's/^from Crypto\./from Cryptodome./g' {{}} +
-PYBUILD_BUILD_DIR = $(shell pybuild --print '{build_dir}')
+PYBUILD_BUILD_DIR = $(shell pybuild --print '{build_dir}' -i python3)
 
 %:
 	dh $@ --buildsystem=pybuild

--- End Message ---
--- Begin Message ---
Source: python-ismartgate
Source-Version: 5.0.2-3
Done: Edward Betts <[email protected]>

We believe that the bug you reported is fixed in the latest version of
python-ismartgate, 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.
Edward Betts <[email protected]> (supplier of updated python-ismartgate 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: Mon, 09 Nov 2026 17:02:51 +0000
Source: python-ismartgate
Architecture: source
Version: 5.0.2-3
Distribution: unstable
Urgency: medium
Maintainer: Home Assistant Team <[email protected]>
Changed-By: Edward Betts <[email protected]>
Closes: 1149156
Changes:
 python-ismartgate (5.0.2-3) unstable; urgency=medium
 .
   * Fix documentation build with multiple supported Python versions by using
     the default interpreter's pybuild directory.
   * Backport upstream documentation fix to drop m2r2 and set the language to
     English. Remove the unused python3-m2r2 build dependency.
     Thanks to Maximiliano Curia for the patch. (Closes: #1149156)
   * Upstream added python3-defusedxml dependency.
Checksums-Sha1:
 9e550300c35885ee0119f5bc7657b2793759099e 2789 python-ismartgate_5.0.2-3.dsc
 da228d885e9c8ebc0d482a7fae28f598b8bab450 3384 
python-ismartgate_5.0.2-3.debian.tar.xz
 98a90a0bb9471bfc3182ef952c154f847c483246 55888 
python-ismartgate_5.0.2-3.git.tar.xz
 06c58310151a42e95f1c9f71db1a26424144e7d4 17777 
python-ismartgate_5.0.2-3_source.buildinfo
Checksums-Sha256:
 d4625f52f671eb242d7487161db5c79d2fb2ce2caad142dc4872bbedeab9eb1e 2789 
python-ismartgate_5.0.2-3.dsc
 24fa1a3de5f96c33ab25cea540222df0cdac1ed58287d21ffabcfb3948b51087 3384 
python-ismartgate_5.0.2-3.debian.tar.xz
 5008f20b39d8907b76582b845f8bb7a15fc4be21df9cbe5132654c4f542be141 55888 
python-ismartgate_5.0.2-3.git.tar.xz
 c327a115a80af3622a433c46bbfa38ab353159fa1c2e206715c579adf8a48330 17777 
python-ismartgate_5.0.2-3_source.buildinfo
Files:
 e265ad915d80665b931861aebdc9cf1d 2789 python optional 
python-ismartgate_5.0.2-3.dsc
 b089cc3ec324907dbd2d4424aefde894 3384 python optional 
python-ismartgate_5.0.2-3.debian.tar.xz
 a5c2bb2423caeb6a1ed21fe07162e17f 55888 python None 
python-ismartgate_5.0.2-3.git.tar.xz
 93b9f35735c9fc09f9d89bf22286e135 17777 python optional 
python-ismartgate_5.0.2-3_source.buildinfo
Git-Tag-Info: tag=8e9e340e04349ab3c6fbe74f4f469b53adb6d685 
fp=fb8acfa78c726089c38ad0269605a1098c63b92a
Git-Tag-Tagger: Edward Betts <[email protected]>

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

iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmrx/m8ACgkQYG0ITkaD
wHklHQ/9ESqR6fePtkBJi+CB7AvFP+3wiBJ1wKQwmPWu6chdmNKYFBLov9+dYtr4
etXRXvsiUcB4BDwjAXq20yn5coE3eZqwFloRcBjMsr6BscvE53eVbPkRwhwwdVMo
JSvb5ZrJdMaJ2DTCdTENjbjSFXiSbMOVDu4xIEIy3iu/mS0AjNbO9CBh/StincwN
QrdbCXBIu4WgDA9r/dttpsme8RBiSSMu2B+WRfiGj3Z7/GnSAQwSsJ4ScYRq4d2s
iznzE8OHN/4xothw1sM+KZL19VJfOZh+9mRg40LY1Jalnf6CMtRwUif97Ru/IaAk
LJORaXwLRaFfkOldTbPTFl61xe2kV+1wfFxFkpBTvJ/5NFWCg1RGXgqKRRIIpf3f
vgk10RDJVGm8q/Ar/yhfAZ4UFq6LMW48V7S8kCQcN0Z48RcdWvN1GpnqfXU4TlA8
mZwDedrBWnmlNjpvXyUN5j1MZR+9k2mxqwNRU+qZ512x2YbFcTSA25CBLi8+EKrR
+MjGx6ZHCyZOIFYQXjziO84Krdf6KrfnDvcpM9rDlzSjAKagPHXaAL206uc2uvQw
K5wyfww+IOXVAhsg2lMceFcW3mfTStrbDfTJxKoNDIacavYaNcbItp+IzeyymUku
LeO6gKKNTtNoPZTwO0Ye9C+5zmM8ZwCSsBWMnOgz43Gx/0R/F0Q=
=GXhl
-----END PGP SIGNATURE-----

Attachment: pgpgN2eBg2a0N.pgp
Description: PGP signature


--- End Message ---

Reply via email to