Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

You will pass away very quickly.


comp / comp.lang.python / Re: shutil.rmtree() fails when used in Fedora (rpm) "mock" environment

SubjectAuthor
o Re: shutil.rmtree() fails when used in Fedora (rpm) "mock" environmentBarry

1
Subject: Re: shutil.rmtree() fails when used in Fedora (rpm) "mock" environment
From: Barry
Newsgroups: comp.lang.python
Date: Thu, 24 Oct 2024 22:44 UTC
References: 1 2
Path: eternal-september.org!news.eternal-september.org!feeder2.eternal-september.org!fu-berlin.de!uni-berlin.de!not-for-mail
From: barry@barrys-emacs.org (Barry)
Newsgroups: comp.lang.python
Subject: Re: shutil.rmtree() fails when used in Fedora (rpm) "mock" environment
Date: Thu, 24 Oct 2024 23:44:43 +0100
Lines: 26
Message-ID: <mailman.43.1729811077.4695.python-list@python.org>
References: <4a13731716200669342338ae409e73ca@posteo.de>
<36BEA5DD-D591-4D0E-B7CF-78609AA42B92@barrys-emacs.org>
Mime-Version: 1.0 (1.0)
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
X-Trace: news.uni-berlin.de TIOWuAfO6Vzfq6Tk8oV46QhRBR5lFo09S6sEHNG/uQHA==
Cancel-Lock: sha1:PyiIXScfCHJdg1BlLV/N0rJlGv8= sha256:sv1lpDQsAbfOOTwIHHcusxoKa61dS1KVgcVZJeNNMXQ=
Return-Path: <barry@barrys-emacs.org>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=none reason="no signature";
dkim-adsp=none (unprotected policy); dkim-atps=neutral
X-Spam-Status: OK 0.001
X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:when': 0.07;
'tests': 0.07; 'cc:addr:python-list': 0.09; 'fedora': 0.09;
'from:addr:barry': 0.09; 'received:217.70': 0.09;
'received:217.70.178': 0.09; 'received:gandi.net': 0.09;
'received:mail.gandi.net': 0.09; 'cc:no real name:2**0': 0.14;
'barry': 0.16; 'from:addr:barrys-emacs.org': 0.16; 'message-id
:@barrys-emacs.org': 0.16; 'subject:() ': 0.16; 'subject:Fedora':
0.16; 'subject:fails': 0.16; 'subject:used': 0.16; 'wrote:': 0.16;
'python': 0.16; 'cc:addr:python.org': 0.20; 'cannot': 0.25;
'cc:2**0': 0.25; 'seems': 0.26; 'do?': 0.26; 'packages': 0.31;
'christian': 0.32; 'python-list': 0.32; 'header:In-Reply-To:1':
0.34; 'mean': 0.34; 'runs': 0.35; 'room': 0.36; 'file': 0.38;
'read': 0.38; 'use': 0.39; 'explain': 0.40; 'hand': 0.40; 'your':
0.64; 'tool': 0.65; 'received:217': 0.67; 'suite': 0.71; 'tools':
0.74; 'doing.': 0.91
In-Reply-To: <4a13731716200669342338ae409e73ca@posteo.de>
X-Mailer: iPad Mail (22A3370)
X-GND-Sasl: barry@barrys-emacs.org
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <36BEA5DD-D591-4D0E-B7CF-78609AA42B92@barrys-emacs.org>
X-Mailman-Original-References: <4a13731716200669342338ae409e73ca@posteo.de>
View all headers

> 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

1

rocksolid light 0.9.8
clearnet tor