unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Matt <matt@excalamus.com>
To: "Luis Felipe" <luis.felipe.la@protonmail.com>
Cc: "help-guix" <help-guix@gnu.org>
Subject: Re: PySide2 not found when installing from PyPI
Date: Thu, 26 May 2022 20:22:40 -0400	[thread overview]
Message-ID: <18102e4d7b3.fc1297551821308.3560054904983353439@excalamus.com> (raw)
In-Reply-To: <kTLVasfqxhQJEBqsypZe-iCDY3qgsJvzmZSSeD55BGR8ooz6e4ht-bEQrIXwlLCS9ifpQw-9RUtHU6jIfLvCehUwMKLUDkYD59VlWZwZNxE=@protonmail.com>


 ---- On Thu, 26 May 2022 11:59:09 -0400 Luis Felipe <luis.felipe.la@protonmail.com> wrote ----
 > I often have to change the source of Python packages to use the source repository instead of fetching from pypi because the latter doesn't include test suites.

This is a good point.  Thank you.

  
 > However, the build still fails in the sanity-check phase even using the source repository as source and disabling tests (because the app doesn't have tests yet).
 >
 > test suite not run
 > phase `check' succeeded after 0.0 seconds
 > starting phase `sanity-check'
 > validating 't-rex-typer' /gnu/store/cppxhb9bl78wynw3cf0fhscl8wc5qphd-python-t-rex-typer-0.1.5/lib/python3.9/site-packages
 > ...checking requirements: ERROR: t-rex-typer==0.1.5 DistributionNotFound(Requirement.parse('PySide2>=5.15'), {'t-rex-typer'})
 > error: in phase 'sanity-check': uncaught exception:
 > %exception #<&invoke-error program: "python" arguments: ("/gnu/store/35ix1m6m8a5s21j02ajhdyqxb2xkshfb-sanity-check.py" "/gnu/store/cppxhb9bl78wynw3cf0fhscl8wc5qphd-python-t-rex-typer-0.1.5/lib/python3.9/site-packages") exit-status: 1 term-signal: #f stop-signal: #f> 
 > 
 > phase `sanity-check' failed after 0.1 seconds
 > command "python" "/gnu/store/35ix1m6m8a5s21j02ajhdyqxb2xkshfb-sanity-check.py" "/gnu/store/cppxhb9bl78wynw3cf0fhscl8wc5qphd-python-t-rex-typer-0.1.5/lib/python3.9/site-packages" failed with status 1
 > ~~~
 > 
 > I don't think I understand the error, but maybe it has to do with something expecting a "python" command when it should be "python3" command (which is what)?

If I'm reading that correctly, that's the same distribution not found error.  I like your thought of python versus python3.  However, the PySide2 package on PyPI has a release for python2.  If the build system were using python2, I would expect it to download that and then fail.


      reply	other threads:[~2022-05-27  0:23 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-25 12:52 PySide2 not found when installing from PyPI Matt
2022-05-25 14:30 ` zimoun
2022-05-25 23:03   ` Matt
2022-05-25 16:36 ` Enrico Schwass via
2022-05-25 23:06   ` Matt
2022-05-26  5:35     ` Matt
2022-05-26 15:59       ` Luis Felipe
2022-05-27  0:22         ` Matt [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=18102e4d7b3.fc1297551821308.3560054904983353439@excalamus.com \
    --to=matt@excalamus.com \
    --cc=help-guix@gnu.org \
    --cc=luis.felipe.la@protonmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).