Re: #!/usr/bin/python3 vs virtualenv

2023-03-03 Thread Jeremy Stanley
On 2023-03-03 16:22:11 -0500 (-0500), Jorge Moraleda wrote: > I did not know about `sudo pip install --break-system-packages > foo` or `sudo rm /usr/lib/python3.11/EXTERNALLY-MANAGED` (Frankly > I only knew about this issue what I have read on this discussion). [...] They come from a reading of th

Re: Join Python Team

2023-03-03 Thread Vasyl Gello
Hi Stefano! Perfect! Thanks! --  Vasyl Gello == Certified SolidWorks Expert Mob.:+380 (98) 465 66 77 E-Mail: vasek.ge...@gmail.com == 호랑이는 죽어서 가죽을 남기고 사람은 죽어서 이름을 남긴다

Re: #!/usr/bin/python3 vs virtualenv

2023-03-03 Thread Jorge Moraleda
Jeremy, Thank you for your quick reply! I did not know about `sudo pip install --break-system-packages foo` or `sudo rm /usr/lib/python3.11/EXTERNALLY-MANAGED` (Frankly I only knew about this issue what I have read on this discussion). This is very helpful and it really changes my outlook on this

Re: Join Python Team

2023-03-03 Thread Vasyl Gello
Hi Stefano! Thanks for the link! So far: 1. I have read the Debian Python Team Policy and agree with it. 2. My Salsa login is "basilgello" 3. I need the access to contribute to the packages I am helping Yaroslav with in NeuroDebian (DataLad extensions and their deps). --  Vasyl Gello ==

Re: Join Python Team

2023-03-03 Thread stefanor
Hi Vasyl (2023.03.03_20:50:27_+) > Thanks for the link! So far: > > 1. I have read the Debian Python Team Policy and agree with it. > 2. My Salsa login is "basilgello" > 3. I need the access to contribute to the packages I am helping Yaroslav with > in NeuroDebian > (DataLad extensions and th

Re: #!/usr/bin/python3 vs virtualenv

2023-03-03 Thread Jeremy Stanley
On 2023-03-03 15:29:09 -0500 (-0500), Jorge Moraleda wrote: > Would it be hard to support both philosophies? > > I would like to suggest a couple of configuration options that by default > disallow using pip outside a virtual environment but that users with root > privilege can modify by editing a

Re: #!/usr/bin/python3 vs virtualenv

2023-03-03 Thread Dmitry Shachnev
Hi all, On Fri, Mar 03, 2023 at 04:10:50PM +0100, Marc Glisse wrote: > Hello, > > I recently reported > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1032283 , and Dmitry > suggested discussing it on this mailing list. > > Virtual environments work by adding some version of Python (possibly ju

Re: Join Python Team

2023-03-03 Thread Stefano Rivera
Hi Vasyl (2023.03.01_15:21:18_+) > I'd like to join Python Team on Debian Salsa to continue my ongoing > contribution to NeuroDebian Project. Excellent, please read the team policy, it has instructions for joining the team. https://salsa.debian.org/python-team/tools/python-modules/blob/master

Re: #!/usr/bin/python3 vs virtualenv

2023-03-03 Thread Jorge Moraleda
Would it be hard to support both philosophies? I would like to suggest a couple of configuration options that by default disallow using pip outside a virtual environment but that users with root privilege can modify by editing a config file (probably somewhere in /etc) and that would enable using

Re: #!/usr/bin/python3 vs virtualenv

2023-03-03 Thread Jeremy Stanley
On 2023-03-03 18:44:19 + (+), Danial Behzadi دانیال بهزادی wrote: > You just want to install sphinx via pip in the virtual environment > too. Each venv should be atomic and isolated which means not > depended to system packages. However a venv can be made to use system packages if you use

Re: #!/usr/bin/python3 vs virtualenv

2023-03-03 Thread Danial Behzadi دانیال بهزادی
You just want to install sphinx via pip in the virtual environment too. Each venv should be atomic and isolated which means not depended to system packages.

#!/usr/bin/python3 vs virtualenv

2023-03-03 Thread Marc Glisse
Hello, I recently reported https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1032283 , and Dmitry suggested discussing it on this mailing list. Virtual environments work by adding some version of Python (possibly just a symlink to the system one) at the beginning of PATH. Debian policy for