Your message dated Tue, 11 Feb 2025 19:24:47 +0000
with message-id <z6uj_7mldpqh3...@riva.ucam.org>
and subject line Re: Bug#1090136: python-confection: FTBFS: ERROR 
confection/tests - ModuleNotFoundError: No module named 'srsly.ujson.uj...
has caused the Debian Bug report #1090136,
regarding python-confection: FTBFS: ERROR confection/tests - 
ModuleNotFoundError: No module named 'srsly.ujson.uj...
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.)


-- 
1090136: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1090136
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:python-confection
Version: 0.1.5-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 numpy3 --buildsystem=pybuild
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
   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_confection  
* Building wheel...
running bdist_wheel
running build
running build_py
creating build/lib/confection
copying confection/__init__.py -> build/lib/confection
copying confection/util.py -> build/lib/confection
creating build/lib/confection/tests
copying confection/tests/test_config.py -> build/lib/confection/tests
copying confection/tests/__init__.py -> build/lib/confection/tests
copying confection/tests/test_frozen_structures.py -> build/lib/confection/tests
copying confection/tests/util.py -> build/lib/confection/tests
copying confection/tests/conftest.py -> build/lib/confection/tests
running egg_info
creating confection.egg-info
writing confection.egg-info/PKG-INFO
writing dependency_links to confection.egg-info/dependency_links.txt
writing requirements to confection.egg-info/requires.txt
writing top-level names to confection.egg-info/top_level.txt
writing manifest file 'confection.egg-info/SOURCES.txt'
reading manifest file 'confection.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'confection.egg-info/SOURCES.txt'
copying confection/py.typed -> build/lib/confection
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/confection
creating build/bdist.linux-x86_64/wheel/confection/tests
copying build/lib/confection/tests/test_config.py -> 
build/bdist.linux-x86_64/wheel/./confection/tests
copying build/lib/confection/tests/__init__.py -> 
build/bdist.linux-x86_64/wheel/./confection/tests
copying build/lib/confection/tests/test_frozen_structures.py -> 
build/bdist.linux-x86_64/wheel/./confection/tests
copying build/lib/confection/tests/util.py -> 
build/bdist.linux-x86_64/wheel/./confection/tests
copying build/lib/confection/tests/conftest.py -> 
build/bdist.linux-x86_64/wheel/./confection/tests
copying build/lib/confection/py.typed -> 
build/bdist.linux-x86_64/wheel/./confection
copying build/lib/confection/__init__.py -> 
build/bdist.linux-x86_64/wheel/./confection
copying build/lib/confection/util.py -> 
build/bdist.linux-x86_64/wheel/./confection
running install_egg_info
Copying confection.egg-info to 
build/bdist.linux-x86_64/wheel/./confection-0.1.5.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/confection-0.1.5.dist-info/WHEEL
creating 
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_confection/.tmp-3rnabfhv/confection-0.1.5-py3-none-any.whl'
 and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'confection/__init__.py'
adding 'confection/py.typed'
adding 'confection/util.py'
adding 'confection/tests/__init__.py'
adding 'confection/tests/conftest.py'
adding 'confection/tests/test_config.py'
adding 'confection/tests/test_frozen_structures.py'
adding 'confection/tests/util.py'
adding 'confection-0.1.5.dist-info/LICENSE'
adding 'confection-0.1.5.dist-info/METADATA'
adding 'confection-0.1.5.dist-info/WHEEL'
adding 'confection-0.1.5.dist-info/top_level.txt'
adding 'confection-0.1.5.dist-info/zip-safe'
adding 'confection-0.1.5.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built confection-0.1.5-py3-none-any.whl
I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.13 with 
"installer" module
I: pybuild plugin_pyproject:129: Building wheel for python3.12 with "build" 
module
I: pybuild base:311: python3.12 -m build --skip-dependency-check --no-isolation 
--wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_confection  
* Building wheel...
running bdist_wheel
running build
running build_py
running egg_info
writing confection.egg-info/PKG-INFO
writing dependency_links to confection.egg-info/dependency_links.txt
writing requirements to confection.egg-info/requires.txt
writing top-level names to confection.egg-info/top_level.txt
reading manifest file 'confection.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'confection.egg-info/SOURCES.txt'
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/confection
creating build/bdist.linux-x86_64/wheel/confection/tests
copying build/lib/confection/tests/test_config.py -> 
build/bdist.linux-x86_64/wheel/./confection/tests
copying build/lib/confection/tests/__init__.py -> 
build/bdist.linux-x86_64/wheel/./confection/tests
copying build/lib/confection/tests/test_frozen_structures.py -> 
build/bdist.linux-x86_64/wheel/./confection/tests
copying build/lib/confection/tests/util.py -> 
build/bdist.linux-x86_64/wheel/./confection/tests
copying build/lib/confection/tests/conftest.py -> 
build/bdist.linux-x86_64/wheel/./confection/tests
copying build/lib/confection/py.typed -> 
build/bdist.linux-x86_64/wheel/./confection
copying build/lib/confection/__init__.py -> 
build/bdist.linux-x86_64/wheel/./confection
copying build/lib/confection/util.py -> 
build/bdist.linux-x86_64/wheel/./confection
running install_egg_info
Copying confection.egg-info to 
build/bdist.linux-x86_64/wheel/./confection-0.1.5.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/confection-0.1.5.dist-info/WHEEL
creating 
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_confection/.tmp-b5zbq7al/confection-0.1.5-py3-none-any.whl'
 and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'confection/__init__.py'
