Skip to content

Commit be9c76c

Browse files
author
Chris Mitchell
committed
[PETOSS-980] Fix twine install escaping the venv in publish workflow
sudo pip install twine ran outside the activated venv and tried to upgrade the system's apt-installed packaging package, which has no pip RECORD metadata and can't be uninstalled, failing the Install dependencies step. Install twine via the venv's pip instead.
1 parent da17cd8 commit be9c76c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎.github/workflows/publish.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
python -m venv venv
3535
source venv/bin/activate
3636
pip install --upgrade pip
37-
sudo pip install twine
37+
pip install twine
3838
working-directory: xero-python
3939

4040
- name: Fetch Latest release number

0 commit comments

Comments
 (0)