Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #9649
| From | Steve Langasek <vorlon@debian.org> |
|---|---|
| Newsgroups | linux.debian.maint.python |
| Subject | Re: packaging problems with python3.5 and python 3.6 |
| Date | 2017-07-30 07:50 +0200 |
| Message-ID | <u8PgZ-4D5-1@gated-at.bofh.it> (permalink) |
| References | <u8JXX-1cI-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
On Sun, Jul 30, 2017 at 08:35:47AM +0900, Norbert Preining wrote: > Dear all > > (please Cc) > > to satisfy a dependency of the next Calibre package I have packaged > html5-parser > https://github.com/kovidgoyal/html5-parser > see > Vcs-Browser: https://anonscm.debian.org/cgit/collab-maint/html5-parser.git > Vcs-Git: git://anonscm.debian.org/collab-maint/html5-parser.git > Unfortunately I have given up providing python3 modules, since it seems > that either python3.5 or python3.6 breaks when adding the respective > line as explained in the python packaging guide. Which "python packaging guide" do you refer to? A search for "debian python packaging guide" does not return unambiguous results. Your difficulties almost certainly stem from you having set wrong build-dependencies. The correct build-dependencies here are 'python-all-dev, python3-all-dev' - plus the python2 and python3 versions of any other modules needed at build time. You should, e.g., never be build-depending on python2.7-dev without a very good reason, and if you build-depend on libpython3.6-dev this will obviously not give you python3.5 support. If there is a python packaging guide suggesting that these sort of build dependencies are appropriate, we should certainly get that corrected. Since this package is in collab-maint, I've gone ahead and pushed fixed python3 support to the repo. > For now I have uploaded the package with python2 support, only, as this also > the only one needed for Calibre (which is python2 application). > If you have any suggestion concerning the python3 packaging part, please > let me know how this should be done. You can see what I have done wrt > python3 in the following commit > https://anonscm.debian.org/cgit/collab-maint/html5-parser.git/commit/?id=4a8e02b20698e35e577482f96efdeb17826d797f > which I reverted afterwards. > Thanks a lot and all the best Thanks, -- Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. Ubuntu Developer http://www.debian.org/ slangasek@ubuntu.com vorlon@debian.org
Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
packaging problems with python3.5 and python 3.6 Norbert Preining <norbert@preining.info> - 2017-07-30 02:10 +0200
Re: packaging problems with python3.5 and python 3.6 Steve Langasek <vorlon@debian.org> - 2017-07-30 07:50 +0200
Re: packaging problems with python3.5 and python 3.6 Norbert Preining <norbert@preining.info> - 2017-07-30 08:40 +0200
Re: packaging problems with python3.5 and python 3.6 Steve Langasek <vorlon@debian.org> - 2017-07-30 08:50 +0200
Re: packaging problems with python3.5 and python 3.6 Norbert Preining <norbert@preining.info> - 2017-07-30 09:20 +0200
Re: packaging problems with python3.5 and python 3.6 barry@debian.org - 2017-08-02 18:20 +0200
Re: packaging problems with python3.5 and python 3.6 Steve Langasek <vorlon@debian.org> - 2017-08-02 21:40 +0200
Re: packaging problems with python3.5 and python 3.6 barry@debian.org - 2017-08-03 15:10 +0200
csiph-web