Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #9777

Re: RFS: jupyter components

Path csiph.com!news.redatomik.org!aioe.org!bofh.it!news.nic.it!robomod
From Julien Puydt <julien.puydt@laposte.net>
Newsgroups linux.debian.maint.python
Subject Re: RFS: jupyter components
Date Mon, 04 Sep 2017 17:10:02 +0200
Message-ID <um1aG-74E-7@gated-at.bofh.it> (permalink)
References <ujARj-2QC-7@gated-at.bofh.it> <ulPsR-88t-5@gated-at.bofh.it> <ulVeV-3eZ-3@gated-at.bofh.it>
X-Original-To Gordon Ball <gordon@chronitis.net>
X-Mailbox-Line From debian-python-request@lists.debian.org Mon Sep 4 15:08:43 2017
Old-Return-Path <julien.puydt@laposte.net>
X-Amavis-Spam-Status No, score=-7.079 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, LDO_WHITELIST=-5, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-0.001, SARE_FREE_WEBM_LAPOSTE=0.721] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -6.2
Dkim-Signature v=1; a=rsa-sha256; c=simple/simple; d=laposte.net; s=mail0; t=1504537703; bh=ZUm2tBoOpZoEtejC7h0dcL1MJ+ntnvs0eBZmwy4MOdw=; h=Subject:To:Cc:References:From:Date:In-Reply-To; b=ao2k7l1mMlgmcU+BzZ7bWgb4WO2+EjoIFuz1lbLcTTyNvIXN38GUtv9D1jrlXrylf dc3PaQ4MrPWgN4xJ4kFMCz2Yi1h0ZuUBph6+GwLpzQGwNMpSvQCbtoIQrIx9haqlox FclIUl9H7/E/xTvUtnT1+x1h5M9J/Sh0HUCU275AzY+97rlJXNgO8Ij525th2PMOfn uuKT91AKgfk+/kWV2xPT/negivoJcHi3LETCt3zOBp+pWHqeIZi7wYAXrKm2szpeii xyksll7Box6hng2kjGb9+KnRSERMAKQlqNh9XewBxJiFwEfYorDhLdk/wi1fz6xS2V jHmBgJqwzixpA==
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0
MIME-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Language fr
Content-Transfer-Encoding 8bit
X-Vr-Srcip 78.203.229.6
X-Vr-Score -100
X-Vr-Cause-1 gggruggvucftvghtrhhoucdtuddrfeelledrvdeigdekkecutefuodetggdotefrodftvfcurfhrohhf
X-Vr-Cause-2 ihhlvgemucfntefrqffuvffgnecuuegrihhlohhuthemucehtddtnecusecvtfgvtghiphhivghnthhs
X-Vr-Cause-3 ucdlqddutddtmdenucfjughrpefuvfhfhffkffgfgggjtgfgsehtkeertddtfeejnecuhfhrohhmpefl
X-Vr-Cause-4 uhhlihgvnhcurfhuhiguthcuoehjuhhlihgvnhdrphhuhigutheslhgrphhoshhtvgdrnhgvtheqnecu
X-Vr-Cause-5 kfhppeejkedrvddtfedrvddvledrieenucfrrghrrghmpehmohguvgepshhmthhpohhuthdphhgvlhho
X-Vr-Cause-6 pegludelvddrudeikedruddrhegnpdhinhgvthepjeekrddvtdefrddvvdelrdeipdhmrghilhhfrhho
X-Vr-Cause-7 mhepjhhulhhivghnrdhpuhihughtsehlrghpohhsthgvrdhnvghtpdhrtghpthhtohepghhorhguohhn
X-Vr-Cause-8 segthhhrohhnihhtihhsrdhnvght
X-Vr-Avstate No
X-Mailing-List <debian-python@lists.debian.org> archive/latest/15159
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/57449223-48c2-fad1-321c-bc0cc40e86d8@laposte.net
Approved robomod@news.nic.it
Lines 59
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc debian-python <debian-python@lists.debian.org>
X-Original-Date Mon, 4 Sep 2017 17:08:22 +0200
X-Original-Message-ID <57449223-48c2-fad1-321c-bc0cc40e86d8@laposte.net>
X-Original-References <dec96b6c-3f49-f8b6-427f-bc7dade9b35c@chronitis.net> <74a84040-f45a-436a-c7ed-a60911337bd3@laposte.net> <alpine.DEB.2.20.1709040833020.16657@emissary.chronitis.net>
Xref csiph.com linux.debian.maint.python:9777

Show key headers only | View raw


