uunicorn / python-validity

Validity fingerprint sensor prototype
MIT License
990 stars 83 forks source link

Cannot install on Fedora 39 #172

Open latenightdef opened 1 year ago

latenightdef commented 1 year ago

Looks like Fedora 39 ships Python 3.12 while python-validity needs Python 3.11, this happens when installing from tigro copr.

Last metadata expiration check: 0:33:54 ago on Tue 26 Sep 2023 09:26:14 AM +07.
Package fprintd-clients-1:1.94.2-2.fc39.x86_64 is already installed.
Package fprintd-clients-pam-1:1.94.2-2.fc39.x86_64 is already installed.
Error: 
 Problem 1: conflicting requests
  - nothing provides python(abi) = 3.11 needed by open-fprintd-0.6-7.fc39.noarch from copr:copr.fedorainfracloud.org:tigro:python-validity
 Problem 2: conflicting requests
  - nothing provides python(abi) = 3.11 needed by python3-validity-0.14-2.fc39.noarch from copr:copr.fedorainfracloud.org:tigro:python-validity
  - nothing provides python3.11dist(cryptography) >= 2.1.4 needed by python3-validity-0.14-2.fc39.noarch from copr:copr.fedorainfracloud.org:tigro:python-validity
  - nothing provides python3.11dist(pyusb) >= 1 needed by python3-validity-0.14-2.fc39.noarch from copr:copr.fedorainfracloud.org:tigro:python-validity
  - nothing provides python3.11dist(pyyaml) >= 3.12 needed by python3-validity-0.14-2.fc39.noarch from copr:copr.fedorainfracloud.org:tigro:python-validity
(try to add '--skip-broken' to skip uninstallable packages)
Jeannok commented 1 year ago

Hello;

Exactly the same problem here.

beedywool commented 1 year ago

+1

KayJay7 commented 1 year ago

Same problem

Mintu2002 commented 1 year ago

Same problem, waiting for fix

Fulgurance commented 1 year ago

I have the same problem, how can I fix that ?

Mintu2002 commented 1 year ago

I have the same problem, how can I fix that ?

I've seen that you have to compile it by yourself

vasi commented 1 year ago

I forked the COPR here, and it seems to work: https://copr.fedorainfracloud.org/coprs/djvasi/python-validity/ I make no commitment to continue to maintain this though.

appelgriebsch commented 1 year ago

I forked the COPR here, and it seems to work: https://copr.fedorainfracloud.org/coprs/djvasi/python-validity/ I make no commitment to continue to maintain this though.

hmm still says python(abi) = 3.11 needed ... on my Fedora Silverblue 39?! It also seem to depend on an older version of fprintd-clients: it wants to have fprintd-clients < 1.94.2-2 and on the system I have 1.94.2-8....

wmichaelperry commented 1 year ago

I forked the COPR here, and it seems to work: https://copr.fedorainfracloud.org/coprs/djvasi/python-validity/ I make no commitment to continue to maintain this though.

This works on my Thinkpad X1 Yoga with Fedora 39 if "sudo dnf copr enable djvasi/python-validity" is used in place of "sudo dnf copr enable tigro/python-validity" prior to installation.

Mintu2002 commented 1 year ago

I forked the COPR here, and it seems to work: https://copr.fedorainfracloud.org/coprs/djvasi/python-validity/ I make no commitment to continue to maintain this though.

Works on P52

appelgriebsch commented 1 year ago

weird.... clearly broken on Silverblue 39

