Bug#1124697: sqlalchemy-i18n: please make the build reproducible

Chris Lamb lamby at debian.org
Mon Jan 5 18:33:58 GMT 2026


Source: sqlalchemy-i18n
Version: 1.1.0-3
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: nocheck
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed that
sqlalchemy-i18n could not be built reproducibly.

This appears to be because running the tests looks like it is creating
duplicated and nested version of the source tree. As in, the pybuild
{build_dir} contains the sources, as well as a directory under this one
confusingly called build, ie. {build_dir}/build that contains the same
contents.

If "nocheck" is passed to the build, however, then this extra dir is
not created, hence why reproducibility checking flagged this.

Patch attached, although this is more of a concrete demonstration of
the issue rather than a "fix" — the underlying cause is not immediately
apparent.

 [0] https://reproducible-builds.org/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/rules	2026-01-05 10:24:05.888072918 -0800
--- b/debian/rules	2026-01-05 10:31:27.874457858 -0800
@@ -16,4 +16,6 @@
 	$(eval BUILD_DIR=$(shell pybuild --print '{build_dir}'))
 	cp -r tests $(BUILD_DIR)
 	python3 $(CURDIR)/debian/tests/setup-db-and-run-tests.py
+	# Running the tests creates a nested, duplicate copy of the sources?
+	rm -rf $(BUILD_DIR)/build
 endif


More information about the Reproducible-bugs mailing list