GNU bug report logs - #25746
python-pykka

Previous Next

Package: guix-patches;

Reported by: ng0 <contact.ng0 <at> cryptolab.net>

Date: Wed, 15 Feb 2017 22:27:01 UTC

Severity: normal

Done: ng0 <contact.ng0 <at> cryptolab.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 25746 in the body.
You can then email your comments to 25746 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#25746; Package guix-patches. (Wed, 15 Feb 2017 22:27:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to ng0 <contact.ng0 <at> cryptolab.net>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Wed, 15 Feb 2017 22:27:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: ng0 <contact.ng0 <at> cryptolab.net>
To: guix-patches <at> gnu.org
Subject: python-pykka
Date: Wed, 15 Feb 2017 22:27:58 +0000
[Message part 1 (text/plain, inline)]

[0001-gnu-Add-python-pykka.patch (text/plain, attachment)]

Information forwarded to guix-patches <at> gnu.org:
bug#25746; Package guix-patches. (Thu, 16 Feb 2017 05:12:02 GMT) Full text and rfc822 format available.

Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Kei Kebreau <kei <at> openmailbox.org>
To: guix-patches <at> gnu.org
Subject: Re: bug#25746: python-pykka
Date: Thu, 16 Feb 2017 00:11:14 -0500
[Message part 1 (text/plain, inline)]
ng0 <contact.ng0 <at> cryptolab.net> writes:

I'm okay with pushing this if no one objects.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#25746; Package guix-patches. (Sat, 18 Feb 2017 13:25:01 GMT) Full text and rfc822 format available.

Message #11 received at 25746 <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: ng0 <contact.ng0 <at> cryptolab.net>
Cc: 25746 <at> debbugs.gnu.org
Subject: Re: bug#25746: python-pykka
Date: Sat, 18 Feb 2017 14:24:40 +0100
ng0 <contact.ng0 <at> cryptolab.net> writes:

