Module "social_push_notifications" needs firebase_admin python library
Nobody has claimed this yet.
- Dominant language
- Dockerfile
- Stars
- 1.2k
- Forks
- 1.7k
- PR merge metrics
- No merged PRs in 30d
Description
The firebase_admin python library is not installed in the odoo docker image. Therefore the module social_push_notifications cannot be installed. I got following error message:
Unable to install module "social_push_notifications" because an external dependency is not met: Python library not installed: firebase_admin
As a workaround I'm wrapping the odoo docker image with a custom one that installs firebase_admin:
FROM odoo:14
USER root
RUN DEBIAN_FRONTEND=noninteractive && \
apt-get update --fix-missing && \
apt-get install -y g++ python3-dev python3-wheel && \
pip3 install firebase-admin && \
apt-get remove -y g++ python3-dev python3-wheel && \
apt-get autoremove -y && \
rm -rf /var/cache/apt/archives && \
rm -rf /var/cache/apt/lists && \
rm -rf /var/lib/apt/lists && \
apt-get clean
USER odoo
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Odoo 14 Docker image build and its dependency definitions, using the missing firebase_admin error and the social_push_notifications module as the reproduction case. Update the image so the Python library is available, then verify that the module installs without the external-dependency error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, python
- Domain
- infrastructure
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100