--- Begin Message ---
Source: translation-finder
Version: 1.0-2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20231212 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> debian/rules binary
> dh binary --with python3 --buildsystem=pybuild
> dh_update_autotools_config -O--buildsystem=pybuild
> dh_autoreconf -O--buildsystem=pybuild
> dh_auto_configure -O--buildsystem=pybuild
> I: pybuild base:310: python3.12 setup.py config
> /usr/lib/python3/dist-packages/setuptools/__init__.py:84:
> _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are
> deprecated.
> !!
>
>
> ********************************************************************************
> Requirements should be satisfied by a PEP 517 installer.
> If you are using pip, you can try `pip install --use-pep517`.
>
> ********************************************************************************
>
> !!
> dist.fetch_build_eggs(dist.setup_requires)
> WARNING: The wheel package is not available.
> running config
> I: pybuild base:310: python3.11 setup.py config
> /usr/lib/python3/dist-packages/setuptools/__init__.py:84:
> _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are
> deprecated.
> !!
>
>
> ********************************************************************************
> Requirements should be satisfied by a PEP 517 installer.
> If you are using pip, you can try `pip install --use-pep517`.
>
> ********************************************************************************
>
> !!
> dist.fetch_build_eggs(dist.setup_requires)
> WARNING: The wheel package is not available.
> running config
> dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:310: /usr/bin/python3.12 setup.py build
> /usr/lib/python3/dist-packages/setuptools/__init__.py:84:
> _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are
> deprecated.
> !!
>
>
> ********************************************************************************
> Requirements should be satisfied by a PEP 517 installer.
> If you are using pip, you can try `pip install --use-pep517`.
>
> ********************************************************************************
>
> !!
> dist.fetch_build_eggs(dist.setup_requires)
> WARNING: The wheel package is not available.
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/translation_finder
> copying translation_finder/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/translation_finder
> copying translation_finder/finder.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/translation_finder
> copying translation_finder/test_api.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/translation_finder
> copying translation_finder/api.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/translation_finder
> copying translation_finder/test_finder.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/translation_finder
> copying translation_finder/test_discovery.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/translation_finder
> copying translation_finder/languages.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/translation_finder
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/translation_finder/discovery
> copying translation_finder/discovery/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/translation_finder/discovery
> copying translation_finder/discovery/base.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/translation_finder/discovery
> copying translation_finder/discovery/transifex.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/translation_finder/discovery
> copying translation_finder/discovery/files.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/translation_finder/discovery
> running egg_info
> creating translation_finder.egg-info
> writing translation_finder.egg-info/PKG-INFO
> writing dependency_links to translation_finder.egg-info/dependency_links.txt
> writing entry points to translation_finder.egg-info/entry_points.txt
> writing requirements to translation_finder.egg-info/requires.txt
> writing top-level names to translation_finder.egg-info/top_level.txt
> writing manifest file 'translation_finder.egg-info/SOURCES.txt'
> reading manifest file 'translation_finder.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> adding license file 'LICENSE'
> writing manifest file 'translation_finder.egg-info/SOURCES.txt'
> /usr/lib/python3/dist-packages/setuptools/command/build_py.py:204: _Warning:
> Package 'translation_finder.test_data' is absent from the `packages`
> configuration.
> !!
>
>
> ********************************************************************************
> ############################
> # Package would be ignored #
> ############################
> Python recognizes 'translation_finder.test_data' as an importable
> package[^1],
> but it is absent from setuptools' `packages` configuration.
>
> This leads to an ambiguous overall configuration. If you want to
> distribute this
> package, please make sure that 'translation_finder.test_data' is
> explicitly added
> to the `packages` configuration field.
>
> Alternatively, you can also rely on setuptools' discovery methods
> (for example by using `find_namespace_packages(...)`/`find_namespace:`
> instead of `find_packages(...)`/`find:`).
>
> You can read more about "package discovery" on setuptools
> documentation page:
>
> -
> https://setuptools.pypa.io/en/latest/userguide/package_discovery.html
>
> If you don't want 'translation_finder.test_data' to be distributed
> and are
> already explicitly excluding 'translation_finder.test_data' via
> `find_namespace_packages(...)/find_namespace` or
> `find_packages(...)/find`,
> you can try to use `exclude_package_data`, or
> `include-package-data=False` in
> combination with a more fine grained `package-data` configuration.
>
> You can read more about "package data files" on setuptools
> documentation page:
>
> - https://setuptools.pypa.io/en/latest/userguide/datafiles.html
>
>
> [^1]: For Python, any directory (with suitable naming) can be
> imported,
> even if it does not contain any `.py` files.
> On the other hand, currently there is no concept of package data
> directory, all directories are treated like packages.
>
> ********************************************************************************
>
> !!
> check.warn(importable)
> /usr/lib/python3/dist-packages/setuptools/command/build_py.py:204: _Warning:
> Package 'translation_finder.test_data.app.src.res.main.values' is absent from
> the `packages` configuration.
> !!
>
>
> ********************************************************************************
> ############################
> # Package would be ignored #
> ############################
> Python recognizes
> 'translation_finder.test_data.app.src.res.main.values' as an importable
> package[^1],
> but it is absent from setuptools' `packages` configuration.
>
> This leads to an ambiguous overall configuration. If you want to
> distribute this
> package, please make sure that
> 'translation_finder.test_data.app.src.res.main.values' is explicitly added
> to the `packages` configuration field.
>
> Alternatively, you can also rely on setuptools' discovery methods
> (for example by using `find_namespace_packages(...)`/`find_namespace:`
> instead of `find_packages(...)`/`find:`).
>
> You can read more about "package discovery" on setuptools
> documentation page:
>
> -
> https://setuptools.pypa.io/en/latest/userguide/package_discovery.html
>
> If you don't want
> 'translation_finder.test_data.app.src.res.main.values' to be distributed and
> are
> already explicitly excluding
> 'translation_finder.test_data.app.src.res.main.values' via
> `find_namespace_packages(...)/find_namespace` or
> `find_packages(...)/find`,
> you can try to use `exclude_package_data`, or
> `include-package-data=False` in
> combination with a more fine grained `package-data` configuration.
>
> You can read more about "package data files" on setuptools
> documentation page:
>
> - https://setuptools.pypa.io/en/latest/userguide/datafiles.html
>
>
> [^1]: For Python, any directory (with suitable naming) can be
> imported,
> even if it does not contain any `.py` files.
> On the other hand, currently there is no concept of package data
> directory, all directories are treated like packages.
>
> ********************************************************************************
>
> !!
> check.warn(importable)
> /usr/lib/python3/dist-packages/setuptools/command/build_py.py:204: _Warning:
> Package 'translation_finder.test_data.app.src.res.main' is absent from the
> `packages` configuration.
> !!
>
>
> ********************************************************************************
> ############################
> # Package would be ignored #
> ############################
> Python recognizes 'translation_finder.test_data.app.src.res.main' as
> an importable package[^1],
> but it is absent from setuptools' `packages` configuration.
>
> This leads to an ambiguous overall configuration. If you want to
> distribute this
> package, please make sure that
> 'translation_finder.test_data.app.src.res.main' is explicitly added
> to the `packages` configuration field.
>
> Alternatively, you can also rely on setuptools' discovery methods
> (for example by using `find_namespace_packages(...)`/`find_namespace:`
> instead of `find_packages(...)`/`find:`).
>
> You can read more about "package discovery" on setuptools
> documentation page:
>
> -
> https://setuptools.pypa.io/en/latest/userguide/package_discovery.html
>
> If you don't want 'translation_finder.test_data.app.src.res.main' to
> be distributed and are
> already explicitly excluding
> 'translation_finder.test_data.app.src.res.main' via
> `find_namespace_packages(...)/find_namespace` or
> `find_packages(...)/find`,
> you can try to use `exclude_package_data`, or
> `include-package-data=False` in
> combination with a more fine grained `package-data` configuration.
>
> You can read more about "package data files" on setuptools
> documentation page:
>
> - https://setuptools.pypa.io/en/latest/userguide/datafiles.html
>
>
> [^1]: For Python, any directory (with suitable naming) can be
> imported,
> even if it does not contain any `.py` files.
> On the other hand, currently there is no concept of package data
> directory, all directories are treated like packages.
>
> ********************************************************************************
>
> !!
> check.warn(importable)
> /usr/lib/python3/dist-packages/setuptools/command/build_py.py:204: _Warning:
> Package 'translation_finder.test_data.java' is absent from the `packages`
> configuration.
> !!
>
>
> ********************************************************************************
> ############################
> # Package would be ignored #
> ############################
> Python recognizes 'translation_finder.test_data.java' as an
> importable package[^1],
> but it is absent from setuptools' `packages` configuration.
>
> This leads to an ambiguous overall configuration. If you want to
> distribute this
> package, please make sure that 'translation_finder.test_data.java' is
> explicitly added
> to the `packages` configuration field.
>
> Alternatively, you can also rely on setuptools' discovery methods
> (for example by using `find_namespace_packages(...)`/`find_namespace:`
> instead of `find_packages(...)`/`find:`).
>
> You can read more about "package discovery" on setuptools
> documentation page:
>
> -
> https://setuptools.pypa.io/en/latest/userguide/package_discovery.html
>
> If you don't want 'translation_finder.test_data.java' to be
> distributed and are
> already explicitly excluding 'translation_finder.test_data.java' via
> `find_namespace_packages(...)/find_namespace` or
> `find_packages(...)/find`,
> you can try to use `exclude_package_data`, or
> `include-package-data=False` in
> combination with a more fine grained `package-data` configuration.
>
> You can read more about "package data files" on setuptools
> documentation page:
>
> - https://setuptools.pypa.io/en/latest/userguide/datafiles.html
>
>
> [^1]: For Python, any directory (with suitable naming) can be
> imported,
> even if it does not contain any `.py` files.
> On the other hand, currently there is no concept of package data
> directory, all directories are treated like packages.
>
> ********************************************************************************
>
> !!
> check.warn(importable)
> /usr/lib/python3/dist-packages/setuptools/command/build_py.py:204: _Warning:
> Package 'translation_finder.test_data.locales' is absent from the `packages`
> configuration.
> !!
>
>
> ********************************************************************************
> ############################
> # Package would be ignored #
> ############################
> Python recognizes 'translation_finder.test_data.locales' as an
> importable package[^1],
> but it is absent from setuptools' `packages` configuration.
>
> This leads to an ambiguous overall configuration. If you want to
> distribute this
> package, please make sure that 'translation_finder.test_data.locales'
> is explicitly added
> to the `packages` configuration field.
>
> Alternatively, you can also rely on setuptools' discovery methods
> (for example by using `find_namespace_packages(...)`/`find_namespace:`
> instead of `find_packages(...)`/`find:`).
>
> You can read more about "package discovery" on setuptools
> documentation page:
>
> -
> https://setuptools.pypa.io/en/latest/userguide/package_discovery.html
>
> If you don't want 'translation_finder.test_data.locales' to be
> distributed and are
> already explicitly excluding 'translation_finder.test_data.locales'
> via
> `find_namespace_packages(...)/find_namespace` or
> `find_packages(...)/find`,
> you can try to use `exclude_package_data`, or
> `include-package-data=False` in
> combination with a more fine grained `package-data` configuration.
>
> You can read more about "package data files" on setuptools
> documentation page:
>
> - https://setuptools.pypa.io/en/latest/userguide/datafiles.html
>
>
> [^1]: For Python, any directory (with suitable naming) can be
> imported,
> even if it does not contain any `.py` files.
> On the other hand, currently there is no concept of package data
> directory, all directories are treated like packages.
>
> ********************************************************************************
>
> !!
> check.warn(importable)
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/translation_finder/test_data
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/translation_finder/test_data/.tx
> copying translation_finder/test_data/.tx/config ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/translation_finder/test_data/.tx
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/translation_finder/test_data/app
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/translation_finder/test_data/app/src
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/translation_finder/test_data/app/src/res
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/translation_finder/test_data/app/src/res/main
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/translation_finder/test_data/app/src/res/main/values
> copying translation_finder/test_data/app/src/res/main/values/strings.xml ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/translation_finder/test_data/app/src/res/main/values
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/translation_finder/test_data/app/src/res/main/values-it
> copying translation_finder/test_data/app/src/res/main/values-it/strings.xml
> ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/translation_finder/test_data/app/src/res/main/values-it
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/translation_finder/test_data/java
> copying translation_finder/test_data/java/iso.properties ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/translation_finder/test_data/java
> copying translation_finder/test_data/java/iso_cs.properties ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/translation_finder/test_data/java
> copying translation_finder/test_data/java/utf-16.properties ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/translation_finder/test_data/java
> copying translation_finder/test_data/java/utf-16_cs.properties ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/translation_finder/test_data/java
> copying translation_finder/test_data/java/utf-8.properties ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/translation_finder/test_data/java
> copying translation_finder/test_data/java/utf-8_cs.properties ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/translation_finder/test_data/java
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/translation_finder/test_data/locales
> copying translation_finder/test_data/locales/cs.po ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/translation_finder/test_data/locales
> copying translation_finder/test_data/locales/de.po ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/translation_finder/test_data/locales
> copying translation_finder/test_data/locales/messages.pot ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/translation_finder/test_data/locales
> I: pybuild base:310: /usr/bin/python3 setup.py build
> /usr/lib/python3/dist-packages/setuptools/__init__.py:84:
> _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are
> deprecated.
> !!
>
>
> ********************************************************************************
> Requirements should be satisfied by a PEP 517 installer.
> If you are using pip, you can try `pip install --use-pep517`.
>
> ********************************************************************************
>
> !!
> dist.fetch_build_eggs(dist.setup_requires)
> WARNING: The wheel package is not available.
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/translation_finder
> copying translation_finder/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/translation_finder
> copying translation_finder/finder.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/translation_finder
> copying translation_finder/test_api.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/translation_finder
> copying translation_finder/api.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/translation_finder
> copying translation_finder/test_finder.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/translation_finder
> copying translation_finder/test_discovery.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/translation_finder
> copying translation_finder/languages.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/translation_finder
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/translation_finder/discovery
> copying translation_finder/discovery/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/translation_finder/discovery
> copying translation_finder/discovery/base.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/translation_finder/discovery
> copying translation_finder/discovery/transifex.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/translation_finder/discovery
> copying translation_finder/discovery/files.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/translation_finder/discovery
> running egg_info
> writing translation_finder.egg-info/PKG-INFO
> writing dependency_links to translation_finder.egg-info/dependency_links.txt
> writing entry points to translation_finder.egg-info/entry_points.txt
> writing requirements to translation_finder.egg-info/requires.txt
> writing top-level names to translation_finder.egg-info/top_level.txt
> reading manifest file 'translation_finder.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> adding license file 'LICENSE'
> writing manifest file 'translation_finder.egg-info/SOURCES.txt'
> /usr/lib/python3/dist-packages/setuptools/command/build_py.py:204: _Warning:
> Package 'translation_finder.test_data' is absent from the `packages`
> configuration.
> !!
>
>
> ********************************************************************************
> ############################
> # Package would be ignored #
> ############################
> Python recognizes 'translation_finder.test_data' as an importable
> package[^1],
> but it is absent from setuptools' `packages` configuration.
>
> This leads to an ambiguous overall configuration. If you want to
> distribute this
> package, please make sure that 'translation_finder.test_data' is
> explicitly added
> to the `packages` configuration field.
>
> Alternatively, you can also rely on setuptools' discovery methods
> (for example by using `find_namespace_packages(...)`/`find_namespace:`
> instead of `find_packages(...)`/`find:`).
>
> You can read more about "package discovery" on setuptools
> documentation page:
>
> -
> https://setuptools.pypa.io/en/latest/userguide/package_discovery.html
>
> If you don't want 'translation_finder.test_data' to be distributed
> and are
> already explicitly excluding 'translation_finder.test_data' via
> `find_namespace_packages(...)/find_namespace` or
> `find_packages(...)/find`,
> you can try to use `exclude_package_data`, or
> `include-package-data=False` in
> combination with a more fine grained `package-data` configuration.
>
> You can read more about "package data files" on setuptools
> documentation page:
>
> - https://setuptools.pypa.io/en/latest/userguide/datafiles.html
>
>
> [^1]: For Python, any directory (with suitable naming) can be
> imported,
> even if it does not contain any `.py` files.
> On the other hand, currently there is no concept of package data
> directory, all directories are treated like packages.
>
> ********************************************************************************
>
> !!
> check.warn(importable)
> /usr/lib/python3/dist-packages/setuptools/command/build_py.py:204: _Warning:
> Package 'translation_finder.test_data.app.src.res.main.values' is absent from
> the `packages` configuration.
> !!
>
>
> ********************************************************************************
> ############################
> # Package would be ignored #
> ############################
> Python recognizes
> 'translation_finder.test_data.app.src.res.main.values' as an importable
> package[^1],
> but it is absent from setuptools' `packages` configuration.
>
> This leads to an ambiguous overall configuration. If you want to
> distribute this
> package, please make sure that
> 'translation_finder.test_data.app.src.res.main.values' is explicitly added
> to the `packages` configuration field.
>
> Alternatively, you can also rely on setuptools' discovery methods
> (for example by using `find_namespace_packages(...)`/`find_namespace:`
> instead of `find_packages(...)`/`find:`).
>
> You can read more about "package discovery" on setuptools
> documentation page:
>
> -
> https://setuptools.pypa.io/en/latest/userguide/package_discovery.html
>
> If you don't want
> 'translation_finder.test_data.app.src.res.main.values' to be distributed and
> are
> already explicitly excluding
> 'translation_finder.test_data.app.src.res.main.values' via
> `find_namespace_packages(...)/find_namespace` or
> `find_packages(...)/find`,
> you can try to use `exclude_package_data`, or
> `include-package-data=False` in
> combination with a more fine grained `package-data` configuration.
>
> You can read more about "package data files" on setuptools
> documentation page:
>
> - https://setuptools.pypa.io/en/latest/userguide/datafiles.html
>
>
> [^1]: For Python, any directory (with suitable naming) can be
> imported,
> even if it does not contain any `.py` files.
> On the other hand, currently there is no concept of package data
> directory, all directories are treated like packages.
>
> ********************************************************************************
>
> !!
> check.warn(importable)
> /usr/lib/python3/dist-packages/setuptools/command/build_py.py:204: _Warning:
> Package 'translation_finder.test_data.app.src.res.main' is absent from the
> `packages` configuration.
> !!
>
>
> ********************************************************************************
> ############################
> # Package would be ignored #
> ############################
> Python recognizes 'translation_finder.test_data.app.src.res.main' as
> an importable package[^1],
> but it is absent from setuptools' `packages` configuration.
>
> This leads to an ambiguous overall configuration. If you want to
> distribute this
> package, please make sure that
> 'translation_finder.test_data.app.src.res.main' is explicitly added
> to the `packages` configuration field.
>
> Alternatively, you can also rely on setuptools' discovery methods
> (for example by using `find_namespace_packages(...)`/`find_namespace:`
> instead of `find_packages(...)`/`find:`).
>
> You can read more about "package discovery" on setuptools
> documentation page:
>
> -
> https://setuptools.pypa.io/en/latest/userguide/package_discovery.html
>
> If you don't want 'translation_finder.test_data.app.src.res.main' to
> be distributed and are
> already explicitly excluding
> 'translation_finder.test_data.app.src.res.main' via
> `find_namespace_packages(...)/find_namespace` or
> `find_packages(...)/find`,
> you can try to use `exclude_package_data`, or
> `include-package-data=False` in
> combination with a more fine grained `package-data` configuration.
>
> You can read more about "package data files" on setuptools
> documentation page:
>
> - https://setuptools.pypa.io/en/latest/userguide/datafiles.html
>
>
> [^1]: For Python, any directory (with suitable naming) can be
> imported,
> even if it does not contain any `.py` files.
> On the other hand, currently there is no concept of package data
> directory, all directories are treated like packages.
>
> ********************************************************************************
>
> !!
> check.warn(importable)
> /usr/lib/python3/dist-packages/setuptools/command/build_py.py:204: _Warning:
> Package 'translation_finder.test_data.java' is absent from the `packages`
> configuration.
> !!
>
>
> ********************************************************************************
> ############################
> # Package would be ignored #
> ############################
> Python recognizes 'translation_finder.test_data.java' as an
> importable package[^1],
> but it is absent from setuptools' `packages` configuration.
>
> This leads to an ambiguous overall configuration. If you want to
> distribute this
> package, please make sure that 'translation_finder.test_data.java' is
> explicitly added
> to the `packages` configuration field.
>
> Alternatively, you can also rely on setuptools' discovery methods
> (for example by using `find_namespace_packages(...)`/`find_namespace:`
> instead of `find_packages(...)`/`find:`).
>
> You can read more about "package discovery" on setuptools
> documentation page:
>
> -
> https://setuptools.pypa.io/en/latest/userguide/package_discovery.html
>
> If you don't want 'translation_finder.test_data.java' to be
> distributed and are
> already explicitly excluding 'translation_finder.test_data.java' via
> `find_namespace_packages(...)/find_namespace` or
> `find_packages(...)/find`,
> you can try to use `exclude_package_data`, or
> `include-package-data=False` in
> combination with a more fine grained `package-data` configuration.
>
> You can read more about "package data files" on setuptools
> documentation page:
>
> - https://setuptools.pypa.io/en/latest/userguide/datafiles.html
>
>
> [^1]: For Python, any directory (with suitable naming) can be
> imported,
> even if it does not contain any `.py` files.
> On the other hand, currently there is no concept of package data
> directory, all directories are treated like packages.
>
> ********************************************************************************
>
> !!
> check.warn(importable)
> /usr/lib/python3/dist-packages/setuptools/command/build_py.py:204: _Warning:
> Package 'translation_finder.test_data.locales' is absent from the `packages`
> configuration.
> !!
>
>
> ********************************************************************************
> ############################
> # Package would be ignored #
> ############################
> Python recognizes 'translation_finder.test_data.locales' as an
> importable package[^1],
> but it is absent from setuptools' `packages` configuration.
>
> This leads to an ambiguous overall configuration. If you want to
> distribute this
> package, please make sure that 'translation_finder.test_data.locales'
> is explicitly added
> to the `packages` configuration field.
>
> Alternatively, you can also rely on setuptools' discovery methods
> (for example by using `find_namespace_packages(...)`/`find_namespace:`
> instead of `find_packages(...)`/`find:`).
>
> You can read more about "package discovery" on setuptools
> documentation page:
>
> -
> https://setuptools.pypa.io/en/latest/userguide/package_discovery.html
>
> If you don't want 'translation_finder.test_data.locales' to be
> distributed and are
> already explicitly excluding 'translation_finder.test_data.locales'
> via
> `find_namespace_packages(...)/find_namespace` or
> `find_packages(...)/find`,
> you can try to use `exclude_package_data`, or
> `include-package-data=False` in
> combination with a more fine grained `package-data` configuration.
>
> You can read more about "package data files" on setuptools
> documentation page:
>
> - https://setuptools.pypa.io/en/latest/userguide/datafiles.html
>
>
> [^1]: For Python, any directory (with suitable naming) can be
> imported,
> even if it does not contain any `.py` files.
> On the other hand, currently there is no concept of package data
> directory, all directories are treated like packages.
>
> ********************************************************************************
>
> !!
> check.warn(importable)
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/translation_finder/test_data
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/translation_finder/test_data/.tx
> copying translation_finder/test_data/.tx/config ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/translation_finder/test_data/.tx
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/translation_finder/test_data/app
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/translation_finder/test_data/app/src
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/translation_finder/test_data/app/src/res
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/translation_finder/test_data/app/src/res/main
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/translation_finder/test_data/app/src/res/main/values
> copying translation_finder/test_data/app/src/res/main/values/strings.xml ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/translation_finder/test_data/app/src/res/main/values
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/translation_finder/test_data/app/src/res/main/values-it
> copying translation_finder/test_data/app/src/res/main/values-it/strings.xml
> ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/translation_finder/test_data/app/src/res/main/values-it
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/translation_finder/test_data/java
> copying translation_finder/test_data/java/iso.properties ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/translation_finder/test_data/java
> copying translation_finder/test_data/java/iso_cs.properties ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/translation_finder/test_data/java
> copying translation_finder/test_data/java/utf-16.properties ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/translation_finder/test_data/java
> copying translation_finder/test_data/java/utf-16_cs.properties ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/translation_finder/test_data/java
> copying translation_finder/test_data/java/utf-8.properties ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/translation_finder/test_data/java
> copying translation_finder/test_data/java/utf-8_cs.properties ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/translation_finder/test_data/java
> creating
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/translation_finder/test_data/locales
> copying translation_finder/test_data/locales/cs.po ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/translation_finder/test_data/locales
> copying translation_finder/test_data/locales/de.po ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/translation_finder/test_data/locales
> copying translation_finder/test_data/locales/messages.pot ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/translation_finder/test_data/locales
> dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:310: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build;
> python3.12 -m unittest discover -v
> test_cli (translation_finder.test_api.APITest.test_cli) ... ERROR
> test_discover (translation_finder.test_api.APITest.test_discover) ... ok
> test_discover_files (translation_finder.test_api.APITest.test_discover_files)
> ... ERROR
> test_basic (translation_finder.test_discovery.AndroidTest.test_basic) ... ok
> test_basic (translation_finder.test_discovery.GetttetTest.test_basic) ... ok
> test_double (translation_finder.test_discovery.GetttetTest.test_double) ... ok
> test_filename (translation_finder.test_discovery.GetttetTest.test_filename)
> ... ok
> test_mono (translation_finder.test_discovery.GetttetTest.test_mono) ... ok
> test_mono_language
> (translation_finder.test_discovery.GetttetTest.test_mono_language) ... ok
> test_basic (translation_finder.test_discovery.JavaTest.test_basic) ... ok
> test_basic (translation_finder.test_discovery.JoomlaTest.test_basic) ... ok
> test_basic (translation_finder.test_discovery.OSXTest.test_basic) ... ok
> test_basic (translation_finder.test_discovery.QtTest.test_basic) ... ok
> test_basic (translation_finder.test_discovery.RESXTest.test_basic) ... ok
> test_basic (translation_finder.test_discovery.TransifexTest.test_basic) ...
> ERROR
> test_basic (translation_finder.test_discovery.WebExtensionTest.test_basic)
> ... ok
> test_basic (translation_finder.test_discovery.XliffTest.test_basic) ... ok
> test_short (translation_finder.test_discovery.XliffTest.test_short) ... ok
> test_find (translation_finder.test_finder.FinderTest.test_find) ... ok
> test_init (translation_finder.test_finder.FinderTest.test_init) ... ok
>
> ======================================================================
> ERROR: test_cli (translation_finder.test_api.APITest.test_cli)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/translation_finder/test_api.py",
> line 88, in test_cli
> cli(args=[TEST_DATA], stdout=output)
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/translation_finder/api.py",
> line 81, in cli
> for pos, match in enumerate(discover(params.directory)):
> ^^^^^^^^^^^^^^^^^^^^^^^^^^
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/translation_finder/api.py",
> line 63, in discover
> results.extend(instance.discover())
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/translation_finder/discovery/base.py",
> line 112, in discover
> for result in self.get_masks():
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/translation_finder/discovery/transifex.py",
> line 84, in get_masks
> config.readfp(handle)
> ^^^^^^^^^^^^^
> AttributeError: 'RawConfigParser' object has no attribute 'readfp'. Did you
> mean: 'read'?
>
> ======================================================================
> ERROR: test_discover_files
> (translation_finder.test_api.APITest.test_discover_files)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/translation_finder/test_api.py",
> line 44, in test_discover_files
> discover(TEST_DATA),
> ^^^^^^^^^^^^^^^^^^^
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/translation_finder/api.py",
> line 63, in discover
> results.extend(instance.discover())
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/translation_finder/discovery/base.py",
> line 112, in discover
> for result in self.get_masks():
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/translation_finder/discovery/transifex.py",
> line 84, in get_masks
> config.readfp(handle)
> ^^^^^^^^^^^^^
> AttributeError: 'RawConfigParser' object has no attribute 'readfp'. Did you
> mean: 'read'?
>
> ======================================================================
> ERROR: test_basic (translation_finder.test_discovery.TransifexTest.test_basic)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/translation_finder/test_discovery.py",
> line 385, in test_basic
> self.assert_discovery(
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/translation_finder/test_discovery.py",
> line 55, in assert_discovery
> self.assertEqual(sorted(first, key=sort_key), sorted(second,
> key=sort_key))
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/translation_finder/discovery/base.py",
> line 112, in discover
> for result in self.get_masks():
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build/translation_finder/discovery/transifex.py",
> line 84, in get_masks
> config.readfp(handle)
> ^^^^^^^^^^^^^
> AttributeError: 'RawConfigParser' object has no attribute 'readfp'. Did you
> mean: 'read'?
>
> ----------------------------------------------------------------------
> Ran 20 tests in 0.025s
>
> FAILED (errors=3)
> E: pybuild pybuild:395: test: plugin distutils failed with: exit code=1: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build; python3.12 -m unittest
> discover -v
> I: pybuild base:310: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build;
> python3.11 -m unittest discover -v
> test_cli (translation_finder.test_api.APITest.test_cli) ...
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build/translation_finder/discovery/transifex.py:84:
> DeprecationWarning: This method will be removed in Python 3.12. Use
> 'parser.read_file()' instead.
> config.readfp(handle)
> ok
> test_discover (translation_finder.test_api.APITest.test_discover) ... ok
> test_discover_files (translation_finder.test_api.APITest.test_discover_files)
> ... ok
> test_basic (translation_finder.test_discovery.AndroidTest.test_basic) ... ok
> test_basic (translation_finder.test_discovery.GetttetTest.test_basic) ... ok
> test_double (translation_finder.test_discovery.GetttetTest.test_double) ... ok
> test_filename (translation_finder.test_discovery.GetttetTest.test_filename)
> ... ok
> test_mono (translation_finder.test_discovery.GetttetTest.test_mono) ... ok
> test_mono_language
> (translation_finder.test_discovery.GetttetTest.test_mono_language) ... ok
> test_basic (translation_finder.test_discovery.JavaTest.test_basic) ... ok
> test_basic (translation_finder.test_discovery.JoomlaTest.test_basic) ... ok
> test_basic (translation_finder.test_discovery.OSXTest.test_basic) ... ok
> test_basic (translation_finder.test_discovery.QtTest.test_basic) ... ok
> test_basic (translation_finder.test_discovery.RESXTest.test_basic) ... ok
> test_basic (translation_finder.test_discovery.TransifexTest.test_basic) ... ok
> test_basic (translation_finder.test_discovery.WebExtensionTest.test_basic)
> ... ok
> test_basic (translation_finder.test_discovery.XliffTest.test_basic) ... ok
> test_short (translation_finder.test_discovery.XliffTest.test_short) ... ok
> test_find (translation_finder.test_finder.FinderTest.test_find) ... ok
> test_init (translation_finder.test_finder.FinderTest.test_init) ... ok
>
> ----------------------------------------------------------------------
> Ran 20 tests in 0.018s
>
> OK
> dh_auto_test: error: pybuild --test -i python{version} -p "3.12 3.11"
> returned exit code 13
The full build log is available from:
http://qa-logs.debian.net/2023/12/12/translation-finder_1.0-2_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231212;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231212&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
--- End Message ---