Skip to content

Commit 39817c2

Browse files
committed
ci: Fix build action
With 33621cd, now all builds are failing. This seems to be due to the Python dependency version checks. Improve these so they're not overlapping and the 3.11 check actually includes 3.11. Even still Python 3.11 fails in GitHub Actions with only "Error: Process completed with exit code 1.". For now, just disable this version. In the process of diagnosing, it seems setup-python@v2 uses a deprecated feature and was giving warnings so update to the latest version. This does not fix the above error, unfortunately.
1 parent 33621cd commit 39817c2

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ jobs:
1616
fail-fast: false
1717
matrix:
1818
python-version:
19-
- '3.11'
2019
- '3.10'
2120
- '3.9'
2221
- '3.8'
@@ -25,7 +24,7 @@ jobs:
2524
steps:
2625
- uses: actions/checkout@v1
2726
- name: Set up Python ${{ matrix.python-version }}
28-
uses: actions/setup-python@v1
27+
uses: actions/setup-python@v4
2928
with:
3029
python-version: ${{ matrix.python-version }}
3130
- name: Install Poetry

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
steps:
1212
- uses: actions/checkout@v1
1313
- name: Set up Python
14-
uses: actions/setup-python@v1
14+
uses: actions/setup-python@v4
1515
with:
1616
python-version: '3.x'
1717
- name: Install dependencies

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
uses: actions/checkout@v2
1515

1616
- name: Set up Python
17-
uses: actions/setup-python@v2
17+
uses: actions/setup-python@v4
1818
with:
1919
python-version: "3.x"
2020

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ python = ">=3.6.0,<3.12.0"
3535

3636
[tool.poetry.dev-dependencies]
3737
pytest = [
38-
{ version = ">=7.2.1", python = ">3.11" },
39-
{ version = ">=6.2.5", python = ">3.10" },
38+
{ version = ">=7.2.1", python = ">=3.11" },
39+
{ version = ">=6.2.5", python = ">=3.10, <3.11" },
4040
{ version = ">=5.0.0", python = "<3.10" },
4141
]
4242
pytest-mock = ">=1.10.0"

0 commit comments

Comments
 (0)