Path: csiph.com!feeder.erje.net!2.eu.feeder.erje.net!news2.arglkargh.de!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod From: Ole Streicher Newsgroups: linux.debian.maint.python Subject: Packaging with 2to3 Date: Mon, 18 Dec 2017 22:50:01 +0100 Message-ID: X-Mailbox-Line: From debian-python-request@lists.debian.org Mon Dec 18 21:45:09 2017 Old-Return-Path: X-Amavis-Spam-Status: No, score=-6.999 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, HEADER_FROM_DIFFERENT_DOMAINS=0.001, LDO_WHITELIST=-5] autolearn=ham autolearn_force=no X-Policyd-Weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_BL_NJABL=-1.5 CL_IP_EQ_FROM_IP=-2 (check from: .ath. - helo: .liska.ath. - helo-domain: .ath.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -7 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Lines: 13 X-Mailing-List: archive/latest/15408 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/87wp1jenho.fsf@debian.org Approved: robomod@news.nic.it Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Mon, 18 Dec 2017 22:26:43 +0100 X-Original-Message-ID: <87wp1jenho.fsf@debian.org> Xref: csiph.com linux.debian.maint.python:10013 Hi, I want to create a package (pyraf, #711038) for both Python2 and Python3. While the package itself is still not Python 3 compatible, upstream says that running through 2to3 will make it; however the resulting code is not Python 2 compatible anymore. Is there a way to instruct pybuild to run the Python 3 code through 2to3? Best regards Ole