Problem: conflicting requests
  - package python3-validity-0.14-2.fc39.noarch from copr:copr.fedorainfracloud.org:djvasi:python-validity requires open-fprintd, but none of the providers can be installed
  - package open-fprintd-0.6-7.fc39.noarch from copr:copr.fedorainfracloud.org:djvasi:python-validity requires fprintd-clients, but none of the providers can be installed
  - package fprintd-clients-1:1.94.2-2.fc39.x86_64 from copr:copr.fedorainfracloud.org:djvasi:python-validity obsoletes fprintd < 1:1.94.2-2.fc39 provided by fprintd-1.94.2-8.fc39.x86_64 from @System
  - nothing provides python(abi) = 3.11 needed by open-fprintd-0.6-7.fc39.noarch from copr:copr.fedorainfracloud.org:djvasi:python-validity
  - nothing provides python(abi) = 3.11 needed by python3-validity-0.14-2.fc39.noarch from copr:copr.fedorainfracloud.org:djvasi:python-validity
  - nothing provides python3.11dist(cryptography) >= 2.1.4 needed by python3-validity-0.14-2.fc39.noarch from copr:copr.fedorainfracloud.org:djvasi:python-validity
  - nothing provides python3.11dist(pyusb) >= 1 needed by python3-validity-0.14-2.fc39.noarch from copr:copr.fedorainfracloud.org:djvasi:python-validity
  - nothing provides python3.11dist(pyyaml) >= 3.12 needed by python3-validity-0.14-2.fc39.noarch from copr:copr.fedorainfracloud.org:djvasi:python-validity
bejuba commented 1 year ago

@appelgriebsch on silverblue you have to manually override some packages first:

sudo rpm-ostree override remove fprintd fprintd-pam

beedywool commented 1 year ago

I forked the COPR here, and it seems to work: https://copr.fedorainfracloud.org/coprs/djvasi/python-validity/ I make no commitment to continue to maintain this though.

Works on my ThinkPad T470, thank you :+1:

appelgriebsch commented 1 year ago

@appelgriebsch on silverblue you have to manually override some packages first:

sudo rpm-ostree override remove fprintd fprintd-pam

ahhh nah.... it still tries to access the readonly /usr/share directory. I thought this has been solved long ago?!

Captura de ecrã de 2023-11-15 13-08-48

GingerGraham commented 11 months ago

I forked the COPR here, and it seems to work: https://copr.fedorainfracloud.org/coprs/djvasi/python-validity/ I make no commitment to continue to maintain this though.

hmm still says python(abi) = 3.11 needed ... on my Fedora Silverblue 39?! It also seem to depend on an older version of fprintd-clients: it wants to have fprintd-clients < 1.94.2-2 and on the system I have 1.94.2-8....

I actually see this issue even with the djvasi COPR on F39 (not Silverblue)

kambiz commented 9 months ago

I forked the COPR here, and it seems to work: https://copr.fedorainfracloud.org/coprs/djvasi/python-validity/ I make no commitment to continue to maintain this though.

hmm still says python(abi) = 3.11 needed ... on my Fedora Silverblue 39?! It also seem to depend on an older version of fprintd-clients: it wants to have fprintd-clients < 1.94.2-2 and on the system I have 1.94.2-8....

I actually see this issue even with the djvasi COPR on F39 (not Silverblue)

I too have the same issue with the djvasi repository mirror. Any updates on this?

jibsaramnim commented 9 months ago

I too have the same issue with the djvasi repository mirror. Any updates on this?

In case it helps: I don't know who has created this particular copr, but I was curious to try to see if I could get the fingerprint to work with my just-acquired T480, and with sneexy/python-validity I was able to successfully install and set it up on Fedora Silverblue 39.

Not directly related to copr shenanigans (I believe), but mentioning it just in case: In my case I also had to edit open-fprintd-resume.service to have it also restart the python3-validity service, as without that it wouldn't work post-suspend.

GingerGraham commented 8 months ago

I too have the same issue with the djvasi repository mirror. Any updates on this?

In case it helps: I don't know who has created this particular copr, but I was curious to try to see if I could get the fingerprint to work with my just-acquired T480, and with sneexy/python-validity I was able to successfully install and set it up on Fedora Silverblue 39.

Thanks for this! The sneexy/python-validity copr worked perfectly for me too!