octabytes / FireO

Google Cloud Firestore modern and simplest convenient ORM package in Python. FireO is specifically designed for the Google's Firestore
https://fireo.octabyte.io
Apache License 2.0
250 stars 29 forks source link

backports-datetime-fromisoformat fails on -slim and alpine containers #107

Closed dhodun closed 3 years ago

dhodun commented 3 years ago

Not sure if there's really an alternative for this library (backports-datetime-fromisoformat), but just passing along we weren't able to do a simple 'pip install fireo' on pyton:3.6-slim, python:3.7-slim, and alpine base Docker containers. gcc was required to get it working, so we added in docker. (This is somewhat common when using slim containers).

# needed for backports-datetime-fromisoformat in fireo
RUN apt-get update
RUN apt-get -y install gcc

COPY requirements.txt .

RUN pip install fireo==1.4.1
AxeemHaider commented 3 years ago

backports-datetime-fromisoformat is not longer needed