diff options
| author | 2022-09-18 01:13:15 +0400 | |
|---|---|---|
| committer | 2022-09-18 01:13:15 +0400 | |
| commit | 13522f2dfc21b06d18e23759dab211c7c0e0c8b8 (patch) | |
| tree | a042230f735517fea757476efe335d3ce2798df0 /entry_point.sh | |
| parent | Merge pull request #20 from python-discord/update-staff-channel-logic (diff) | |
Fix Poetry 1.2 Support
Poetry 1.2 introduced a regression which broke pip `--user` installs.
These types of install were the main way we did installations in docker
and CI, as they made it much more convenient to control the location,
availability, and caching of packages.
Poetry's team does not recognize this as a supported use case, so major
changes were required to get everything working again. Most of the
changes were consolidated into chrislovering/python-poetry-base for
docker, and HassanAbouelela/setup-python for CI.
Diffstat (limited to 'entry_point.sh')
| -rw-r--r-- | entry_point.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/entry_point.sh b/entry_point.sh index 56072d0..3894eff 100644 --- a/entry_point.sh +++ b/entry_point.sh @@ -1,7 +1,7 @@ set -e -python create_metricity_db.py -alembic upgrade head +poetry run python create_metricity_db.py +poetry run alembic upgrade head if [ -e /tmp/bot/metricity-config.toml ]; then echo "Detected metricity running in bot context, copying config." |