You are not logged in.

#1 2022-07-12 21:50:15

logothete
Member
Registered: 2022-01-06
Posts: 44

Can't install Librewolf from AUR due to pip check /mach weirdness

I'm trying to install Librewolf 102 from the AUR.
During the pip check phase of... whatever it is mach does, I get the following error vis-a-vis system python:

nbconvert 6.5.0 has requirement jinja2>=3.0, but you have jinja2 2.11.3.
nbconvert 6.5.0 has requirement MarkupSafe>=2.0, but you have markupsafe 1.1.1.
jupyterlab-server 2.15.0 has requirement jinja2>=3.0.3, but you have jinja2 2.11.3.

Now, all of my system python packages are arch repo installs; everything is up to date, etc... so I sure HOPE nbconvert doesn't require MarkupSafe>-2.0, because 1.1.1 is the version that's in the arch repos!
Making things weirder is that when I just run pip check on my own I get:

➜  ~ pip check
No broken requirements found.

So I'm not convinced that it is even the case that those requirements aren't met.

Any ideas what's going on, and why pip check as called by mach and as called by me, on the same system python, should have different results?

Offline

#2 2022-07-12 22:03:56

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,523
Website

Re: Can't install Librewolf from AUR due to pip check /mach weirdness

logothete wrote:

everything is up to date... because 1.1.1 is the version that's in the arch repos!

No, 2.1.1 is.

Your system is not up to date.  Perhaps you have a bad mirror.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2022-07-12 22:07:01

logothete
Member
Registered: 2022-01-06
Posts: 44

Re: Can't install Librewolf from AUR due to pip check /mach weirdness

This actually... reveals something weird. On inspection I do in fact have 2.1.1-1 installed. Not clear why mach thinks otherwise.

Offline

#4 2022-07-12 22:08:46

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,645

Re: Can't install Librewolf from AUR due to pip check /mach weirdness

Moving to AUR issues.

Offline

#5 2022-07-13 00:48:04

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,523
Website

Re: Can't install Librewolf from AUR due to pip check /mach weirdness

Have you looked at the comments on the librewolf AUR page?  That's a rhetorical question, as this issue appears to be discussed there at length with what appear to be a few solutions / work-arounds.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#6 2022-07-17 22:47:40

logothete
Member
Registered: 2022-01-06
Posts: 44

Re: Can't install Librewolf from AUR due to pip check /mach weirdness

Hi Trilby -- Pardon the delay in reply, busy week.
I had indeed checked the AUR page. The solutions I tried from there, such as changes to "MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE" and other environment variables, do not seem to alter the issue. On further inspection, however, the issue involves a conflict between system python packages -- all up to date -- versus those downloaded as source files with librewolf. I have some intimation that the workaround, then, might involve using only system python packages to compile, or perhaps the opposite -- using no system python whatsoever, and running in an environment made out of exactly and only the packages librewolf asks for.

Offline

#7 2022-07-17 22:53:46

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,523
Website

Re: Can't install Librewolf from AUR due to pip check /mach weirdness

Are you building in a clean chroot?


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#8 2022-07-17 22:54:25

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,645

Re: Can't install Librewolf from AUR due to pip check /mach weirdness

Have you tried librewolf-bin? Or do you need to build librewolf with your own specific options?

Offline

#9 2022-07-17 23:11:31

logothete
Member
Registered: 2022-01-06
Posts: 44

Re: Can't install Librewolf from AUR due to pip check /mach weirdness

2ManyDogs: I have tried to install librewolf-bin, but I get a totally separate error in doing so related to PGP keys, so I figured I'd try to solve the librewolf issue instead if I could.

Trilby: when under chroot, yay warns against using it as root so I thought  "mm, better not do that"; makepkg outright forbids one from using at as root. Is there a way to do this safely?

Offline

#10 2022-07-18 00:34:15

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,523
Website

Re: Can't install Librewolf from AUR due to pip check /mach weirdness

Well this is the recommendation of the maintainer as a current workaround in the AUR packages comments ... so I guess you didn't actually do it yet.  Yes there is a way to do so, it's how all arch packages are built, and a fair number of archers believe it should be used for building AUR packages (I'm not one of that number, but it is a good fallback to diagnose potential problems):

https://wiki.archlinux.org/title/Develo … ean_chroot

That said, you should probably use librewolf-bin ... your PGP error is almost certainly solved by a search of the error directing you to a solved thread here on the forums or a wiki page with the "solution".

Last edited by Trilby (2022-07-18 00:36:06)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

Board footer

Powered by FluxBB