Skip to content

Commit

Permalink
Merge pull request #191 from freedomofpress/bookworm
Browse files Browse the repository at this point in the history
Use bookworm in CI and require Python 3.11
  • Loading branch information
eloquence committed Jul 24, 2024
2 parents 803fa09 + b97a183 commit e2accde
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 31 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on: [push, pull_request]
jobs:
verify:
runs-on: ubuntu-latest
container: debian:bullseye
container: debian:bookworm
steps:
- uses: actions/checkout@v4
- name: Install dependencies
Expand All @@ -17,13 +17,12 @@ jobs:
make verify
lint:
runs-on: ubuntu-latest
container: debian:bullseye
container: debian:bookworm
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
apt-get update && apt-get install --yes --no-install-recommends make python3 python3-pip
pip install poetry==1.6.1
apt-get update && apt-get install --yes --no-install-recommends make python3 python3-poetry
poetry install --no-ansi
- name: Check code formatting via black
run: |
Expand Down
28 changes: 2 additions & 26 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description = "..."
authors = ["SecureDrop Team <securedrop@freedom.press>"]

[tool.poetry.dependencies]
python = ">= 3.8"
python = ">= 3.11"
authlib = ">=1.1.0"
certifi = "*"
cryptography = ">=41.0.3"
Expand Down

0 comments on commit e2accde

Please sign in to comment.