adding 'confection/py.typed'
adding 'confection/util.py'
adding 'confection/tests/__init__.py'
adding 'confection/tests/conftest.py'
adding 'confection/tests/test_config.py'
adding 'confection/tests/test_frozen_structures.py'
adding 'confection/tests/util.py'
adding 'confection-0.1.5.dist-info/LICENSE'
adding 'confection-0.1.5.dist-info/METADATA'
adding 'confection-0.1.5.dist-info/WHEEL'
adding 'confection-0.1.5.dist-info/top_level.txt'
adding 'confection-0.1.5.dist-info/zip-safe'
adding 'confection-0.1.5.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built confection-0.1.5-py3-none-any.whl
I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.12 with 
"installer" module
   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:311: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_confection/build; python3.13 -m pytest 
============================= test session starts ==============================
platform linux -- Python 3.13.1, pytest-8.3.4, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_confection/build
configfile: pyproject.toml
plugins: typeguard-4.4.1
collected 0 items / 1 error

==================================== ERRORS ====================================
______________________ ERROR collecting confection/tests _______________________
/usr/lib/python3.13/importlib/__init__.py:88: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1387: in _gcd_import
    ???
<frozen importlib._bootstrap>:1360: in _find_and_load
    ???
<frozen importlib._bootstrap>:1310: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
    ???
<frozen importlib._bootstrap>:1387: in _gcd_import
    ???
<frozen importlib._bootstrap>:1360: in _find_and_load
    ???
<frozen importlib._bootstrap>:1310: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
    ???
<frozen importlib._bootstrap>:1387: in _gcd_import
    ???
<frozen importlib._bootstrap>:1360: in _find_and_load
    ???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:935: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:1026: in exec_module
    ???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
    ???
confection/__init__.py:35: in <module>
    import srsly
/usr/lib/python3/dist-packages/srsly/__init__.py:1: in <module>
    from ._json_api import read_json, read_gzip_json, write_json, 
write_gzip_json
/usr/lib/python3/dist-packages/srsly/_json_api.py:6: in <module>
    from . import ujson
/usr/lib/python3/dist-packages/srsly/ujson/__init__.py:1: in <module>
    from .ujson import decode, encode, dump, dumps, load, loads  # noqa: F401
E   ModuleNotFoundError: No module named 'srsly.ujson.ujson'
=========================== short test summary info ============================
ERROR confection/tests - ModuleNotFoundError: No module named 'srsly.ujson.uj...
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
=============================== 1 error in 0.07s ===============================
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=2: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_confection/build; python3.13 -m pytest 
I: pybuild base:311: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_confection/build; python3.12 -m pytest 
============================= test session starts ==============================
platform linux -- Python 3.12.8, pytest-8.3.4, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_confection/build
configfile: pyproject.toml
plugins: typeguard-4.4.1
collected 116 items

confection/tests/test_config.py ........................s............... [ 34%]
.........................................................x...x...x...x.. [ 96%]
                                                                         [ 96%]
confection/tests/test_frozen_structures.py ....                          [100%]

================== 111 passed, 1 skipped, 4 xfailed in 0.39s ===================
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.13 
3.12" returned exit code 13
make: *** [debian/rules:9: binary] Error 25
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 ---
On Mon, Dec 16, 2024 at 01:47:26PM +0000, Santiago Vila wrote:
> Package: src:python-confection
> Version: 0.1.5-1
> Severity: serious
> Tags: ftbfs
> 
> Dear maintainer:
> 
> During a rebuild of all packages in unstable, your package failed to build:
[...]
> E   ModuleNotFoundError: No module named 'srsly.ujson.ujson'

This was essentially due to #1056874.  I've tested that
python-confection builds cleanly with this python-srsly version, which I
uploaded earlier today:

python-srsly (2.5.1-1) unstable; urgency=medium

  * Team upload.

  [ Andreas Tille ]
  * New upstream version
  * Run build-time test properly
  * Standards-Version: 4.6.2 (routine-update)
  * Build-Depends: s/dh-python/dh-sequence-python3/
  * Set upstream metadata fields: Repository.

  [ Colin Watson ]
  * Import unittest.mock instead of mock.

  [ Alexandre Detiste ]
  * Remove python3-mock build dependency.
  * Tweak d/watch
  * New upstream version 2.5.0:
    - Port to Cython 3 (closes: #1056874).
  * Tell pytest tests location.

  [ Colin Watson ]
  * New upstream release 2.5.1.
  * Drop python3-ruamel.yaml build-dependency; srsly has an embedded copy.
  * testutils: Preserve any existing PYTHONPATH.
  * cloudpickle: Accommodate class state restoration for Python 3.13.
  * Use autopkgtest-pkg-pybuild.
  * Add ${shlibs:Depends}.

 -- Colin Watson <cjwat...@debian.org>  Tue, 11 Feb 2025 18:02:21 +0000

Thanks,

-- 
Colin Watson (he/him)                              [cjwat...@debian.org]

--- End Message ---

Reply via email to