Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp2163930ybv; Fri, 14 Feb 2020 12:46:12 -0800 (PST) X-Google-Smtp-Source: APXvYqzgmzQUDNm6zJlDWyBedXPiudNC0N5do4TNlX9e+z9QSwxNf84J3+FpDvWd7G+OqjTFrzI5 X-Received: by 2002:aca:c70b:: with SMTP id x11mr3187935oif.29.1581713172678; Fri, 14 Feb 2020 12:46:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581713172; cv=none; d=google.com; s=arc-20160816; b=diU406xOWIJpuGbsqhbhRCCbrut2nY4JKGL7+xMr02ueTuL6425d3L/n6vN9dxOJe4 qxlZoAp1p56DETH8C4ybqnqnoq/l2jsA6z42XHGxpQgmWvzk5BqJ4gIPJ5t14fYBWbHv OZLQxUjSyWvPHMTJiYUlcv7FSAWTzQp88dxTqouvexNG1IJ8cOcP8tJclC9XzQRJHrqW yB0elF/fKxtSW5jYFat575eIUgwdomZmP3Ec6RMJq8S6vdu5b5g0CTl56MJaBulHFmBs ZwYw3Y4/8dm546jXK7xQx5AnRUtYY+xtHlr1NgM7wjFSK4w8cqluQqfKJmQ8HcKQ/1Mk 7Tyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:from:user-agent:content-disposition :mime-version:message-id:subject:to:date; bh=n27wFaS/0fkcBshmzIq4CS8gyVY+Z8xyxGflTpTMvZg=; b=dp/pI2MJhmzDQD1EZUbywe9lGsmCGShggonSGp8IpsQ5DU87rdFOus8PcpT5Tr+FX2 nFiSvJc6WT8ulZMigwofVQ4EWc3G+n+T4f0v9Qhr7mJRCmOhqZgiaUWrgbbs9Xq79UJ7 /exL6x/b94o0V386utY7jWESa4zgVXmZSwvgTCJxgkfcS+ZJ5TsPcqASaPqBuDRixWqg 2F6yPufAi9sxoO1dp35ui7cH7UPIW4ROT9CFIlYp3BqryZ5c+duXQgoOOnc9dwFOiSLN cw6+BMK6+TXrotn23SVLpLObu4Wxgt0x9AjqcUilNeaJ3TqYor+yW303Vl3Mewv7w8FW o/zg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v3si3542717otn.140.2020.02.14.12.45.48; Fri, 14 Feb 2020 12:46:12 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730260AbgBNUpp (ORCPT + 99 others); Fri, 14 Feb 2020 15:45:45 -0500 Received: from fieldses.org ([173.255.197.46]:34848 "EHLO fieldses.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727742AbgBNUpo (ORCPT ); Fri, 14 Feb 2020 15:45:44 -0500 Received: by fieldses.org (Postfix, from userid 2815) id 1146988A; Fri, 14 Feb 2020 15:45:44 -0500 (EST) Date: Fri, 14 Feb 2020 15:45:44 -0500 To: linux-nfs@vger.kernel.org Subject: pynfs python 3 flag day Message-ID: <20200214204544.GA30533@fieldses.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) From: bfields@fieldses.org (J. Bruce Fields) Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org I'm hearing more noise about deprecating Python 2, so decided I can't keep ignoring Python 3. Getting pynfs working on Python 3 is a bigger project than I expected. Keeping it working under Python 2 looks like another project. So, I'm planning a flag day after which pynfs will require Python 3. That isn't the way I'd prefer to do it, but there's only so much time I want to spend on this. I've mostly got the 4.0 server tests working under python 3. I hope a few more days will be enough to get the 4.1 tests working as well. When I switch over, I'm afraid a few things will be left broken: any tests that I don't personally run may still have minor python 3 bugs, and I haven't touched the python server code that's used for client testing. If you stumble across something broken, and you can give me a simple reproducer, feel free to share it with me and I'll take a look. But for anything complicated, I'll probably need patches. Again, I apologize for any extra work that creates for anyone, but for now this seems like the best compromise to keep things mostly working without it becoming a bigger time sink for me. Work so far is in the "python3" branch at git://linux-nfs.org/~bfields/pynfs.git The history will probably be cleaned up an rewritten before it's done. I'm hoping that'll be in the next week. It's mostly just a matter of separating out unicode strings and byte arrays. Protocol data is all the latter (even if the protocol prefers some field to be UTF8, pynfs still needs to be able to handle non-UTF8). But some things have to be unicode strings. --b.