Skip to content

Commit

Permalink
pip install is stupid
Browse files Browse the repository at this point in the history
  • Loading branch information
martinpitt committed Mar 16, 2024
1 parent 1dc7733 commit ce41acf
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install -y make python3-pyflakes python3-pycodestyle python3-pip
sudo pip install .
sudo pip install ruff mypy types-PyYAML
- name: Run lint tests
run: make check
Expand Down Expand Up @@ -39,8 +39,8 @@ jobs:
- name: Install test dependencies
run: |
sudo apt-get update
sudo apt-get install -y make python3-pyflakes python3-pycodestyle python3-pip python3-pytest
sudo pip install .
sudo apt-get install -y make python3-pip python3-pytest
sudo pip install pytest_container
# HACK: Ubuntu 22.04 has podman 3.4, which isn't compatible with podman-remote 4 in our tasks container
# This PPA is a backport of podman 4.3 from Debian 12; drop this when moving `runs-on:` to ubuntu-24.04
Expand Down
10 changes: 7 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,20 @@ classifiers = [
]

dependencies = [
"pyyaml",
]

version = "1"

[project.optional-dependencies]
test = [
"ruff",
"mypy",
"pytest",
"pytest_container",
"pyyaml",
"types-PyYAML",
]

version = "1"

[tool.setuptools]
packages = []

Expand Down

0 comments on commit ce41acf

Please sign in to comment.