Skip to content

Commit e34dea9

Browse files
authored
tests: update dependencies (#1142)
1 parent 3bac05e commit e34dea9

File tree

4 files changed

+31
-29
lines changed

4 files changed

+31
-29
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,14 @@ jobs:
4343

4444
steps:
4545
- uses: actions/checkout@v4
46-
- name: Set up Python 3.11
46+
- name: Set up Python 3.12
4747
uses: actions/setup-python@v5
4848
with:
49-
python-version: '3.11'
49+
python-version: '3.12'
5050
- name: Install dependencies
5151
run: |
5252
python -m pip install --upgrade pip
53-
pip install pytest==7.4.0 GitPython==3.1.40 testpath==0.6.0
53+
pip install pytest==8.1.2 GitPython==3.1.43 testpath==0.6.0
5454
- name: Unit test
5555
run: make test
5656

tests/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,22 @@ We choose python to help us to reach to other shore cause **python is life saver
66
The test part depends on:
77

88
* python >= 3.11
9-
* poetry >= 1.7.1
10-
* pytest >= 7.4
11-
* gitpython >= 3.1.40
9+
* poetry >= 1.8.0
10+
* pytest >= 8.1.2
11+
* gitpython >= 3.1.43
1212

1313
So the versions are higher than above is recommended.
1414

1515
# How to run the tests
1616
1. Install `poetry`
17-
2. Install the dependencies via `poetry install --no-root`
17+
2. Install the dependencies via `poetry install`
1818
3. Run `poetry run pytest`
1919

2020
It is done or go without `poetry`,
2121

2222
1. Install python >= 3.11
23-
2. Install pytest >= 7.4
24-
3. Install gitpython >= 3.1.40
23+
2. Install pytest >= 8.1.2
24+
3. Install gitpython >= 3.1.43
2525
4. Run `pytest`
2626

2727
The second way maybe blocked the some missing dependencies at someday, so the first one is recommended.

tests/poetry.lock

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

tests/pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@
22
name = "git-extras-tests"
33
version = "0.1.0"
44
description = "tests for git extras"
5+
package-mode = false
56
authors = ["vanpipy <[email protected]>"]
67
license = "MIT"
78
readme = "README.md"
89

910
[tool.poetry.dependencies]
1011
python = "^3.11"
11-
pytest = "7.4"
12-
gitpython = "3.1.40"
12+
pytest = "8.1.2"
13+
gitpython = "3.1.43"
1314
testpath = "0.6.0"
1415

1516
[tool.pytest.ini_options]

0 commit comments

Comments
 (0)