Your message dated Tue, 17 Dec 2024 13:57:50 +0000
with message-id <[email protected]>
and subject line Re: Bug#1090150: python-model-bakery: FTBFS: ERROR: Invalid 
value `None` in intersphinx_mapping['http://docs.python.org/']. Expected a 
two-element tuple or list.
has caused the Debian Bug report #1090150,
regarding python-model-bakery: FTBFS: ERROR: Invalid value `None` in 
intersphinx_mapping['http://docs.python.org/']. Expected a two-element tuple or 
list.
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.)


-- 
1090150: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1090150
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:python-model-bakery
Version: 1.7.0-1
Severity: serious
Tags: ftbfs

Dear maintainer:

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

--------------------------------------------------------------------------------
[...]
 debian/rules binary
dh binary --with python3,sphinxdoc --buildsystem=pybuild
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
I: pybuild base:311: python3.13 setup.py config 
running config
I: pybuild base:311: python3.12 setup.py config 
running config
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_build
I: pybuild base:311: /usr/bin/python3.13 setup.py build 
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_model-bakery/build/model_bakery
copying model_bakery/recipe.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_model-bakery/build/model_bakery
copying model_bakery/utils.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_model-bakery/build/model_bakery
copying model_bakery/_types.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_model-bakery/build/model_bakery
copying model_bakery/__about__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_model-bakery/build/model_bakery
copying model_bakery/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_model-bakery/build/model_bakery
copying model_bakery/gis.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_model-bakery/build/model_bakery
copying model_bakery/random_gen.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_model-bakery/build/model_bakery
copying model_bakery/exceptions.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_model-bakery/build/model_bakery
copying model_bakery/baker.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_model-bakery/build/model_bakery
copying model_bakery/generators.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_model-bakery/build/model_bakery
copying model_bakery/timezone.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_model-bakery/build/model_bakery
running egg_info
creating model_bakery.egg-info
writing model_bakery.egg-info/PKG-INFO
writing dependency_links to model_bakery.egg-info/dependency_links.txt
writing requirements to model_bakery.egg-info/requires.txt
writing top-level names to model_bakery.egg-info/top_level.txt
writing manifest file 'model_bakery.egg-info/SOURCES.txt'
reading manifest file 'model_bakery.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'model_bakery.egg-info/SOURCES.txt'
copying model_bakery/mock_file.txt -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_model-bakery/build/model_bakery
copying model_bakery/mock_img.jpeg -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_model-bakery/build/model_bakery
copying model_bakery/py.typed -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_model-bakery/build/model_bakery
I: pybuild base:311: /usr/bin/python3 setup.py build 
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_model-bakery/build/model_bakery
copying model_bakery/recipe.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_model-bakery/build/model_bakery
copying model_bakery/utils.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_model-bakery/build/model_bakery
copying model_bakery/_types.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_model-bakery/build/model_bakery
copying model_bakery/__about__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_model-bakery/build/model_bakery
copying model_bakery/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_model-bakery/build/model_bakery
copying model_bakery/gis.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_model-bakery/build/model_bakery
copying model_bakery/random_gen.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_model-bakery/build/model_bakery
copying model_bakery/exceptions.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_model-bakery/build/model_bakery
copying model_bakery/baker.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_model-bakery/build/model_bakery
copying model_bakery/generators.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_model-bakery/build/model_bakery
copying model_bakery/timezone.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_model-bakery/build/model_bakery
running egg_info
writing model_bakery.egg-info/PKG-INFO
writing dependency_links to model_bakery.egg-info/dependency_links.txt
writing requirements to model_bakery.egg-info/requires.txt
writing top-level names to model_bakery.egg-info/top_level.txt
reading manifest file 'model_bakery.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'model_bakery.egg-info/SOURCES.txt'
copying model_bakery/mock_file.txt -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_model-bakery/build/model_bakery
copying model_bakery/mock_img.jpeg -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_model-bakery/build/model_bakery
copying model_bakery/py.typed -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_model-bakery/build/model_bakery
PYTHONPATH=. python3 -m sphinx -N -bhtml \
docs/source/ build/html # HTML generator
Running Sphinx v8.1.3
loading translations [en]... done
making output directory... done
Converting `source_suffix = '.rst'` to `source_suffix = {'.rst': 
'restructuredtext'}`.
ERROR: Invalid value `None` in intersphinx_mapping['http://docs.python.org/']. 
Expected a two-element tuple or list.

Configuration error:
Invalid `intersphinx_mapping` configuration (1 error).
make[1]: *** [debian/rules:14: override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:8: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

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

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 affects, so that this is still visible in the BTS web
page for this package.

Thanks.

--- End Message ---
--- Begin Message ---
Source: python-model-bakery
Source-Version: 1.20.0-1

On Mon, Dec 16, 2024 at 01:47:55PM +0000, Santiago Vila wrote:
> PYTHONPATH=. python3 -m sphinx -N -bhtml \
> docs/source/ build/html # HTML generator
> Running Sphinx v8.1.3
> loading translations [en]... done
> making output directory... done
> Converting `source_suffix = '.rst'` to `source_suffix = {'.rst': 
> 'restructuredtext'}`.
> ERROR: Invalid value `None` in 
> intersphinx_mapping['http://docs.python.org/']. Expected a two-element tuple 
> or list.
> 
> Configuration error:
> Invalid `intersphinx_mapping` configuration (1 error).
> make[1]: *** [debian/rules:14: override_dh_auto_build] Error 2

This was rewritten upstream at some point between 1.7.0 and 1.20.0, and
the version I uploaded shortly before you filed your bug report no
longer has this problem.

python-model-bakery (1.20.0-1) unstable; urgency=medium

  * Team upload.
  * New upstream release.
  * Use dh-sequence-python3 and dh-sequence-sphinxdoc.
  * Remove obsolete Lintian override.
  * Simplify some overrides in debian/rules.
  * Switch to autopkgtest-pkg-pybuild.
  * Fix typo in debian/README.source.

 -- Colin Watson <[email protected]>  Mon, 16 Dec 2024 11:50:09 +0000

Thanks,

-- 
Colin Watson (he/him)                              [[email protected]]

--- End Message ---

Reply via email to