>>From 5f04445d95ac22a98eb80038f6e087218f3cf369 Mon Sep 17 00:00:00 2001
> From: ng0 <ng0 <at> we.make.ritual.n0.is>
> Date: Mon, 17 Oct 2016 10:30:58 +0000
> Subject: [PATCH] gnu: Add python-pykka.
>
> * gnu/packages/python.scm (python-pykka): New variable.
> ---
>  gnu/packages/python.scm | 26 ++++++++++++++++++++++++++
>  1 file changed, 26 insertions(+)
>
> diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
> index 3e59b5892..875149b74 100644
> --- a/gnu/packages/python.scm
> +++ b/gnu/packages/python.scm
> @@ -2614,6 +2614,32 @@ somewhat intelligeble.")
>  (define-public python2-pyjwt
>    (package-with-python2 python-pyjwt))
>  
> +(define-public python-pykka
> +  (package
> +    (name "python-pykka")
> +    (version "1.2.1")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (pypi-uri "Pykka" version))
> +       (sha256
> +        (base32
> +         "049w3r0mdnnw7xv19jiq7rvls9k7xs73x05b4qs5d6z4vvmgyiz8"))))
> +    (build-system python-build-system)
> +    (arguments
> +     `(#:tests? #f)) ; Testsuite fails for unspecified reasons.

It would be nice to have some more details here and a FIXME, so that
dedicated folks could fix this in the future.

> +    (home-page "https://www.pykka.org/")
> +    (synopsis "Pykka is a Python implementation of the actor model")
> +    (description
> +     "Pykka is a Python implementation of the actor model.
> +The actor model introduces some simple rules to control the sharing
> +of state and cooperation between execution units, which makes it
> +easier to build concurrent applications.")
> +    (license license:asl2.0)))
> +
> +(define-public python2-pykka
> +  (package-with-python2 python-pykka))
> +

Other than that the patch looks fine to me.  Could you provide a more
detailed explanation about the test failures?  Do all tests fail or just
some?  Any idea why they might fail?  Do they only fail when built by
Guix or also when building outside of a container?

-- 
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net





Information forwarded to guix-patches <at> gnu.org:
bug#25746; Package guix-patches. (Sat, 18 Feb 2017 20:19:02 GMT) Full text and rfc822 format available.

Message #14 received at 25746 <at> debbugs.gnu.org (full text, mbox):

From: ng0 <contact.ng0 <at> cryptolab.net>
To: Ricardo Wurmus <rekado <at> elephly.net>
Cc: 25746 <at> debbugs.gnu.org
Subject: Re: bug#25746: python-pykka
Date: Sat, 18 Feb 2017 20:20:51 +0000
On 17-02-18 14:24:40, Ricardo Wurmus wrote:
> 
> ng0 <contact.ng0 <at> cryptolab.net> writes:
> 
> >>From 5f04445d95ac22a98eb80038f6e087218f3cf369 Mon Sep 17 00:00:00 2001
> > From: ng0 <ng0 <at> we.make.ritual.n0.is>
> > Date: Mon, 17 Oct 2016 10:30:58 +0000
> > Subject: [PATCH] gnu: Add python-pykka.
> >
> > * gnu/packages/python.scm (python-pykka): New variable.
> > ---
> >  gnu/packages/python.scm | 26 ++++++++++++++++++++++++++
> >  1 file changed, 26 insertions(+)
> >
> > diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
> > index 3e59b5892..875149b74 100644
> > --- a/gnu/packages/python.scm
> > +++ b/gnu/packages/python.scm
> > @@ -2614,6 +2614,32 @@ somewhat intelligeble.")
> >  (define-public python2-pyjwt
> >    (package-with-python2 python-pyjwt))
> >  
> > +(define-public python-pykka
> > +  (package
> > +    (name "python-pykka")
> > +    (version "1.2.1")
> > +    (source
> > +     (origin
> > +       (method url-fetch)
> > +       (uri (pypi-uri "Pykka" version))
> > +       (sha256
> > +        (base32
> > +         "049w3r0mdnnw7xv19jiq7rvls9k7xs73x05b4qs5d6z4vvmgyiz8"))))
> > +    (build-system python-build-system)
> > +    (arguments
> > +     `(#:tests? #f)) ; Testsuite fails for unspecified reasons.
> 
> It would be nice to have some more details here and a FIXME, so that
> dedicated folks could fix this in the future.

I think it's safe to use a git checkout. No new features are being
added, it's being used in mopydi so an community of interest keeps it
alive, and one of the commits which happened this year - the first ones
after 2 years pause - looks like it fixes tests.
I'll give it a try.

> > +    (home-page "https://www.pykka.org/")
> > +    (synopsis "Pykka is a Python implementation of the actor model")
> > +    (description
> > +     "Pykka is a Python implementation of the actor model.
> > +The actor model introduces some simple rules to control the sharing
> > +of state and cooperation between execution units, which makes it
> > +easier to build concurrent applications.")
> > +    (license license:asl2.0)))
> > +
> > +(define-public python2-pykka
> > +  (package-with-python2 python-pykka))
> > +
> 
> Other than that the patch looks fine to me.  Could you provide a more
> detailed explanation about the test failures?  Do all tests fail or just
> some?  Any idea why they might fail?  Do they only fail when built by
> Guix or also when building outside of a container?
> 
> -- 
> Ricardo
> 
> GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
> https://elephly.net
> 

-- 
ng0 -- https://www.inventati.org/patternsinthechaos/




Information forwarded to guix-patches <at> gnu.org:
bug#25746; Package guix-patches. (Sun, 19 Feb 2017 11:30:02 GMT) Full text and rfc822 format available.

Message #17 received at 25746 <at> debbugs.gnu.org (full text, mbox):

From: ng0 <contact.ng0 <at> cryptolab.net>
To: Ricardo Wurmus <rekado <at> elephly.net>, 25746 <at> debbugs.gnu.org
Subject: Re: bug#25746: python-pykka
Date: Sun, 19 Feb 2017 11:31:23 +0000
On 17-02-18 20:20:51, ng0 wrote:
> On 17-02-18 14:24:40, Ricardo Wurmus wrote:
> > 
> > ng0 <contact.ng0 <at> cryptolab.net> writes:
> > 
> > >>From 5f04445d95ac22a98eb80038f6e087218f3cf369 Mon Sep 17 00:00:00 2001
> > > From: ng0 <ng0 <at> we.make.ritual.n0.is>
> > > Date: Mon, 17 Oct 2016 10:30:58 +0000
> > > Subject: [PATCH] gnu: Add python-pykka.
> > >
> > > * gnu/packages/python.scm (python-pykka): New variable.
> > > ---
> > >  gnu/packages/python.scm | 26 ++++++++++++++++++++++++++
> > >  1 file changed, 26 insertions(+)
> > >
> > > diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
> > > index 3e59b5892..875149b74 100644
> > > --- a/gnu/packages/python.scm
> > > +++ b/gnu/packages/python.scm
> > > @@ -2614,6 +2614,32 @@ somewhat intelligeble.")
> > >  (define-public python2-pyjwt
> > >    (package-with-python2 python-pyjwt))
> > >  
> > > +(define-public python-pykka
> > > +  (package
> > > +    (name "python-pykka")
> > > +    (version "1.2.1")
> > > +    (source
> > > +     (origin
> > > +       (method url-fetch)
> > > +       (uri (pypi-uri "Pykka" version))
> > > +       (sha256
> > > +        (base32
> > > +         "049w3r0mdnnw7xv19jiq7rvls9k7xs73x05b4qs5d6z4vvmgyiz8"))))
> > > +    (build-system python-build-system)
> > > +    (arguments
> > > +     `(#:tests? #f)) ; Testsuite fails for unspecified reasons.
> > 
> > It would be nice to have some more details here and a FIXME, so that
> > dedicated folks could fix this in the future.
> 
> I think it's safe to use a git checkout. No new features are being
> added, it's being used in mopydi so an community of interest keeps it
> alive, and one of the commits which happened this year - the first ones
> after 2 years pause - looks like it fixes tests.
> I'll give it a try.

I tried running the build using the git versions in the package
definition, and the python tests hang forever. I stopped after 3 - 5
hours:

phase `build' succeeded after 4.3 seconds
starting phase `check'
running "python setup.py" with command "test" and parameters ()
running test
running egg_info
creating Pykka.egg-info
writing Pykka.egg-info/PKG-INFO
writing dependency_links to Pykka.egg-info/dependency_links.txt
writing top-level names to Pykka.egg-info/top_level.txt
writing manifest file 'Pykka.egg-info/SOURCES.txt'
warning: manifest_maker: standard file '-c' not found

reading manifest file 'Pykka.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'Pykka.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'Pykka.egg-info/SOURCES.txt'
running build_ext
eventlet (unittest.loader._FailedTest) ... ERROR
gevent (unittest.loader._FailedTest) ... ERROR
test_actor_is_registered_when_started (tests.registry_test.ConcreteRegistryTest.<locals>.C) ... ok
test_actor_is_unregistered_when_stopped (tests.registry_test.ConcreteRegistryTest.<locals>.C) ... ok
test_actor_may_be_registered_manually (tests.registry_test.ConcreteRegistryTest.<locals>.C) ... ok
test_actor_may_be_unregistered_multiple_times_without_error (tests.registry_test.ConcreteRegistryTest.<locals>.C) ... ok
test_actors_may_be_looked_up_by_class (tests.registry_test.ConcreteRegistryTest.<locals>.C) ... ok
test_actors_may_be_looked_up_by_class_name (tests.registry_test.ConcreteRegistryTest.<locals>.C) ... ok
test_actors_may_be_looked_up_by_superclass (tests.registry_test.ConcreteRegistryTest.<locals>.C) ... ok
test_actors_may_be_looked_up_by_urn (tests.registry_test.ConcreteRegistryTest.<locals>.C) ... ok
test_all_actors_can_be_stopped_through_registry (tests.registry_test.ConcreteRegistryTest.<locals>.C) ... ok
test_broadcast_sends_message_to_all_actors_if_no_target (tests.registry_test.ConcreteRegistryTest.<locals>.C) ... ok
test_broadcast_sends_message_to_all_actors_of_given_class (tests.registry_test.ConcreteRegistryTest.<locals>.C) ... ok
test_broadcast_sends_message_to_all_actors_of_given_class_name (tests.registry_test.ConcreteRegistryTest.<locals>.C) ... ok
test_get_by_urn_returns_none_if_not_found (tests.registry_test.ConcreteRegistryTest.<locals>.C) ... ok
test_stop_all_stops_last_started_actor_first_if_blocking (tests.registry_test.ConcreteRegistryTest.<locals>.C) ... ok
test_can_call_method_that_was_added_at_runtime (tests.method_call_test.ThreadingDynamicMethodCallTest) ... ok
test_can_proxy_itself_and_use_attrs_added_at_runtime (tests.method_call_test.ThreadingDynamicMethodCallTest) ... ok
test_calling_unknown_method_raises_attribute_error (tests.method_call_test.ThreadingStaticMethodCallTest) ... ok
test_can_proxy_itself_for_offloading_work_to_the_future (tests.method_call_test.ThreadingStaticMethodCallTest) ... ok
test_functional_method_call_returns_correct_value (tests.method_call_test.ThreadingStaticMethodCallTest) ... ok
test_side_effect_of_method_is_observable (tests.method_call_test.ThreadingStaticMethodCallTest) ... ok
test_null_handler_is_added_to_avoid_warnings (tests.logging_test.LoggingNullHandlerTest) ... ok
test_base_exception_is_logged (tests.logging_test.ConcreteActorLoggingTest.<locals>.C) ...


The last one (test_base_exception_is_logged) is the one where it hangs.
I'm fairly sure it has to do with the previous failures of gevent and
eventlet, which is surprising as both are python3 core functions or at
least somehow existing within python3 and external modules of those are
only required on python2.

Without 'mopidy' https://github.com/mopidy I don't know if these
test failures are grave or just minor.
My idea is now to just use the tarball version, skip the tests, provide
a comment about it (upstream is also fixing issues again after some
hiatus) and package mopidy to have a proof of work.
I just wanted to drop the attempt of packaging mopidy but I'm curious
about these errors.

What do you think?

> > > +    (home-page "https://www.pykka.org/")
> > > +    (synopsis "Pykka is a Python implementation of the actor model")
> > > +    (description
> > > +     "Pykka is a Python implementation of the actor model.
> > > +The actor model introduces some simple rules to control the sharing
> > > +of state and cooperation between execution units, which makes it
> > > +easier to build concurrent applications.")
> > > +    (license license:asl2.0)))
> > > +
> > > +(define-public python2-pykka
> > > +  (package-with-python2 python-pykka))
> > > +
> > 
> > Other than that the patch looks fine to me.  Could you provide a more
> > detailed explanation about the test failures?  Do all tests fail or just
> > some?  Any idea why they might fail?  Do they only fail when built by
> > Guix or also when building outside of a container?
> > 
> > -- 
> > Ricardo
> > 
> > GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
> > https://elephly.net
> > 
> 
> -- 
> ng0 -- https://www.inventati.org/patternsinthechaos/
> 
> 
> 

-- 
ng0 -- https://www.inventati.org/patternsinthechaos/




Information forwarded to guix-patches <at> gnu.org:
bug#25746; Package guix-patches. (Sun, 19 Feb 2017 12:03:02 GMT) Full text and rfc822 format available.

Message #20 received at 25746 <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: ng0 <contact.ng0 <at> cryptolab.net>
Cc: 25746 <at> debbugs.gnu.org
Subject: Re: bug#25746: python-pykka
Date: Sun, 19 Feb 2017 13:02:01 +0100
ng0 <contact.ng0 <at> cryptolab.net> writes:

>> > > +    (arguments
>> > > +     `(#:tests? #f)) ; Testsuite fails for unspecified reasons.
>> > 
>> > It would be nice to have some more details here and a FIXME, so that
>> > dedicated folks could fix this in the future.

[…]

> I tried running the build using the git versions in the package
> definition, and the python tests hang forever. I stopped after 3 - 5
> hours:
[…]
> test_base_exception_is_logged (tests.logging_test.ConcreteActorLoggingTest.<locals>.C) ...
>
>
> The last one (test_base_exception_is_logged) is the one where it
> hangs.

How about disabling that one test then?

> Without 'mopidy' https://github.com/mopidy I don't know if these
> test failures are grave or just minor.

I don’t know how this relates to the rest of this patch.

> My idea is now to just use the tarball version, skip the tests

Using the official release is preferred, but I’d rather not skip all the
tests.  We rarely ever do this unless there are bootstrap issues.
Please try to disable just the hanging tests instead of the complete
test suite.

-- 
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net





Information forwarded to guix-patches <at> gnu.org:
bug#25746; Package guix-patches. (Sun, 19 Feb 2017 20:53:01 GMT) Full text and rfc822 format available.

Message #23 received at 25746 <at> debbugs.gnu.org (full text, mbox):

From: ng0 <contact.ng0 <at> cryptolab.net>
To: Ricardo Wurmus <rekado <at> elephly.net>
Cc: 25746 <at> debbugs.gnu.org
Subject: Re: bug#25746: python-pykka
Date: Sun, 19 Feb 2017 20:53:56 +0000
[Message part 1 (text/plain, inline)]
On 17-02-19 13:02:01, Ricardo Wurmus wrote:
> 
> ng0 <contact.ng0 <at> cryptolab.net> writes:
> 
> >> > > +    (arguments
> >> > > +     `(#:tests? #f)) ; Testsuite fails for unspecified reasons.
> >> > 
> >> > It would be nice to have some more details here and a FIXME, so that
> >> > dedicated folks could fix this in the future.
> 
> […]
> 
> > I tried running the build using the git versions in the package
> > definition, and the python tests hang forever. I stopped after 3 - 5
> > hours:
> […]
> > test_base_exception_is_logged (tests.logging_test.ConcreteActorLoggingTest.<locals>.C) ...
> >
> >
> > The last one (test_base_exception_is_logged) is the one where it
> > hangs.
> 
> How about disabling that one test then?
> 
> > Without 'mopidy' https://github.com/mopidy I don't know if these
> > test failures are grave or just minor.
> 
> I don’t know how this relates to the rest of this patch.
> 
> > My idea is now to just use the tarball version, skip the tests
> 
> Using the official release is preferred, but I’d rather not skip all the
> tests.  We rarely ever do this unless there are bootstrap issues.
> Please try to disable just the hanging tests instead of the complete
> test suite.
> 
> -- 
> Ricardo
> 
> GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
> https://elephly.net
> 

I fixed it, patches are appended as git send-email is still broken since 82de2655a16dcc7a8e3b992b4afd34ec32c244a6. 
[0001-gnu-Add-python-eventlet.patch (text/plain, attachment)]
[0002-gnu-Add-python-pykka.patch (text/plain, attachment)]

Information forwarded to guix-patches <at> gnu.org:
bug#25746; Package guix-patches. (Thu, 02 Mar 2017 19:17:01 GMT) Full text and rfc822 format available.

Message #26 received at 25746 <at> debbugs.gnu.org (full text, mbox):

From: Kei Kebreau <kei <at> openmailbox.org>
To: Ricardo Wurmus <rekado <at> elephly.net>
Cc: 25746 <at> debbugs.gnu.org
Subject: Re: bug#25746: python-pykka
Date: Thu, 02 Mar 2017 14:16:26 -0500
[Message part 1 (text/plain, inline)]
ng0 <contact.ng0 <at> cryptolab.net> writes:

> On 17-02-19 13:02:01, Ricardo Wurmus wrote:
>> 
>> ng0 <contact.ng0 <at> cryptolab.net> writes:
>> 
>> >> > > +    (arguments
>> >> > > +     `(#:tests? #f)) ; Testsuite fails for unspecified reasons.
>> >> > 
>> >> > It would be nice to have some more details here and a FIXME, so that
>> >> > dedicated folks could fix this in the future.
>> 
>> […]
>> 
>> > I tried running the build using the git versions in the package
>> > definition, and the python tests hang forever. I stopped after 3 - 5
>> > hours:
>> […]
>> > test_base_exception_is_logged (tests.logging_test.ConcreteActorLoggingTest.<locals>.C) ...
>> >
>> >
>> > The last one (test_base_exception_is_logged) is the one where it
>> > hangs.
>> 
>> How about disabling that one test then?
>> 
>> > Without 'mopidy' https://github.com/mopidy I don't know if these
>> > test failures are grave or just minor.
>> 
>> I don’t know how this relates to the rest of this patch.
>> 
>> > My idea is now to just use the tarball version, skip the tests
>> 
>> Using the official release is preferred, but I’d rather not skip all the
>> tests.  We rarely ever do this unless there are bootstrap issues.
>> Please try to disable just the hanging tests instead of the complete
>> test suite.
>> 
>> -- 
>> Ricardo
>> 
>> GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
>> https://elephly.net
>> 
>
> I fixed it, patches are appended as git send-email is still broken since 82de2655a16dcc7a8e3b992b4afd34ec32c244a6. 

Looks good! Pushed as de959250411830584366a0397367032f10c3c352 and
a80488c20481e2a86a1808b85530342cf119b424 to master.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#25746; Package guix-patches. (Thu, 02 Mar 2017 19:34:01 GMT) Full text and rfc822 format available.

Message #29 received at 25746 <at> debbugs.gnu.org (full text, mbox):

From: Marius Bakke <mbakke <at> fastmail.com>
To: Kei Kebreau <kei <at> openmailbox.org>, Ricardo Wurmus <rekado <at> elephly.net>
Cc: 25746 <at> debbugs.gnu.org
Subject: Re: bug#25746: python-pykka
Date: Thu, 02 Mar 2017 20:33:29 +0100
[Message part 1 (text/plain, inline)]
Kei Kebreau <kei <at> openmailbox.org> writes:

> ng0 <contact.ng0 <at> cryptolab.net> writes:
>
>> On 17-02-19 13:02:01, Ricardo Wurmus wrote:
>>> 
>>> ng0 <contact.ng0 <at> cryptolab.net> writes:
>>> 
>>> >> > > +    (arguments
>>> >> > > +     `(#:tests? #f)) ; Testsuite fails for unspecified reasons.
>>> >> > 
>>> >> > It would be nice to have some more details here and a FIXME, so that
>>> >> > dedicated folks could fix this in the future.
>>> 
>>> […]
>>> 
>>> > I tried running the build using the git versions in the package
>>> > definition, and the python tests hang forever. I stopped after 3 - 5
>>> > hours:
>>> […]
>>> > test_base_exception_is_logged (tests.logging_test.ConcreteActorLoggingTest.<locals>.C) ...
>>> >
>>> >
>>> > The last one (test_base_exception_is_logged) is the one where it
>>> > hangs.
>>> 
>>> How about disabling that one test then?
>>> 
>>> > Without 'mopidy' https://github.com/mopidy I don't know if these
>>> > test failures are grave or just minor.
>>> 
>>> I don’t know how this relates to the rest of this patch.
>>> 
>>> > My idea is now to just use the tarball version, skip the tests
>>> 
>>> Using the official release is preferred, but I’d rather not skip all the
>>> tests.  We rarely ever do this unless there are bootstrap issues.
>>> Please try to disable just the hanging tests instead of the complete
>>> test suite.
>>> 
>>> -- 
>>> Ricardo
>>> 
>>> GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
>>> https://elephly.net
>>> 
>>
>> I fixed it, patches are appended as git send-email is still broken since 82de2655a16dcc7a8e3b992b4afd34ec32c244a6. 
>
> Looks good! Pushed as de959250411830584366a0397367032f10c3c352 and
> a80488c20481e2a86a1808b85530342cf119b424 to master.

Please note that the tests for both variants of python-eventlet are
currently soft failing, and this package won't build when #25177 is
merged.

starting phase `check'
running "python setup.py" with command "test" and parameters ()
running test
Searching for enum-compat
Reading https://pypi.python.org/simple/enum-compat/
Download error on https://pypi.python.org/simple/enum-compat/: [Errno -2] Name or service not known -- Some packages may not be found!
Couldn't find index page for 'enum-compat' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading https://pypi.python.org/simple/
Download error on https://pypi.python.org/simple/: [Errno -2] Name or service not known -- Some packages may not be found!
No local packages or download links found for enum-compat
error: Could not find suitable distribution for Requirement.parse('enum-compat')
phase `check' succeeded after 0.8 seconds

"python-pykka" has a different error and will also fail after #25177.

starting phase `check'
running "python setup.py" with command "test" and parameters ()
running test
running egg_info
writing dependency_links to Pykka.egg-info/dependency_links.txt
writing Pykka.egg-info/PKG-INFO
writing top-level names to Pykka.egg-info/top_level.txt
warning: manifest_maker: standard file '-c' not found

reading manifest file 'Pykka.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
no previously-included directories found matching 'docs/_build'
writing manifest file 'Pykka.egg-info/SOURCES.txt'
running build_ext
error: protocol not found
phase `check' succeeded after 1.1 seconds

Can someone look into it?

I also noticed errors in the `install` phase of some python2 variants,
I wonder if we might have the same problem there...

byte-compiling /gnu/store/rnbyh8fp8n5canv1jxi2r0140b8ani3s-python2-eventlet-0.20.1/lib/python2.7/site-packages/eventlet/green/http/cookiejar.py to cookiejar.pyc
  File "gnu/store/rnbyh8fp8n5canv1jxi2r0140b8ani3s-python2-eventlet-0.20.1/lib/python2.7/site-packages/eventlet/green/http/cookiejar.py", line 1269
    yield from deepvalues(obj)
             ^
SyntaxError: invalid syntax
[signature.asc (application/pgp-signature, inline)]

Reply sent to ng0 <contact.ng0 <at> cryptolab.net>:
You have taken responsibility. (Thu, 02 Mar 2017 20:28:01 GMT) Full text and rfc822 format available.

Notification sent to ng0 <contact.ng0 <at> cryptolab.net>:
bug acknowledged by developer. (Thu, 02 Mar 2017 20:28:02 GMT) Full text and rfc822 format available.

Message #34 received at 25746-done <at> debbugs.gnu.org (full text, mbox):

From: ng0 <contact.ng0 <at> cryptolab.net>
To: Marius Bakke <mbakke <at> fastmail.com>
Cc: Ricardo Wurmus <rekado <at> elephly.net>, 25746-done <at> debbugs.gnu.org,
 Kei Kebreau <kei <at> openmailbox.org>
Subject: Re: bug#25746: python-pykka
Date: Thu, 2 Mar 2017 20:27:19 +0000
On 17-03-02 20:33:29, Marius Bakke wrote:
> Kei Kebreau <kei <at> openmailbox.org> writes:
> 
> > ng0 <contact.ng0 <at> cryptolab.net> writes:
> >
> >> On 17-02-19 13:02:01, Ricardo Wurmus wrote:
> >>> 
> >>> ng0 <contact.ng0 <at> cryptolab.net> writes:
> >>> 
> >>> >> > > +    (arguments
> >>> >> > > +     `(#:tests? #f)) ; Testsuite fails for unspecified reasons.
> >>> >> > 
> >>> >> > It would be nice to have some more details here and a FIXME, so that
> >>> >> > dedicated folks could fix this in the future.
> >>> 
> >>> […]
> >>> 
> >>> > I tried running the build using the git versions in the package
> >>> > definition, and the python tests hang forever. I stopped after 3 - 5
> >>> > hours:
> >>> […]
> >>> > test_base_exception_is_logged (tests.logging_test.ConcreteActorLoggingTest.<locals>.C) ...
> >>> >
> >>> >
> >>> > The last one (test_base_exception_is_logged) is the one where it
> >>> > hangs.
> >>> 
> >>> How about disabling that one test then?
> >>> 
> >>> > Without 'mopidy' https://github.com/mopidy I don't know if these
> >>> > test failures are grave or just minor.
> >>> 
> >>> I don’t know how this relates to the rest of this patch.
> >>> 
> >>> > My idea is now to just use the tarball version, skip the tests
> >>> 
> >>> Using the official release is preferred, but I’d rather not skip all the
> >>> tests.  We rarely ever do this unless there are bootstrap issues.
> >>> Please try to disable just the hanging tests instead of the complete
> >>> test suite.
> >>> 
> >>> -- 
> >>> Ricardo
> >>> 
> >>> GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
> >>> https://elephly.net
> >>> 
> >>
> >> I fixed it, patches are appended as git send-email is still broken since 82de2655a16dcc7a8e3b992b4afd34ec32c244a6. 
> >
> > Looks good! Pushed as de959250411830584366a0397367032f10c3c352 and
> > a80488c20481e2a86a1808b85530342cf119b424 to master.

Thanks Kei! Closing this patch-bug.

> Please note that the tests for both variants of python-eventlet are
> currently soft failing, and this package won't build when #25177 is
> merged.
> 
> starting phase `check'
> running "python setup.py" with command "test" and parameters ()
> running test
> Searching for enum-compat
> Reading https://pypi.python.org/simple/enum-compat/
> Download error on https://pypi.python.org/simple/enum-compat/: [Errno -2] Name or service not known -- Some packages may not be found!
> Couldn't find index page for 'enum-compat' (maybe misspelled?)
> Scanning index of all packages (this may take a while)
> Reading https://pypi.python.org/simple/
> Download error on https://pypi.python.org/simple/: [Errno -2] Name or service not known -- Some packages may not be found!
> No local packages or download links found for enum-compat
> error: Could not find suitable distribution for Requirement.parse('enum-compat')
> phase `check' succeeded after 0.8 seconds
> 
> "python-pykka" has a different error and will also fail after #25177.
> 
> starting phase `check'
> running "python setup.py" with command "test" and parameters ()
> running test
> running egg_info
> writing dependency_links to Pykka.egg-info/dependency_links.txt
> writing Pykka.egg-info/PKG-INFO
> writing top-level names to Pykka.egg-info/top_level.txt
> warning: manifest_maker: standard file '-c' not found
> 
> reading manifest file 'Pykka.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> no previously-included directories found matching 'docs/_build'
> writing manifest file 'Pykka.egg-info/SOURCES.txt'
> running build_ext
> error: protocol not found
> phase `check' succeeded after 1.1 seconds

Yeah this is what I experienced as failure before using the git
checkout. The git checkout hangs for different reasons.

> Can someone look into it?
> 
> I also noticed errors in the `install` phase of some python2 variants,
> I wonder if we might have the same problem there...
> 
> byte-compiling /gnu/store/rnbyh8fp8n5canv1jxi2r0140b8ani3s-python2-eventlet-0.20.1/lib/python2.7/site-packages/eventlet/green/http/cookiejar.py to cookiejar.pyc
>   File "gnu/store/rnbyh8fp8n5canv1jxi2r0140b8ani3s-python2-eventlet-0.20.1/lib/python2.7/site-packages/eventlet/green/http/cookiejar.py", line 1269
>     yield from deepvalues(obj)
>              ^
> SyntaxError: invalid syntax






bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 31 Mar 2017 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 8 years and 79 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.