X-Recipient: archive-cygwin AT delorie DOT com X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 2B902383542F Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=dinwoodie.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=adam AT dinwoodie DOT org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dinwoodie.org; s=google; h=mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=SPK93x0nQtteneBfPQUaFlmhUZBYuk51QsCT5znvxRc=; b=geG52tsT3Ev6sbcOtB5eWuB5ulzHDZW41F5aNnELFoOth8nizzlvH14HdQwFWz9JPy m0YpanhWTXYRE4MMT8IK8YfbO8eKOw7vWE6xqdCZ+nbuWNgwKElThvQqmhpcTdb0lVng lMtWdRcyLZTWorKjidwt49+bwybBebcj2VSJM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=SPK93x0nQtteneBfPQUaFlmhUZBYuk51QsCT5znvxRc=; b=Sk8Ftnttw/4B3N9P9YY+EtPaWBccMdr/BNHYy0RX4iV+WtXrD4RSyf5nhdh5Tiwck5 wvrzG6C3IJlBMOiiy+WGtoCH5IYgHs7S/rq7l6b80gQsxz3hn0P9TVu+x9zSpuHCjlgq jF0JOX9cArleGlpS73nIPB+ThjPs5Yg1pyt0ZLmepcOT7Uxwz9MCWV4qzwpu3Qm6ci5R e8IwzS8HdLnK5/RRg6n2GelbLq0xVdokHZIfrD20o6EQI4FDxqeYFv07qOz5lNHGzbDe PnrXTvOZP8rnQaaJYEo0EMIkBaobBXyykJg0m8ZwBIBCAe5npJvHv5gySkysPUHTebD9 ZA5Q== X-Gm-Message-State: AOAM531H8BGxcAcLVFz2MLhzSCwOGDF7q9NI1+/R8L+mjoDwLTUGkBDj uKsYbvcr6SJfSu00Y9+AQ2Q2RJRmnz+5BfOWaRVSdwNI8pd9tw== X-Google-Smtp-Source: ABdhPJxjZCymhokQ2VcAn4RI2oXnpU8EA7e+L/EW2zRvKqvamb9Mf6X3ktYrAqyFY7vxtEcciOKXwYGf/H2yDtRcR5I= X-Received: by 2002:a0c:aa19:: with SMTP id d25mr8705815qvb.46.1612870988605; Tue, 09 Feb 2021 03:43:08 -0800 (PST) MIME-Version: 1.0 From: Adam Dinwoodie Date: Tue, 9 Feb 2021 11:42:32 +0000 Message-ID: Subject: Asciidoc failure due to Python versioning To: "Cygwin (cygwin AT cygwin DOT com)" X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 119Bhff7011988 Hi, As part of the Cygwin Git builds, I've started seeing a failure from AsciiDoc: ASCIIDOC git-bisect-lk2009.html File "/usr/bin/asciidoc", line 101 except KeyError, k: raise AttributeError, k ^ SyntaxError: invalid syntax It looks like the issue is that AsciiDoc requires Python 2, but only specifies "/usr/bin/env python" in its shebang, and Cygwin Python now defaults to using Python 3 at that path. For now I can work around this locally, but I suspect the longer-term solution will be to update AsciiDoc so it specifies the version of Python it needs in the shebang. This might already be the case for upstream AsciiDoc – I've not checked – but I do note AsciiDoc is currently orphaned; the latest Cygwin version is v8.6.9, released in 2013, whereas the latest version is v9.0.5, released in January 2021. I'm going to have a quick play to see if it's feasible for me to adopt the package, but I don't want to make any commitments there; if anyone else is keen to adopt it, please go ahead! Adam -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple