Skip to content

Commit cf97bee

Browse files
sandhoseclaude
andcommitted
Update CI for Python 3.11 and add newsfile.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent d9551f8 commit cf97bee

File tree

4 files changed

+7
-16
lines changed

4 files changed

+7
-16
lines changed

.github/workflows/pipeline.yml

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ jobs:
1010
steps:
1111
- uses: actions/checkout@v6
1212
- uses: astral-sh/setup-uv@v5
13-
- run: uv run ruff check sygnal/ tests/ stubs
14-
- run: uv run ruff format --check sygnal/ tests/ stubs
13+
- run: uv run ruff check sygnal/ tests/
14+
- run: uv run ruff format --check sygnal/ tests/
1515

1616
check-types-mypy:
1717
runs-on: ubuntu-latest
1818
steps:
1919
- uses: actions/checkout@v6
2020
- uses: astral-sh/setup-uv@v5
21-
- run: uv run mypy sygnal/ tests/ stubs
21+
- run: uv run mypy sygnal/ tests/
2222

2323
run-unit-tests:
2424
name: Unit tests
@@ -35,13 +35,6 @@ jobs:
3535
runs-on: ubuntu-latest
3636
steps:
3737
- uses: actions/checkout@v6
38-
- uses: actions/setup-python@v6
39-
with:
40-
python-version: "3.8"
41-
- name: Patch pyproject.toml to require oldest dependencies
42-
run: |
43-
sed --in-place=.bak -e '/requires-python/!s/>=/==/g' pyproject.toml
44-
diff pyproject.toml.bak pyproject.toml || true
45-
- name: Install Sygnal
46-
run: python -m pip install -e .
47-
- run: python -m pytest tests/
38+
- uses: astral-sh/setup-uv@v5
39+
- run: uv sync --resolution=lowest-direct --python=3.11
40+
- run: uv run pytest tests/

changelog.d/456.misc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Modernize dependencies, Dockerfile, and require Python >=3.11.

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ dev = [
4242
"towncrier>=18.6.0",
4343
"types-opentracing>=2.4.2",
4444
"types-pyyaml>=6.0.0",
45-
"typing-extensions>=3.7.4",
4645
"pytest>=7.0",
4746
"pytest-asyncio>=1.0",
4847
"pytest-aiohttp>=1.0",

uv.lock

Lines changed: 0 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)