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


Groups > linux.debian.maint.python > #10499 > unrolled thread

input into perl 6 packaging required

Started byRobert Lemmen <robertle@semistable.com>
First post2018-05-05 21:30 +0200
Last post2018-05-07 12:00 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.debian.maint.python


Contents

  input into perl 6 packaging required Robert Lemmen <robertle@semistable.com> - 2018-05-05 21:30 +0200
    Re: input into perl 6 packaging required Dmitry Shachnev <mitya57@debian.org> - 2018-05-07 12:00 +0200

#10499 — input into perl 6 packaging required

FromRobert Lemmen <robertle@semistable.com>
Date2018-05-05 21:30 +0200
Subjectinput into perl 6 packaging required
Message-ID<vMb2C-1bg-7@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

hi folks,

we are currently thinking about how to package perl 6 modules, some
background and information at https://wiki.debian.org/Perl6PreCompProposal

Perl 6 does pre-compile modules on loading, a bit like the .pyc files.
So I would be very glad if you could have a quick look at the wiki page
above, perhaps you experience could help us. I am also specifically
interested in your decision to create the .pyc files at package
installation time, rather than at package build time. What was the
reason for that? Do you still think it was the right decision? In the
case of perl 6 the precompiled files depend on a fairly specific version
of the runtime, so we would need to re-build them quite often...

thanks  robert

-- 
Robert Lemmen                               http://www.semistable.com 

[toc] | [next] | [standalone]


#10502

FromDmitry Shachnev <mitya57@debian.org>
Date2018-05-07 12:00 +0200
Message-ID<vML62-7Zo-7@gated-at.bofh.it>
In reply to#10499

[Multipart message — attachments visible in raw view] — view raw

Hi Robert!

On Sat, May 05, 2018 at 09:21:28PM +0200, Robert Lemmen wrote:
> hi folks,
>
> we are currently thinking about how to package perl 6 modules, some
> background and information at https://wiki.debian.org/Perl6PreCompProposal
>
> Perl 6 does pre-compile modules on loading, a bit like the .pyc files.
> So I would be very glad if you could have a quick look at the wiki page
> above, perhaps you experience could help us. I am also specifically
> interested in your decision to create the .pyc files at package
> installation time, rather than at package build time. What was the
> reason for that? Do you still think it was the right decision? In the
> case of perl 6 the precompiled files depend on a fairly specific version
> of the runtime, so we would need to re-build them quite often...

I think the main reasons for generating .pyc files at install time were:

- Ability to ship “Architecture: all” packages, which reduces load on
  build daemons, mirrors, etc.

- Ability to regenerate all .pyc files for new Python version on users’
  side (it does not take a long time), without need to do binNMUs or
  re-uploads.

And I think it was the right decision, as these reasons still apply.

--
Dmitry Shachnev

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.maint.python


csiph-web