kliment / Printrun

Pronterface, Pronsole, and Printcore - Pure Python 3d printing host software
GNU General Public License v3.0
2.38k stars 998 forks source link

Pip will not install dependencies #1456

Closed rockstorm101 closed 1 month ago

rockstorm101 commented 1 month ago

https://github.com/kliment/Printrun/blob/d4080ef32cfdee0cc76a4d633dd0a1f8b1491425/README.md?plain=1#L169-L175

According to the readme instructions the command python -m pip install . would install Printrun and its dependencies. However the dependencies are not being installed.

See fresh run using Python 3.12.7 and pip 24.2. Only Printrun gets installed now:

$ python3 -m venv venv
$ source venv/bin/activate
$ python -m pip install --dry-run .
Processing /home/rock/Projects/printrun/rockintrun
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Would install Printrun-2.1.0

I would have sworn that the above command used to install everything. I've got the fix already prepared but I wondered if someone else stumbled across this before.

rockstorm101 commented 1 month ago

Same thing if I install from PyPI:

$ python3 -m venv venv
$ source venv/bin/activate
$ python -m pip install --dry-run --no-cache-dir Printrun
Collecting Printrun
  Downloading Printrun-2.1.0-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (25 kB)
Downloading Printrun-2.1.0-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (602 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 602.3/602.3 kB 13.8 MB/s eta 0:00:00
Would install Printrun-2.1.0
DivingDuck commented 1 month ago

My last "experiment" with Debian on a VM ends in a disaster. I thought I'm not compatible with Debian and deleted the VM for not getting more frustrated.

rockstorm101 commented 1 month ago

My last "experiment" with Debian on a VM ends in a disaster. I thought I'm not compatible with Debian and deleted the VM for not getting more frustrated.

Hahaha, no worries. Sad to hear the experience wasn't good but I'm not surprised either :P