Opentrons / buildroot

The Opentrons fork of buildroot for building the OT2 system. Our default branch is opentrons-develop.
http://buildroot.org
Other
10 stars 7 forks source link

board/opentrons/ot2: add pypi.opentrons.com #182

Closed sfoster1 closed 1 year ago

sfoster1 commented 1 year ago

Pip needs to look at pypi.opentrons.com for binary packages.

sfoster1 commented 1 year ago
# pip install pandas==1.5.0
Looking in indexes: https://pypi.org/simple, https://dev.pypi.opentrons.com/main/simple/
Collecting pandas==1.5.0
  Downloading https://dev.pypi.opentrons.com/main/simple/pandas/pandas-1.5.0-cp310-cp310-linux_armv7l.whl (14.5 MB)
     |████████████████████████████████| 14.5 MB 59 kB/s 
Requirement already satisfied: python-dateutil>=2.8.1 in /usr/lib/python3.10/site-packages (from pandas==1.5.0) (2.8.2)
Collecting pytz>=2020.1
  Downloading pytz-2022.5-py2.py3-none-any.whl (500 kB)
     |████████████████████████████████| 500 kB 1.9 MB/s 
Requirement already satisfied: numpy>=1.21.0 in /usr/lib/python3.10/site-packages (from pandas==1.5.0) (1.23.1)
Requirement already satisfied: six>=1.5 in /usr/lib/python3.10/site-packages (from python-dateutil>=2.8.1->pandas==1.5.0) (1.16.0)
Installing collected packages: pytz, pandas
Successfully installed pandas-1.5.0 pytz-2022.5
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
# python
Python 3.10.4 (main, Oct 18 2022, 14:12:38) [GCC 7.3.1 20180425 [linaro-7.3-2018.05 revision d29120a424ecfbc167ef90065c0eeb7 on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pandas
>>> pandas.DataFrame
<class 'pandas.core.frame.DataFrame'>
>>> pandas.DataFrame()
Empty DataFrame
Columns: []
Index: []
>>> 

Had to manually update /etc/pip.conf to select the dev instance of the infra but it works!