oncall-engine/engine
Joey Orlando 25998103cc
swap psycopg2-binary to psycopg2 in requirements.txt (#1062)
Fixes issue when running OnCall locally, on an M1 Mac, and using
PostgreSQL as the database. (ie. `COMPOSE_PROFILES=postgres...`).
Currently getting:
```bash
django.db.utils.OperationalError: SCRAM authentication requires libpq version 10 or above
```

I also tried simply adding `libpq-dev` to the `Dockerfile` but this
change alone does not solve the issue. See
[here](https://github.com/MobSF/Mobile-Security-Framework-MobSF/issues/1898)
for a similar reported issue on GitHub.

**Root Cause**
This issue is caused because `psycopg2-binary` 2.9.3 [doesn't
provide](https://pypi.org/project/psycopg2-binary/2.9.3/#files) binary
wheels for MacOS arm64; binary wheels for MacOS are only provided for
Intel x86 64 bits
([reference](https://stackoverflow.com/a/71653850/3902555)).
2023-01-03 13:47:03 +01:00
..
apps Merge pull request #1059 from grafana/matiasb/truncate-slack-title-block 2023-01-03 08:50:57 -03:00
common Introduce org uuid (#947) 2022-12-06 22:42:58 +08:00
config_integrations add precommit rules for markdown/json files (#915) 2022-12-01 14:26:54 +01:00
engine add make command to configure mobile app feature (#988) 2022-12-14 09:36:35 +01:00
settings specify Firebase GCP project id (#1042) 2022-12-22 21:44:53 +01:00
static/images World, meet OnCall! 2022-06-03 08:09:47 -06:00
.dockerignore One startup command to rule them all (#760) 2022-11-07 16:34:43 +01:00
.gitignore modify push notification settings + use fcm-django library (#998) 2022-12-20 12:41:34 +01:00
celery_with_exporter.sh Add flag to debug logs (#912) 2022-11-29 11:16:42 +08:00
conftest.py Add RBAC Support (#777) 2022-11-29 09:41:56 +01:00
Dockerfile swap psycopg2-binary to psycopg2 in requirements.txt (#1062) 2023-01-03 13:47:03 +01:00
manage.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
pyproject.toml World, meet OnCall! 2022-06-03 08:09:47 -06:00
requirements.txt swap psycopg2-binary to psycopg2 in requirements.txt (#1062) 2023-01-03 13:47:03 +01:00
tox.ini Add RBAC Support (#777) 2022-11-29 09:41:56 +01:00
uwsgi.ini Update uwsgi.ini 2022-06-15 19:13:50 +03:00
wait_for_test_mysql_start.sh World, meet OnCall! 2022-06-03 08:09:47 -06:00