aerosense-ai / data-gateway

Data influx for Aerosense.
https://www.aerosense.ai/
Other
3 stars 1 forks source link

Enable architecture-specific installs #65

Open thclark opened 2 years ago

thclark commented 2 years ago

Bug report

We're unable to get poetry to install the gateway on mac M1, x86_84 and armv7l (rPi), because: poetry doesn't allow specification of different sources for different architectures - adding multiple sources is riddled with problems in poetry

Plan

CI + development on mac M1 and Windows machines

poetry install

rPi development

poetry export -f requirements.txt --output requirements.txt --dev --without-hashes && pip install -r requirements.txt`

rPi production

pip install <data_gateway_url>

Test how pip uses pyproject.toml Test if pip installing from the data gateway repo (per the installation instructions for deploying):

cortadocodes commented 2 years ago

I can confirm the gateway installs and works on M1 Mac.