Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,14 @@ jobs:
python-version: '3.x'
- name: Install dependencies
run: |
export DEBIAN_FRONTEND=noninteractive
sudo apt-get update
sudo apt-get upgrade -y --no-install-recommends
sudo apt-get install -y libenchant-2-2
sudo apt-get autoremove
sudo apt-get autoclean
sudo apt-get clean
sudo rm -rf /var/lib/apt/lists/*
python3 -m pip install --upgrade pip
python3 -m pip install build setuptools wheel twine
- name: Build and publish
Expand Down
5 changes: 4 additions & 1 deletion Dockerfile-builder
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@ ARG VERSION=3.7
FROM python:${VERSION}-bullseye

# Note that any deps installed here must also be installed in the
# github actions workflow .github/workflows/python-package.yml
# github actions workflows:
#
# .github/workflows/python-package.yml
# .github/workflows/python-publish.yml
#
ENV DEBIAN_FRONTEND noninteractive

Expand Down