robotpy / robotpy-installer

RobotPy installer program
MIT License
5 stars 11 forks source link

download-pip refuses to download pure-Python wheels #24

Closed auscompgeek closed 3 years ago

auscompgeek commented 5 years ago

Noticed this when downloading wpilib-controller.

auscompgeek commented 5 years ago

Apparently attempting to install flit (build dep for wpilib-controller) on a roboRIO OOMs? (I'm not too sure, getting this second-hand from my team.) So this isn't a great situation.

virtuald commented 5 years ago

Interestingly, when I download-pip flit, it tries to install the build dependencies locally. /shrugs

virtuald commented 5 years ago

Interesting problem, you can't download binary and non-binary dependencies together if you specify platform/implementation/etc.

['python3', '-m', 'pip', '--no-cache-dir', '--disable-pip-version-check', 'download', '--python-version=37', '--platform=linux_armv7l', '--implementation=cp', '--abi', 'cp37', '--only-binary', ':all:', '-d', '/Users/dsa0266/dev/frc/robotpy-installer/pip_cache', 'flit']

Fails when downloading pytoml, which must not have a wheel.

However, if you don't specify --only-binary, then it fails because you have to specify that.

virtuald commented 3 years ago

Fixed in latest installer