Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Everything hanging #2135

Open
jason-akashic opened this issue Nov 6, 2024 · 7 comments
Open

Everything hanging #2135

jason-akashic opened this issue Nov 6, 2024 · 7 comments

Comments

@jason-akashic
Copy link

Every action just hangs. Currently pip-compile --upgrade has been running for hours. Same with pip-compile requirements.in

Environment Versions

  1. OS Type – MacOS Catalina
  2. Python version: $ python -V 3.11
  3. pip version: $ pip --version 23.3
  4. pip-tools version: $ pip-compile --version 7.4.1

Steps to replicate

Attempt any command

  1. ...
  2. ...
  3. ...

Expected result

not to hang for hours

...

Actual result

hangs for hours. will check in morning but don't have high hopes
...

@AndydeCleyre
Copy link
Contributor

AndydeCleyre commented Nov 6, 2024

You can pass -v or -vvv to see what's going on.

Maybe you would like to provide the requirements files here so someone can reproduce the issue.

@AndydeCleyre AndydeCleyre added needs more info Need more info to clarify issue needs reproduce Need to reproduce an issue awaiting response Awaiting response from a contributor labels Nov 6, 2024
@jason-akashic
Copy link
Author

Using -vvv I get the following as the last thing happening before the hang:

Querying qmake about your Qt installation...
This is the GPL version of PyQt 5.15.11 (licensed under the GNU General Public License) for Python 3.11.5 on darwin.

Type 'L' to view the license.
Type 'yes' to accept the terms of the license.
Type 'no' to decline the terms of the license.

Typing "yes" to the verbose output doesn't seem to have any effect.

requirements.txt
requirements.in.txt
(.txt added to requirements.in so I can upload it here)

@jason-akashic
Copy link
Author

Same result for pip-compile -vvv requirements.in

@jason-akashic
Copy link
Author

Trying stuff in here, but even after upgrading pip3 doesn't like --config-settings https://stackoverflow.com/questions/73714829/pip-install-pyqt5-it-cannot-go-on

@jason-akashic
Copy link
Author

Was able to force it through manually with pip install -U -vvv pyqt5 --config-settings --confirm-license= --verbose -- probably some overkill there on verbosity but hey it worked

@jason-akashic
Copy link
Author

...and then still running into the same problem w/pip-compile -vvv --upgrade

@AndydeCleyre AndydeCleyre removed needs more info Need more info to clarify issue needs reproduce Need to reproduce an issue awaiting response Awaiting response from a contributor labels Nov 9, 2024
@msftcangoblowm
Copy link

msftcangoblowm commented Dec 4, 2024

Suspect the underlying issue is, how to install Qt5 and PyQt5 issue.

This is not a pip-tools issue

Install Qt first. Qt (and sip) is written in C++. Installed by your package manager, not Python. PyQt5 is the python wrapper around Qt5

It's better to use PySide than PyQt for licensing reasons

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants