Skip to content

Commit 022547b

Browse files
authored
Fix Dependabot alerts for idna and pytest [ZEPAI-3570] (#353)
* Update Python test dependencies [ZEPAI-3570] * Run CI tests on Python 3.10 [ZEPAI-3570] * Run CI type checks on source files [ZEPAI-3570]
1 parent 7f514a6 commit 022547b

3 files changed

Lines changed: 55 additions & 27 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Install dependencies
2121
run: poetry install
2222
- name: Compile
23-
run: poetry run mypy . --exclude examples
23+
run: poetry run mypy src/ --exclude tests
2424
test:
2525
runs-on: ubuntu-24.04
2626
steps:
@@ -29,7 +29,7 @@ jobs:
2929
- name: Set up python
3030
uses: actions/setup-python@v5
3131
with:
32-
python-version: 3.9
32+
python-version: "3.10"
3333
- name: Bootstrap poetry
3434
run: |
3535
curl -sSL https://install.python-poetry.org | python - -y --version 1.8.3

poetry.lock

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

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ python-dateutil = "^2.9.0"
4242

4343
[tool.poetry.group.dev.dependencies]
4444
mypy = "==1.13.0"
45-
pytest = "^7.4.0"
46-
pytest-asyncio = "^0.23.5"
45+
pytest = { version = "^9.0.3", python = ">=3.10,<4.0" }
46+
pytest-asyncio = { version = "^1.4.0", python = ">=3.10,<4.0" }
4747
python-dateutil = "^2.9.0"
4848
types-python-dateutil = "^2.9.0.20240316"
4949
ruff = "^0.5.0"

0 commit comments

Comments
 (0)