Bug#1122409: eodag: FTBFS: mv: cannot overwrite 'debian/tmp/usr/share/python3-eodag/resources': Directory not empty

2025-12-10 Thread Sebastiaan Couwenberg

On 12/10/25 9:57 PM, Sebastiaan Couwenberg wrote:

On 12/10/25 9:38 PM, Santiago Vila wrote:

mkdir -p debian/tmp/usr/share/python3-eodag/
mv debian/tmp/usr/lib/python3*/*-packages/eodag/resources 
debian/tmp/usr/share/python3-eodag/
mv: cannot overwrite 'debian/tmp/usr/share/python3-eodag/resources': Directory 
not empty


This is likely because the package is now built for both python3.13 & 
python3.14.


I've pushed a change in git that stops moving the resources directory to 
/usr/share and removes the symlink with dpkg-maintscript-helper.

An alternative is to use dh-exec and only move the directory for the default 
python with $(py3versions -d).

Kind Regards,

Bas

--
 PGP Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1



Bug#1122409: eodag: FTBFS: mv: cannot overwrite 'debian/tmp/usr/share/python3-eodag/resources': Directory not empty

2025-12-10 Thread Sebastiaan Couwenberg

On 12/10/25 9:38 PM, Santiago Vila wrote:

mkdir -p debian/tmp/usr/share/python3-eodag/
mv debian/tmp/usr/lib/python3*/*-packages/eodag/resources 
debian/tmp/usr/share/python3-eodag/
mv: cannot overwrite 'debian/tmp/usr/share/python3-eodag/resources': Directory 
not empty


This is likely because the package is now built for both python3.13 & 
python3.14.

Kind Regards,

Bas

--
 PGP Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1



Bug#1122409: eodag: FTBFS: mv: cannot overwrite 'debian/tmp/usr/share/python3-eodag/resources': Directory not empty

2025-12-10 Thread Santiago Vila
Package: src:eodag
Version: 3.10.0+ds-1
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

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

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 cannot 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 add an affects on src:eodag, so that this is still
visible in the BTS web page for this package.

Thanks.


[...]
 debian/rules clean
dh clean --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
 debian/rules binary
dh binary --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:131: Building wheel for python3.14 with "build" 
module
I: pybuild base:317: python3.14 -m build --skip-dependency-check --no-isolation 
--wheel --outdir /<>/.pybuild/cpython3_3.14  
* Building wheel...
/usr/lib/python3/dist-packages/setuptools/dist.py:759: 
SetuptoolsDeprecationWarning: License classifiers are deprecated.

[... snipped ...]

  /usr/lib/python3.14/unittest/case.py:669: RuntimeWarning: coroutine 
'TestStacCore.test_get_stac_collections' was never awaited
self._callTestMethod(testMethod)
  Enable tracemalloc to get traceback where the object was allocated.
  See 
https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings
 for more info.

tests/units/test_stac_core.py::TestStacCore::test_search_stac_items_get
  /usr/lib/python3.14/unittest/case.py:725: DeprecationWarning: It is 
deprecated to return a value that is not None from a test case (> returned 'coroutine'). Maybe you forgot 
to use IsolatedAsyncioTestCase as the base class?
return self.run(*args, **kwds)

tests/units/test_stac_core.py::TestStacCore::test_search_stac_items_get
  /usr/lib/python3.14/unittest/case.py:669: RuntimeWarning: coroutine 
'TestStacCore.test_search_stac_items_get' was never awaited
self._callTestMethod(testMethod)
  Enable tracemalloc to get traceback where the object was allocated.
  See 
https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings
 for more info.

tests/units/test_stac_core.py::TestStacCore::test_search_stac_items_post
  /usr/lib/python3.14/unittest/case.py:725: DeprecationWarning: It is 
deprecated to return a value that is not None from a test case (> returned 'coroutine'). Maybe you 
forgot to use IsolatedAsyncioTestCase as the base class?
return self.run(*args, **kwds)

tests/units/test_stac_core.py::TestStacCore::test_search_stac_items_post
  /usr/lib/python3.14/unittest/case.py:669: RuntimeWarning: coroutine 
'TestStacCore.test_search_stac_items_post' was never awaited
self._callTestMethod(testMethod)
  Enable tracemalloc to get traceback where the object was allocated.
  See 
https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings
 for more info.

tests/units/test_stac_core.py::TestStacCore::test_search_stac_items_with_non_stac_providers
  /usr/lib/python3.14/unittest/case.py:725: DeprecationWarning: It is 
deprecated to return a value that is not None from a test case (> returned 
'coroutine'). Maybe you forgot to use IsolatedAsyncioTestCase as the base class?
return self.run(*args, **kwds)

tests/units/test_stac_core.py::TestStacCore::test_search_stac_items_with_non_stac_providers
  /usr/lib/python3.14/unittest/case.py:669: RuntimeWarning: coroutine 
'TestStacCore.test_search_stac_items_with_non_stac_providers' was never awaited
self._callTestMethod(testMethod)
  Enable tracemalloc to get traceback where the object was allocated.
  See 
https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings
 for more info.

tests/units/test_stac_core.py::TestStacCore::test_search_stac_items_with_stac_providers
  /usr/lib/python3.14/unittest/case.py:725: DeprecationWarning: It is 
deprecated to return a value that is not None from a test case (> returned 'coroutine'). 
Maybe you forgot to use IsolatedAsyncioTestCase as the base class?
return self.run(*args, **kwds)

tests/units/test_stac_core.py::TestStacCore::test_search_stac_items_with_stac_providers
  /usr/lib/python3.14/unittest/case.py:669: RuntimeWarning: coroutine 
'TestStacCore.test_search_stac_items_with_stac_providers' was never awaited
se