Hi,

Le 04/09/2017 à 10:49, Gordon Ball a écrit :
> On Mon, 4 Sep 2017, Julien Puydt wrote:
>> Hi,
>>
>> Le 28/08/2017 à 23:56, Gordon Ball a écrit :
>>
>>>  * nbconvert: 5.2.1
>>>
>>>    waiting on python-pandocfilters >= 1.4 (already in dpmt git, but
>>>    not yet uploaded)
>>
>> I updated it to latest upstream -- the build doesn't fail because of
>> python-pandocfilters afaict, but because for some reason entrypoints
>> don't get activated correctly. I still pushed my changes because I'm
>> sure I'm just missing something stupid...
> 
> Yes - sorry, should have added some more text for this one. I didn't
> find a solution to entry_points not working during dh_auto_test, so my
> solution to that was to disable the build-time test and run it instead
> as an installed autopkgtest, for which entry_points should work correctly.

In fact, I spend a good amount of time investigating the issue :
setuptools only create the text file creating the entry points when
installing, not when building -- so I think it's best to disable
build-time tests and rely on autopkgtest to save ourselves afterwards.

Let me override-kill the autotest step.

> The issue with pandocfilters arose because I always run autopkgtest as a
> build step, but while there is an easy way of getting sbuild to use
> other locally built packages (--extra-package=/dir/containing/debs), I
> haven't found a way of getting autopkgtest to do the same - so I can
> satisfy build dependencies with extra, locally-built packages, but not
> the autopkgtest dependencies.

Here is how to setup things so it's easier to use local packages
(something I do a lot for my javascript experiments...) :
1. put your updated packages in some directory then make it a real
repository ( /usr/bin/apt-ftparchive packages . > Packages )
2. mount that somewhere under /repo in the schroot (add a line to
/etc/schroot/sbuild/fstab)
3. add "deb [trusted=yes] file:///repo ./" to your sources.list *within
the schroot*
4. now you can do something like "autopkgtest my-package_3.14-159.dsc --
schroot unstable-amd64-sbuild" to test your package!

Of course, it's easy to write a script which will update the list of
packages in the repo then call autopkgtest on $1 with the right options.
> Has anyone else encountered the issue with tests which rely on
> entry_points and how to make them work during dh_auto_test? Presumably
> there must be some environment/pybuild magic which will make them look
> in the right place.

See above : there's no right place since entry_points.txt isn't built
before installing!

Snark

Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

RFS: jupyter components Gordon Ball <gordon@chronitis.net> - 2017-08-29 00:50 +0200
  Re: RFS: jupyter components Julien Puydt <julien.puydt@laposte.net> - 2017-09-04 04:40 +0200
    Re: RFS: jupyter components Gordon Ball <gordon@chronitis.net> - 2017-09-04 10:50 +0200
      Re: RFS: jupyter components Julien Puydt <julien.puydt@laposte.net> - 2017-09-04 17:10 +0200
        Re: RFS: jupyter components Julien Puydt <julien.puydt@laposte.net> - 2017-09-04 18:20 +0200
          Re: RFS: jupyter components Julien Puydt <julien.puydt@laposte.net> - 2017-09-04 19:30 +0200
            Re: RFS: jupyter components Gordon Ball <gordon@chronitis.net> - 2017-09-04 19:50 +0200
  Re: RFS: jupyter components Julien Puydt <julien.puydt@laposte.net> - 2017-09-08 18:50 +0200
    Re: RFS: jupyter components Gordon Ball <gordon@chronitis.net> - 2017-10-13 01:00 +0200
  Re: RFS: jupyter components Adam Cecile <acecile@le-vert.net> - 2017-10-17 13:40 +0200
    Re: RFS: jupyter components Gordon Ball <gordon@chronitis.net> - 2017-10-17 21:40 +0200
      Re: RFS: jupyter components Diane Trout <diane@ghic.org> - 2017-10-25 21:20 +0200
        Re: RFS: jupyter components Julien Puydt <julien.puydt@laposte.net> - 2017-10-25 22:00 +0200
          Re: RFS: jupyter components Gordon Ball <gordon@chronitis.net> - 2017-10-25 22:30 +0200
            Re: RFS: jupyter components Diane Trout <diane@ghic.org> - 2017-10-25 23:00 +0200
            Re: RFS: jupyter components Diane Trout <diane@ghic.org> - 2017-10-25 23:40 +0200
            Re: RFS: jupyter components Diane Trout <diane@ghic.org> - 2017-10-26 00:10 +0200

csiph-web