Re: Python installation paths, pip, F36

2022-06-09 Thread Miro Hrončok
On 26. 05. 22 17:13, Owen Taylor wrote: >   - Why is Python itself not installed in the /app prefix? >  - Where and how is pip install invoked? The way that Flatpaks work is that there are *two* filesystem images, one mounted on /usr and one mounted on /app. The image mounted on /usr is calle

Re: Python installation paths, pip, F36

2022-06-09 Thread Owen Taylor
On Thu, Jun 9, 2022, 8:01 AM Miro Hrončok wrote: > > > Unfortunately, I need to take time off from work for personal reasons > for a > > while, so if you could go ahead and make whatever changes are needed and > merge > > them, that would be greatly appreciated. Stephan Bergmann can help you > if

Re: Python installation paths, pip, F36

2022-06-09 Thread Miro Hrončok
On 07. 06. 22 20:20, Owen Taylor wrote: On Thu, May 26, 2022 at 5:24 PM Miro Hrončok > wrote: On 26. 05. 22 22:08, Owen Taylor wrote: > OK, I'll work on coming up with some patches. Do you have an opinion about > whether it makes sense to make the %

Re: Python installation paths, pip, F36

2022-06-07 Thread Owen Taylor
On Thu, May 26, 2022 at 5:24 PM Miro Hrončok wrote: > On 26. 05. 22 22:08, Owen Taylor wrote: > > > OK, I'll work on coming up with some patches. Do you have an opinion > about > > whether it makes sense to make the %_prefix support complete with > something like: > > > > - %python3_sitelib %(RPM

Re: Python installation paths, pip, F36

2022-05-26 Thread Miro Hrončok
On 26. 05. 22 22:08, Owen Taylor wrote: On Thu, May 26, 2022 at 1:07 PM Miro Hrončok > wrote: On 26. 05. 22 17:13, Owen Taylor wrote: > A pip with a backported patch (or a rebase) + this approach sounds most > maintainable for Fedora 36. But if we th

Re: Python installation paths, pip, F36

2022-05-26 Thread Owen Taylor
On Thu, May 26, 2022 at 1:07 PM Miro Hrončok wrote: > On 26. 05. 22 17:13, Owen Taylor wrote: > > > A pip with a backported patch (or a rebase) + this approach sounds most > > maintainable for Fedora 36. But if we think that the --prefix %{_prefix} > > approach actually works, then perhaps we can

Re: Python installation paths, pip, F36

2022-05-26 Thread Miro Hrončok
On 26. 05. 22 17:13, Owen Taylor wrote: Thanks for the detailed response! To start with your final questions: >   - Why is Python itself not installed in the /app prefix? >  - Where and how is pip install invoked? The way that Flatpaks work is that there are *two* filesystem images, one mou

Re: Python installation paths, pip, F36

2022-05-26 Thread Owen Taylor
Thanks for the detailed response! To start with your final questions: > - Why is Python itself not installed in the /app prefix? > - Where and how is pip install invoked? The way that Flatpaks work is that there are *two* filesystem images, one mounted on /usr and one mounted on /app. The ima

Re: Python installation paths, pip, F36

2022-05-26 Thread Miro Hrončok
On 26. 05. 22 6:27, Neal Gompa wrote: On Thu, May 26, 2022 at 12:10 AM Owen Taylor wrote: [ At Miro's request, resending this to python-devel so the discussion can be public ] Hi Miro - When rebuilding a package to include in a Flatpak, we want to install *everything* under prefix=/app - t

Re: Python installation paths, pip, F36

2022-05-26 Thread Miro Hrončok
On 26. 05. 22 6:10, Owen Taylor wrote: [ At Miro's request, resending this to python-devel so the discussion can be public ] Hi Miro - Hey Owen. [the same here] When rebuilding a package to include in a Flatpak, we want to install *everything* under prefix=/app - that includes Python modul

Re: Python installation paths, pip, F36

2022-05-25 Thread Neal Gompa
On Thu, May 26, 2022 at 12:10 AM Owen Taylor wrote: > > [ At Miro's request, resending this to python-devel so the discussion can be > public ] > > Hi Miro - > > When rebuilding a package to include in a Flatpak, we want to install > *everything* under prefix=/app - that includes Python modules.

Python installation paths, pip, F36

2022-05-25 Thread Owen Taylor
[ At Miro's request, resending this to python-devel so the discussion can be public ] Hi Miro - When rebuilding a package to include in a Flatpak, we want to install *everything* under prefix=/app - that includes Python modules. (Paths will be adjusted properly when running the Flatpak.) For yea