Bjorn Neergaard

Results 554 comments of Bjorn Neergaard

I think your identification of the point of change is incorrect, but we definitely need to check `$SHELL` instead of blindly trusting that the user is using CMD/Powershell.

`poetry shell` is just a convenience tool to start a subshell and activate an environment -- you can activate the env yourself with more typing (find the path with `poetry...

Sorry for the radio silence here -- this issue is not as straightforward as just whitelisting another hash format, as it has security and design implications. We have a large...

(also for those reading along at home, note that I have/had a PR at #4740 that stalled out for the same reasons -- I'm still rather interested in fixing this...

``` root@7f452a8de1d3:/# python3 Python 3.8.10 (default, Jun 22 2022, 20:18:18) >>> import sys >>> print(sys.path) ['', '/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/python3.8/lib-dynload', '/root/.local/lib/python3.8/site-packages', '/usr/local/lib/python3.8/dist-packages', '/usr/lib/python3/dist-packages'] >>> import sysconfig >>> print(sysconfig.get_paths()) {'stdlib': '/usr/lib/python3.8', 'platstdlib':...

Some more reading on this issue: https://github.com/mesonbuild/meson/issues/8739 https://github.com/gramineproject/graphene/blob/6ba10c60b94a066d516bb9121c31280c0ba69468/Scripts/get-python-platlib.py https://sources.debian.org/src/python3.7/3.7.3-2+deb10u3/debian/patches/distutils-install-layout.diff/ I also suppose I'll ping @abn as historically he's the one interested in trying to paper over these bad decisions.

I'd definitely say that this is one of the rare cases where 'I know what I'm doing and the global environment is the best solution' is the case... Certainly, MRs...

@Mattwmaster58 Please report what OS version and Python package version you are encountering this with.

> @neersighted @manojatlas is my exact case where I'm seeing the problem. I can share a minimum docker file if you'd like Does that mean you're on the same image...

Okay, thanks for the info -- in the mean time, is there a reason that you cannot use virtual environments (like @amcinnes)? There are myriad reasons to prefer them, from...