Sujet : Re: shutil.rmtree() fails when used in Fedora (rpm) "mock" environment
De : barry (at) *nospam* barrys-emacs.org (Barry)
Groupes : comp.lang.pythonDate : 25. Oct 2024, 00:44:43
Autres entêtes
Message-ID : <mailman.43.1729811077.4695.python-list@python.org>
References : 1 2
User-Agent : iPad Mail (22A3370)
On 24 Oct 2024, at 15:07, Christian Buhtz via Python-list <python-list@python.org> wrote:
On one hand Fedora seems to use a tool called "mock" to build packages in a chroot environment.
On the other hand the test suite of "Back In Time" does read and write to the real file system.
I am a Fedora packager and can help explain what is the tools are doing.
Mock runs the build in a chroot env that allows for reproducible clean room builds.
Sort like a container.
This is nothing to do with the python mock package.
What do you mean by the real file sustem?
You cannot write to the /usr file system. Is that what your tests do?
If so that needs changing.
Barry