Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #11082
| Path | csiph.com!goblin1!goblin3!goblin.stu.neva.ru!news.szaf.org!news.unit0.net!newsfeed.CARNet.hr!news.spin.it!bofh.it!news.nic.it!robomod |
|---|---|
| From | Nicolas Dandrimont <olasd@debian.org> |
| Newsgroups | linux.debian.maint.python |
| Subject | Re: Allow installation on buster of a package not supporting 3.7 (async/await syntax error when generating bytecode) |
| Date | Thu, 08 Nov 2018 14:40:01 +0100 |
| Message-ID | <wRSHn-40q-9@gated-at.bofh.it> (permalink) |
| References | <wRNRn-17G-1@gated-at.bofh.it> |
| X-Mailbox-Line | From debian-python-request@lists.debian.org Thu Nov 8 13:31:31 2018 |
| Old-Return-Path | <olasd@olasd.eu> |
| X-Amavis-Spam-Status | No, score=-11.651 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, FOURLA=0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, LDO_WHITELIST=-5, PGPSIGNATURE=-5] autolearn=ham autolearn_force=no |
| X-Policyd-Weight | using cached result; rate: -6.1 |
| MIME-Version | 1.0 |
| Content-Type | multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="x7syezsoquav3hly" |
| Content-Disposition | inline |
| User-Agent | NeoMutt/20170113 (1.7.2) |
| X-Mailing-List | <debian-python@lists.debian.org> archive/latest/16517 |
| List-ID | <debian-python.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-python/> |
| List-Archive | https://lists.debian.org/msgid-search/20181108132607.snjar3ygz5pyfuln@werner.olasd.eu |
| Approved | robomod@news.nic.it |
| Lines | 60 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Cc | debian-python@lists.debian.org |
| X-Original-Date | Thu, 8 Nov 2018 14:26:07 +0100 |
| X-Original-Message-ID | <20181108132607.snjar3ygz5pyfuln@werner.olasd.eu> |
| X-Original-References | <774a47d71fa3fcf88b0ab6d17cfd4cd9@le-vert.net> |
| Xref | csiph.com linux.debian.maint.python:11082 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
Hi! * Adam Cécile <acecile@le-vert.net> [2018-11-08 09:15:59 +0100]: > Hello list, > > > I have a package working perfectly fine on Pyrhon 3.6 but using async/await > methods so it cannot work on python 3.7 at the moment. > During package compilation, I popd 3.7 from supported version returned by > py3version and it allows me to build the package just fine: > > Problem: I cannot install it. Despite 3.7 was not "enabled" during build, > when installing debian helpers try to compile bytecode for both 3.6 and 3.7 > and fails. Is there any way to workaround that ? You can use the bcep (bytecompile exception pattern) mechanism. The documentation can be found in dh_python3(1)[1] and /usr/share/doc/dh-python/README.PyDist, and you can find some examples in codesearch. [1] https://manpages.debian.org/unstable/dh-python/dh_python3.1.en.html#bcep_files HTH, -- Nicolas Dandrimont BOFH excuse #227: Fatal error right in front of screen
Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Allow installation on buster of a package not supporting 3.7 (async/await syntax error when generating bytecode) Adam Cécile <acecile@le-vert.net> - 2018-11-08 09:30 +0100
Re: Allow installation on buster of a package not supporting 3.7 (async/await syntax error when generating bytecode) Nicolas Dandrimont <olasd@debian.org> - 2018-11-08 14:40 +0100
Re: Allow installation on buster of a package not supporting 3.7 (async/await syntax error when generating bytecode) Adam Cecile <acecile@le-vert.net> - 2018-11-09 18:50 +0100
Re: Allow installation on buster of a package not supporting 3.7 (async/await syntax error when generating bytecode) Adam Cécile <acecile@le-vert.net> - 2018-11-09 23:30 +0100
Re: Allow installation on buster of a package not supporting 3.7 (async/await syntax error when generating bytecode) Thomas Goirand <zigo@debian.org> - 2018-11-19 22:40 +0100
csiph-web