Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #10851
| Path | csiph.com!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | teng zhaozhi <freet15@gmail.com> |
| Newsgroups | linux.debian.maint.python |
| Subject | Re: Byte-compilation for pypy3 |
| Date | Mon, 27 Aug 2018 07:50:02 +0200 |
| Message-ID | <wrizw-2S5-1@gated-at.bofh.it> (permalink) |
| References | <wrf8B-Ua-1@gated-at.bofh.it> |
| X-Original-To | debian-python@lists.debian.org |
| X-Mailbox-Line | From debian-python-request@lists.debian.org Mon Aug 27 05:40:34 2018 |
| Old-Return-Path | <freet15@gmail.com> |
| X-Amavis-Spam-Status | No, score=-0.349 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, BODY_8BITS=1.5, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, EMPTY_BODY=3, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=2, LDO_WHITELIST=-5, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=no autolearn_force=no |
| X-Policyd-Weight | NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_BL_NJABL=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .gmail. - helo: .mail-wm0-x22d.google. - helo-domain: .google.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -7 |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=cmoAJjeq55eNo/C2eb4h8sw6HgpQ0lf6IRvAEaW4heE=; b=oFlF25/s7dv1yfoNNWxNf/8uy2m+xoa5+2nV4Pa5KwkR+XLNAQke6wwBmutKVITcDc XqLP9qpxDZb/5SOatUAr/HyNNKTWoEVZ9PdWrzJqBw+jPwSOYNSoJh8hyUOXPrfKzcEi +RrEobYjAAhbxW5640j0XIBGBBpvImqx+cEbnbzSOIXmgeCY5uH7L2edHgI38z2Lerff BF7cIzvDsalSqUpNxRvHVYDNJA3OeFi4xQpcBXL91HwUxphhoTm3UU2Opz4B0zoBX8/2 2bEg8lvSlwot6lKVYTYxtnjFrfk1RJLk9a/q/1WVKx+y1+xB6HPBpQu3jmUEdUp4MNnb 8XCA== |
| X-Google-Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=cmoAJjeq55eNo/C2eb4h8sw6HgpQ0lf6IRvAEaW4heE=; b=OZkULEug8H32pLH8Xw9NhPhUBLN7UcpoFA0ySqq5fAVgrcLzk4xyMeznY6l37oXFl6 MZQMZrn4a4foeE48eEPYa6v5xBC9FvcfIWwGddeYC8RRBUgMA/JkFuPWeJPPpRkgWmYx pJFO4boQQCGyOGgpaUAHN36n+bCo0CF8vpD5/x4UPsHRUdLpvQnVxP65jqACKynDN+eT wC9AQ3x4/MsPJj9jYqp5hmyfWjeq62y+8Oi3zA4AScX4JWbEMDqcEUz/xyouqILbaQnh jd0ZpnrIJnx5mxqnZ8nJvBcyxe8tzjmsoRE759m94w4aIS8D2xhCY9jOInNnVaAKd/0e ozVw== |
| X-Gm-Message-State | APzg51AJid7sqDx5Jn22D+YYQhD8zOQVIZBohFr6+nDkT0mm/kVKU+yE wfZ+Adw877vS63T64529c2pL7nrtKgsdjc+0dnwuj8Gk |
| X-Google-SMTP-Source | ANB0VdaJy1inUDiw1OGYCHTvgA9+Gu4NQRqF0JtGypPLXEVV6KGspbdyMXweOC5Y8TAwsAWqKeZY01phXwB7vhge48Q= |
| X-Received | by 2002:a1c:4182:: with SMTP id o124-v6mr4452156wma.101.1535348416184; Sun, 26 Aug 2018 22:40:16 -0700 (PDT) |
| MIME-Version | 1.0 |
| Content-Type | multipart/alternative; boundary="000000000000f4088305746428fc" |
| X-Mailing-List | <debian-python@lists.debian.org> archive/latest/16273 |
| List-ID | <debian-python.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-python/> |
| List-Archive | https://lists.debian.org/msgid-search/CAKuTEWA7mhWR5hCfifQORg18hMx5j6hb=A4R1rpERhV26GTC9g@mail.gmail.com |
| Approved | robomod@news.nic.it |
| Lines | 139 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Date | Mon, 27 Aug 2018 13:40:04 +0800 |
| X-Original-Message-ID | <CAKuTEWA7mhWR5hCfifQORg18hMx5j6hb=A4R1rpERhV26GTC9g@mail.gmail.com> |
| X-Original-References | <20180827015556.a7us7rxxkv6thflt@bach.rivera.co.za> |
| Xref | csiph.com linux.debian.maint.python:10851 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
Unsubscribed
On Mon, Aug 27, 2018 at 10:04 AM Stefano Rivera <stefanor@debian.org> wrote:
> So, I've had some pypy3 packages sitting around for a while, and the
> main thing that's stopped me from uploading, is figuring out a plan for
> byte-compilation.
>
> If it's sharing /usr/lib/python3/dist-packages with cPython (which it
> currently is) then we should figure out a plat for byte-compiling for
> it.
>
> rtupdate and postinst / prerm hooks for python3 packages currently call
> py3{compile,clean} which only operates on cpython3.
>
> Options I can think of:
> 1. Ignore byte-compilation entirely.
> 2. Change py3{compile,clean} to call pypy3{compile,clean} too.
> And do some extra compiling / cleaning when pypy3 is installed and
> removed.
> 3. Change py3{compile,clean} to do the work of pypy3{compile,clean} too.
> And do some extra compiling / cleaning when pypy3 is installed and
> removed.
> 4. Change the snipets dh_python3 generates, to include
> pypy3{compile,clean}, when they exist. And again, do the extra
> compiling / cleanup.
> 5. Something else?
>
> 3 *seems* like the right option - py3{compile,clean} supports a range of
> cpython versions, already. But I'm not really sure.
>
> Here's what I've got:
> https://salsa.debian.org/debian/pypy3
> https://people.debian.org/~stefanor/pypy3/
>
> Other TODOs that need some attention but possibly aren't blocking an
> upload to unstable:
> * test failures and errors
> * import paths aren't quite right, yet, e.g.:
> - setup.py install installs to a /usr/local path that isn't on
> sys.path
> - plat-linux2 is on sys.path, but doesn't exist
>
> SR
>
> --
> Stefano Rivera
> http://tumbleweed.org.za/
> +1 415 683 3272
>
>
--
Kind regards
滕召智 (Ben teng)
Cell: 13381221392
MSN: freet15@hotmail.com
Skype: freet15
Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Byte-compilation for pypy3 Stefano Rivera <stefanor@debian.org> - 2018-08-27 04:10 +0200
Re: Byte-compilation for pypy3 teng zhaozhi <freet15@gmail.com> - 2018-08-27 07:50 +0200
Re: Byte-compilation for pypy3 Piotr Ożarowski <piotr@debian.org> - 2018-08-27 11:10 +0200
Re: Byte-compilation for pypy3 Piotr Ożarowski <piotr@debian.org> - 2018-08-27 11:20 +0200
Re: Byte-compilation for pypy3 Piotr Ożarowski <piotr@debian.org> - 2018-08-27 11:20 +0200
Re: Byte-compilation for pypy3 Stefano Rivera <stefanor@debian.org> - 2018-08-27 18:10 +0200
Re: Byte-compilation for pypy3 Piotr Ożarowski <piotr@debian.org> - 2018-09-28 00:00 +0200
csiph-web