Adding python3-typing binary package (Was: ruamel.yaml backport)
Hi Hans-Christoph,
On Thu, May 18, 2017 at 12:38:23PM +0200, Hans-Christoph Steiner wrote:
>
>
> Andreas Tille:
> > On Wed, May 17, 2017 at 11:02:20PM +0200, Hans-Christoph Steiner wrote:
> >>> __________________________________________________ ERROR collecting
> >>> src/test_typing.py __________________________________________________
> >>> import file mismatch:
> >>> imported module 'test_typing' has this __file__ attribute:
> >>> /export/share/code/collab-maint/python-typing/python2/test_typing.py
> >>> which is not the same as the test file we want to collect:
> >>> /export/share/code/collab-maint/python-typing/src/test_typing.py
> >>> HINT: remove __pycache__ / .pyc files and/or use a unique basename for
> >>> your test file modules
> >>> ================================================== 136 passed, 1 error
> >>> in 0.17 seconds ==================================================
> >>
> >> Ok, I figured it out, I needed to do this in debian/rules:
> >>
> >> override_dh_auto_test:
> >> python2 -m pytest python2/
> >> python3 -m pytest src/
> >>
> >> So I'll work with the maintainer to get this into sid, then work on the
> >> backport.
>
> Yeah, I just realized that there is no need to have python3-typing in
> stretch or sid since the typing module is already provided by Python >= 3.5.
>
> The patch is attached. Thanks for the upload!
Ahhh, sorry, I was not aware that we need to introduce a new binary
package of python-typing. This surely needs confirmation of backport
ftpmasters. I have no idea whether this can be done.
BTW, next time please provide a *minimal* patch not changing line spacing
nor changing debhelper compat level.
Kind regards
Andreas.
--
http://fam-tille.de
Reply to: