Skip to content

Commit

Permalink
Fix "Couldn't find any package by regex 'python3.11-venv'" (#759)
Browse files Browse the repository at this point in the history
To address recent failures from linter CI:
```bash
E: Unable to locate package python3.11-venv
E: Couldn't find any package by glob 'python3.11-venv'
E: Couldn't find any package by regex 'python3.11-venv'
```

This is likely due to the new Ubuntu version (noble) does not have
`python3.11-venv`, but we don't have to install it anyway.
  • Loading branch information
DonggeLiu authored Dec 20, 2024
1 parent 278f8f1 commit be38387
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install venv
run: sudo apt-get install python3.11-venv
- name: Set up venv
run: python3.11 -m venv .venv
- name: Active venv dependencies
Expand Down

0 comments on commit be38387

Please sign in to comment.