Path: csiph.com!weretis.net!feeder6.news.weretis.net!feeder8.news.weretis.net!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod From: Julien Palard Newsgroups: linux.debian.maint.python Subject: Re: upstream python concerns, python3-full package for bullseye Date: Fri, 12 Feb 2021 14:10:02 +0100 Message-ID: References: X-Original-To: debian-python@lists.debian.org X-Mailbox-Line: From debian-python-request@lists.debian.org Fri Feb 12 13:08:50 2021 Old-Return-Path: X-Amavis-Spam-Status: No, score=-6.238 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, LDO_WHITELIST=-5, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SARE_MLH_Stock10=1.66] autolearn=ham autolearn_force=no X-Policyd-Weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .palard. - helo: .mail-40131.protonmail. - helo-domain: .protonmail.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -5.5 Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=palard.fr; s=protonmail; t=1613135314; bh=Fu6l3PZFDzjAsV60TTNddVopFgrYRfN+7So5e7fq0Ho=; h=Date:To:From:Reply-To:Subject:In-Reply-To:References:From; b=oRY9mSQPpJ8ezRwtbkWKQQFvlEXZvC4Df33lp7GbNILfyXuerUK3DHUd5TgBPUCER rOBlbBPrFxiT21iCKZqwIIngBbNEqIgYSYu2MPRIlIXqWi0Piie7EXkt/dw4m5sUwf 14q1nxpJcoAXgkaLSoyqbpNx5SaQyqcC1+N7kz7M= Reply-To: Julien Palard MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Mailing-List: archive/latest/18990 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/f64cf6fe-ef28-b7c4-0fda-5a78e9362325@palard.fr Approved: robomod@news.nic.it Lines: 55 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Fri, 12 Feb 2021 13:08:28 +0000 X-Original-Message-ID: X-Original-References: <20210211181234.GA4829@silverpine> <5c9a9365-20b9-c600-638c-6c74a024779a@debian.org> <20210212004259.dnrbzkfkszwqctpw@satie.tumbleweed.org.za> Xref: csiph.com linux.debian.maint.python:13207 Hi, As far as I understand, the divergence between "Python upstream" and=20 Debian is: - It looks like Debian target users consuming software, users just=20 install a package and it works, no venv needed obviously, it always just=20 work, it's fantastic. Users may not even care if the program is written=20 in Python or not at this point. - Upstream Python is obviously composed by people writing in Python and=20 know many people who write some Python too: all in need of venv to work. > Also, it's a disservice to push our users into the direction of using > venv which is very ugly way to use Python in a Debian system I do agree, we could even replace Python with software in this sentence. And I don't think we're pushing our users to always install things in=20 venvs. Providing venv is not a big signal for Debian users to ask them=20 to use it to install packages (if a signal at all). With my "I do write things in Python that may run on non-Debian systems"=20 hat, and "I teach Python" (most of them not using Debian) hat, a venv is=20 helping me in many many ways, it's literally part of my daily routine: - It allows me to pin a set of dependencies and sub-dependencies to an=20 exact version (I do use pip-compile, from pip-tools), per project, that=20 I can use in automatic tests (ensuring if tests passes today, they'll=20 pass tomorrow), I can share this set with coworkers and future me ("if=20 it works for me, it works for you"), note my coworkers may not use=20 Debian at all. - It allows me to easily replace a dependency with a modified one to=20 test it, or make anyone else test it (for example [1]). - It allows me to work on my Debian testing laptop on code aimed to work=20 on Debian stable, or a completly different OS. - It allows me to work on various projects with a different set of=20 incompatible dependencies. So while I do agree that a *normal user* does not need a venv as I=20 myself appreciate, as a user, how fantastic it is to be able to install=20 a software using Debian packages, I still think venv is a very usefull=20 tool that I'm very happy to have in the Python stdlib and use daily. (My current use of Python on Debian is: compile it myself, I need=20 multiple versions of Python for test purposes anyway.) [1]: https://github.com/PyCQA/pylint/pull/3890#issuecomment-727591305 P.S.: If you still feel I'm completly wrong to use venv and pip in my=20 workflow, I'll be very happy to learn better ways. --=20 [Julien Palard](https://mdk.fr)