Skip to content

Commit 876cc53

Browse files
committed
Revert "Python 2 test fixes"
This reverts commit 76c5038d0f29c2e6d868c359886e2ecb0a25009f.
1 parent cbd969b commit 876cc53

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/python-tests.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,19 @@ jobs:
1111

1212
strategy:
1313
matrix:
14-
python-version: [2.7, 3.8, 3.9, '3.10', '3.11']
15-
16-
container:
17-
image: python:${{ matrix.python-version }}-slim
14+
python-version: [2.7, 3.8, 3.9, 3.10, 3.11]
1815

1916
steps:
2017
- uses: actions/checkout@v2
18+
- name: Set up Python ${{ matrix.python-version }}
19+
uses: actions/setup-python@v2
20+
with:
21+
python-version: ${{ matrix.python-version }}
22+
2123
- name: Install dependencies
2224
run: |
2325
python -m pip install --upgrade pip
2426
python -m pip install poetry
25-
rm poetry.lock
26-
poetry config experimental.new-installer false
2727
poetry env use system
2828
poetry install --no-root
2929
- name: Test with pytest

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ requests = [
1616
]
1717
restle = "^0.5.0"
1818

19-
[tool.poetry.dev-dependencies]
19+
[tool.poetry.group.dev.dependencies]
2020
pytest = [
2121
{ version = "^8.2.1", python = "^3.8" },
2222
{ version = "^4.6.11", python = "~2.7" }

0 commit comments

Comments
 (0)