GNU bug report logs -
#34056
[PATCH] core-updates -- gnu: python2: Fix test flags.
Previous Next
Reported by: ericbavier <at> centurylink.net
Date: Sun, 13 Jan 2019 07:20:02 UTC
Severity: normal
Tags: patch
Done: Eric Bavier <ericbavier <at> centurylink.net>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 34056 in the body.
You can then email your comments to 34056 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#34056
; Package
guix-patches
.
(Sun, 13 Jan 2019 07:20:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
ericbavier <at> centurylink.net
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Sun, 13 Jan 2019 07:20:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
From: Eric Bavier <bavier <at> member.fsf.org>
* gnu/packages/python.scm (python-2.7)[arguments]: 'EXTRATESTOPTS' ->
'TESTOPTS'. This overrides the default '-l' argument for memory leak checks
which is not compatible with the -j for parallelism.
---
gnu/packages/python.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 9b43f465cc..dffded738d 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -194,7 +194,7 @@
(assoc-ref %outputs "out") "/lib"))
;; With no -j argument tests use all available cpus, so provide one.
#:make-flags
- (list (format #f "EXTRATESTOPTS=-j~d" (parallel-job-count)))
+ (list (format #f "TESTOPTS=-j~d" (parallel-job-count)))
#:modules ((ice-9 ftw) (ice-9 match)
(guix build utils) (guix build gnu-build-system))
--
2.20.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#34056
; Package
guix-patches
.
(Sun, 13 Jan 2019 07:50:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 34056 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On Sun, Jan 13, 2019 at 01:18:49AM -0600, ericbavier <at> centurylink.net wrote:
> From: Eric Bavier <bavier <at> member.fsf.org>
>
> * gnu/packages/python.scm (python-2.7)[arguments]: 'EXTRATESTOPTS' ->
> 'TESTOPTS'. This overrides the default '-l' argument for memory leak checks
> which is not compatible with the -j for parallelism.
> ---
> gnu/packages/python.scm | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
> index 9b43f465cc..dffded738d 100644
> --- a/gnu/packages/python.scm
> +++ b/gnu/packages/python.scm
> @@ -194,7 +194,7 @@
> (assoc-ref %outputs "out") "/lib"))
> ;; With no -j argument tests use all available cpus, so provide one.
> #:make-flags
> - (list (format #f "EXTRATESTOPTS=-j~d" (parallel-job-count)))
> + (list (format #f "TESTOPTS=-j~d" (parallel-job-count)))
>
> #:modules ((ice-9 ftw) (ice-9 match)
> (guix build utils) (guix build gnu-build-system))
> --
> 2.20.1
>
I'm building out python2 now on my aarch64 board but I assume it'll
work. While I do prefer the parallelism in the test suite, between the
two I'd consider the memory leak checks the more important of the two.
--
Efraim Flashner <efraim <at> flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#34056
; Package
guix-patches
.
(Sun, 13 Jan 2019 16:24:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 34056 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On Sun, 13 Jan 2019 09:48:59 +0200
Efraim Flashner <efraim <at> flashner.co.il> wrote:
> On Sun, Jan 13, 2019 at 01:18:49AM -0600, ericbavier <at> centurylink.net wrote:
> > From: Eric Bavier <bavier <at> member.fsf.org>
> >
> > * gnu/packages/python.scm (python-2.7)[arguments]: 'EXTRATESTOPTS' ->
> > 'TESTOPTS'. This overrides the default '-l' argument for memory leak checks
> > which is not compatible with the -j for parallelism.
> > ---
> > gnu/packages/python.scm | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
> > index 9b43f465cc..dffded738d 100644
> > --- a/gnu/packages/python.scm
> > +++ b/gnu/packages/python.scm
> > @@ -194,7 +194,7 @@
> > (assoc-ref %outputs "out") "/lib"))
> > ;; With no -j argument tests use all available cpus, so provide one.
> > #:make-flags
> > - (list (format #f "EXTRATESTOPTS=-j~d" (parallel-job-count)))
> > + (list (format #f "TESTOPTS=-j~d" (parallel-job-count)))
> >
> > #:modules ((ice-9 ftw) (ice-9 match)
> > (guix build utils) (guix build gnu-build-system))
> > --
> > 2.20.1
> >
>
> I'm building out python2 now on my aarch64 board but I assume it'll
> work. While I do prefer the parallelism in the test suite, between the
> two I'd consider the memory leak checks the more important of the two.
>
Are the memory-leak checks something that we need to worry about in our
packaging of python2? Can memory leaks be introduced in the way we
configure and build our python? Otherwise I assume that's something
more interesting to someone developing python itself and not as
interesting in system CI. IMHO.
I see I should probably move the comment about this overriding -l from
the commit message to the code comment.
`~Eric
[Message part 2 (application/pgp-signature, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#34056
; Package
guix-patches
.
(Sun, 13 Jan 2019 17:17:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 34056 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On Sun, Jan 13, 2019 at 10:23:20AM -0600, Eric Bavier wrote:
> On Sun, 13 Jan 2019 09:48:59 +0200
> Efraim Flashner <efraim <at> flashner.co.il> wrote:
>
> > On Sun, Jan 13, 2019 at 01:18:49AM -0600, ericbavier <at> centurylink.net wrote:
> > > From: Eric Bavier <bavier <at> member.fsf.org>
> > >
> > > * gnu/packages/python.scm (python-2.7)[arguments]: 'EXTRATESTOPTS' ->
> > > 'TESTOPTS'. This overrides the default '-l' argument for memory leak checks
> > > which is not compatible with the -j for parallelism.
> > > ---
> > > gnu/packages/python.scm | 2 +-
> > > 1 file changed, 1 insertion(+), 1 deletion(-)
> > >
> > > diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
> > > index 9b43f465cc..dffded738d 100644
> > > --- a/gnu/packages/python.scm
> > > +++ b/gnu/packages/python.scm
> > > @@ -194,7 +194,7 @@
> > > (assoc-ref %outputs "out") "/lib"))
> > > ;; With no -j argument tests use all available cpus, so provide one.
> > > #:make-flags
> > > - (list (format #f "EXTRATESTOPTS=-j~d" (parallel-job-count)))
> > > + (list (format #f "TESTOPTS=-j~d" (parallel-job-count)))
> > >
> > > #:modules ((ice-9 ftw) (ice-9 match)
> > > (guix build utils) (guix build gnu-build-system))
> > > --
> > > 2.20.1
> > >
> >
> > I'm building out python2 now on my aarch64 board but I assume it'll
> > work. While I do prefer the parallelism in the test suite, between the
> > two I'd consider the memory leak checks the more important of the two.
> >
>
> Are the memory-leak checks something that we need to worry about in our
> packaging of python2? Can memory leaks be introduced in the way we
> configure and build our python? Otherwise I assume that's something
> more interesting to someone developing python itself and not as
> interesting in system CI. IMHO.
No idea.
> I see I should probably move the comment about this overriding -l from
> the commit message to the code comment.
>
Sounds like a good idea :)
--
Efraim Flashner <efraim <at> flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#34056
; Package
guix-patches
.
(Sun, 13 Jan 2019 22:57:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 34056 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
ericbavier <at> centurylink.net writes:
> From: Eric Bavier <bavier <at> member.fsf.org>
>
> * gnu/packages/python.scm (python-2.7)[arguments]: 'EXTRATESTOPTS' ->
> 'TESTOPTS'. This overrides the default '-l' argument for memory leak checks
> which is not compatible with the -j for parallelism.
> ---
> gnu/packages/python.scm | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
> index 9b43f465cc..dffded738d 100644
> --- a/gnu/packages/python.scm
> +++ b/gnu/packages/python.scm
> @@ -194,7 +194,7 @@
> (assoc-ref %outputs "out") "/lib"))
> ;; With no -j argument tests use all available cpus, so provide one.
> #:make-flags
> - (list (format #f "EXTRATESTOPTS=-j~d" (parallel-job-count)))
> + (list (format #f "TESTOPTS=-j~d" (parallel-job-count)))
>
> #:modules ((ice-9 ftw) (ice-9 match)
> (guix build utils) (guix build gnu-build-system))
Hey Eric,
I've also been looking at some Python 2 things on core-updates today,
trying to get the linkchecker package building again.
I've just pushed a slightly different patch, but to this effect to
core-updates, and only just seen this message, sorry about that.
Thanks for looking at it though, this approach is probably neater, as I
used substitute* instead.
Chris
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#34056
; Package
guix-patches
.
(Mon, 14 Jan 2019 02:43:02 GMT)
Full text and
rfc822 format available.
Message #20 received at 34056 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On Sun, 13 Jan 2019 22:56:27 +0000
Christopher Baines <mail <at> cbaines.net> wrote:
> ericbavier <at> centurylink.net writes:
>
> > From: Eric Bavier <bavier <at> member.fsf.org>
> >
> > * gnu/packages/python.scm (python-2.7)[arguments]: 'EXTRATESTOPTS' ->
> > 'TESTOPTS'. This overrides the default '-l' argument for memory leak checks
> > which is not compatible with the -j for parallelism.
> > ---
> > gnu/packages/python.scm | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
> > index 9b43f465cc..dffded738d 100644
> > --- a/gnu/packages/python.scm
> > +++ b/gnu/packages/python.scm
> > @@ -194,7 +194,7 @@
> > (assoc-ref %outputs "out") "/lib"))
> > ;; With no -j argument tests use all available cpus, so provide one.
> > #:make-flags
> > - (list (format #f "EXTRATESTOPTS=-j~d" (parallel-job-count)))
> > + (list (format #f "TESTOPTS=-j~d" (parallel-job-count)))
> >
> > #:modules ((ice-9 ftw) (ice-9 match)
> > (guix build utils) (guix build gnu-build-system))
>
> Hey Eric,
>
> I've also been looking at some Python 2 things on core-updates today,
> trying to get the linkchecker package building again.
>
> I've just pushed a slightly different patch, but to this effect to
> core-updates, and only just seen this message, sorry about that.
Not a problem.
>
> Thanks for looking at it though, this approach is probably neater, as I
> used substitute* instead.
>
Would you like to keep your patch, or apply this one instead?
`~Eric
[Message part 2 (application/pgp-signature, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#34056
; Package
guix-patches
.
(Mon, 21 Jan 2019 19:11:02 GMT)
Full text and
rfc822 format available.
Message #23 received at 34056 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Eric Bavier <ericbavier <at> centurylink.net> writes:
> On Sun, 13 Jan 2019 22:56:27 +0000
> Christopher Baines <mail <at> cbaines.net> wrote:
>
>> ericbavier <at> centurylink.net writes:
>>
>> > From: Eric Bavier <bavier <at> member.fsf.org>
>> >
>> > * gnu/packages/python.scm (python-2.7)[arguments]: 'EXTRATESTOPTS' ->
>> > 'TESTOPTS'. This overrides the default '-l' argument for memory leak checks
>> > which is not compatible with the -j for parallelism.
>> > ---
>> > gnu/packages/python.scm | 2 +-
>> > 1 file changed, 1 insertion(+), 1 deletion(-)
>> >
>> > diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
>> > index 9b43f465cc..dffded738d 100644
>> > --- a/gnu/packages/python.scm
>> > +++ b/gnu/packages/python.scm
>> > @@ -194,7 +194,7 @@
>> > (assoc-ref %outputs "out") "/lib"))
>> > ;; With no -j argument tests use all available cpus, so provide one.
>> > #:make-flags
>> > - (list (format #f "EXTRATESTOPTS=-j~d" (parallel-job-count)))
>> > + (list (format #f "TESTOPTS=-j~d" (parallel-job-count)))
>> >
>> > #:modules ((ice-9 ftw) (ice-9 match)
>> > (guix build utils) (guix build gnu-build-system))
>>
>> Hey Eric,
>>
>> I've also been looking at some Python 2 things on core-updates today,
>> trying to get the linkchecker package building again.
>>
>> I've just pushed a slightly different patch, but to this effect to
>> core-updates, and only just seen this message, sorry about that.
>
> Not a problem.
>
>> Thanks for looking at it though, this approach is probably neater, as I
>> used substitute* instead.
>
> Would you like to keep your patch, or apply this one instead?
I'm quite happy to switch to this approach. I don't know whether the
best way to do that is to switch out the patches by force-pushing to
core-updates, or to just apply your patch on top though...
Thanks,
Chris
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#34056
; Package
guix-patches
.
(Tue, 22 Jan 2019 01:17:01 GMT)
Full text and
rfc822 format available.
Message #26 received at 34056 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On Mon, 21 Jan 2019 19:10:06 +0000
Christopher Baines <mail <at> cbaines.net> wrote:
> Eric Bavier <ericbavier <at> centurylink.net> writes:
>
> > On Sun, 13 Jan 2019 22:56:27 +0000
> > Christopher Baines <mail <at> cbaines.net> wrote:
> >
> >> ericbavier <at> centurylink.net writes:
> >>
> >> > From: Eric Bavier <bavier <at> member.fsf.org>
> >> >
> >> > * gnu/packages/python.scm (python-2.7)[arguments]: 'EXTRATESTOPTS' ->
> >> > 'TESTOPTS'. This overrides the default '-l' argument for memory leak checks
> >> > which is not compatible with the -j for parallelism.
> >> > ---
> >> > gnu/packages/python.scm | 2 +-
> >> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >> >
> >> > diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
> >> > index 9b43f465cc..dffded738d 100644
> >> > --- a/gnu/packages/python.scm
> >> > +++ b/gnu/packages/python.scm
> >> > @@ -194,7 +194,7 @@
> >> > (assoc-ref %outputs "out") "/lib"))
> >> > ;; With no -j argument tests use all available cpus, so provide one.
> >> > #:make-flags
> >> > - (list (format #f "EXTRATESTOPTS=-j~d" (parallel-job-count)))
> >> > + (list (format #f "TESTOPTS=-j~d" (parallel-job-count)))
> >> >
> >> > #:modules ((ice-9 ftw) (ice-9 match)
> >> > (guix build utils) (guix build gnu-build-system))
> >>
> >> Hey Eric,
> >>
> >> I've also been looking at some Python 2 things on core-updates today,
> >> trying to get the linkchecker package building again.
> >>
> >> I've just pushed a slightly different patch, but to this effect to
> >> core-updates, and only just seen this message, sorry about that.
> >
> > Not a problem.
> >
> >> Thanks for looking at it though, this approach is probably neater, as I
> >> used substitute* instead.
> >
> > Would you like to keep your patch, or apply this one instead?
>
> I'm quite happy to switch to this approach. I don't know whether the
> best way to do that is to switch out the patches by force-pushing to
> core-updates, or to just apply your patch on top though...
I can just adjust my patch. I think we don't want to force-push since
there are people working on it.
Thanks for your attention to core-updates :)
`~Eric
[Message part 2 (application/pgp-signature, inline)]
Reply sent
to
Eric Bavier <ericbavier <at> centurylink.net>
:
You have taken responsibility.
(Wed, 23 Jan 2019 04:06:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
ericbavier <at> centurylink.net
:
bug acknowledged by developer.
(Wed, 23 Jan 2019 04:06:02 GMT)
Full text and
rfc822 format available.
Message #31 received at 34056-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On Mon, 21 Jan 2019 19:16:22 -0600
Eric Bavier <ericbavier <at> centurylink.net> wrote:
> On Mon, 21 Jan 2019 19:10:06 +0000
> Christopher Baines <mail <at> cbaines.net> wrote:
>
> > Eric Bavier <ericbavier <at> centurylink.net> writes:
> >
> > > On Sun, 13 Jan 2019 22:56:27 +0000
> > > Christopher Baines <mail <at> cbaines.net> wrote:
> > >
> > >> ericbavier <at> centurylink.net writes:
> > >>
> > >> > From: Eric Bavier <bavier <at> member.fsf.org>
> > >> >
> > >> > * gnu/packages/python.scm (python-2.7)[arguments]: 'EXTRATESTOPTS' ->
> > >> > 'TESTOPTS'. This overrides the default '-l' argument for memory leak checks
> > >> > which is not compatible with the -j for parallelism.
> > >> > ---
> > >> > gnu/packages/python.scm | 2 +-
> > >> > 1 file changed, 1 insertion(+), 1 deletion(-)
> > >> >
> > >> > diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
> > >> > index 9b43f465cc..dffded738d 100644
> > >> > --- a/gnu/packages/python.scm
> > >> > +++ b/gnu/packages/python.scm
> > >> > @@ -194,7 +194,7 @@
> > >> > (assoc-ref %outputs "out") "/lib"))
> > >> > ;; With no -j argument tests use all available cpus, so provide one.
> > >> > #:make-flags
> > >> > - (list (format #f "EXTRATESTOPTS=-j~d" (parallel-job-count)))
> > >> > + (list (format #f "TESTOPTS=-j~d" (parallel-job-count)))
> > >> >
> > >> > #:modules ((ice-9 ftw) (ice-9 match)
> > >> > (guix build utils) (guix build gnu-build-system))
> > >>
> > >> Hey Eric,
> > >>
> > >> I've also been looking at some Python 2 things on core-updates today,
> > >> trying to get the linkchecker package building again.
> > >>
> > >> I've just pushed a slightly different patch, but to this effect to
> > >> core-updates, and only just seen this message, sorry about that.
> > >
> > > Not a problem.
> > >
> > >> Thanks for looking at it though, this approach is probably neater, as I
> > >> used substitute* instead.
> > >
> > > Would you like to keep your patch, or apply this one instead?
> >
> > I'm quite happy to switch to this approach. I don't know whether the
> > best way to do that is to switch out the patches by force-pushing to
> > core-updates, or to just apply your patch on top though...
>
> I can just adjust my patch.
An adjusted patch, which reverts Christopher's patch was pushed to
core-updates in commit 32922190977f701694880254a71feb2752222f94
`~Eric
[Message part 2 (application/pgp-signature, inline)]
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 20 Feb 2019 12:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 5 years and 59 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.