Skip to content

Commit c6360e8

Browse files
committed
Update dependencies and support newer Python versions
Remove dev-dependencies because they cannot be installed together with poetry. The test requirements are specified in tox.ini instead.
1 parent 430ee89 commit c6360e8

File tree

11 files changed

+105
-1566
lines changed

11 files changed

+105
-1566
lines changed

.github/workflows/lint.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ jobs:
77
runs-on: ubuntu-latest
88

99
steps:
10-
- uses: actions/checkout@v2
10+
- uses: actions/checkout@v4
1111

12-
- name: Set up Python 3.9
13-
uses: actions/setup-python@v2
12+
- name: Set up Python 3.11
13+
uses: actions/setup-python@v5
1414
with:
15-
python-version: 3.9
15+
python-version: 3.11
1616

1717
- name: Install dependencies
1818
run: |

.github/workflows/publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ jobs:
1010
runs-on: ubuntu-latest
1111

1212
steps:
13-
- uses: actions/checkout@v2
13+
- uses: actions/checkout@v4
1414

15-
- name: Set up Python 3.9
16-
uses: actions/setup-python@v2
15+
- name: Set up Python 3.11
16+
uses: actions/setup-python@v5
1717
with:
18-
python-version: 3.9
18+
python-version: 3.11
1919

2020
- name: Build wheel and source tarball
2121
run: |

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ jobs:
88

99
strategy:
1010
matrix:
11-
python: ['3.6', '3.7', '3.8', '3.9', '3.10', 'pypy3']
11+
python: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', 'pypy3.9', 'pypy3.10']
1212

1313
steps:
14-
- uses: actions/checkout@v2
14+
- uses: actions/checkout@v4
1515

1616
- name: Set up Python ${{ matrix.python-version }}
17-
uses: actions/setup-python@v2
17+
uses: actions/setup-python@v5
1818
with:
1919
python-version: ${{ matrix.python-version }}
2020

.vscode/launch.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"name": "Python Debugger: Current File with Arguments",
9+
"type": "debugpy",
10+
"request": "launch",
11+
"program": "${file}",
12+
"console": "integratedTerminal",
13+
"args": "${command:pickArgs}"
14+
}
15+
]
16+
}

.vscode/settings.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"editor.rulers": [88],
3+
"[python]": {
4+
"editor.defaultFormatter": "ms-python.black-formatter",
5+
"editor.formatOnSave": true,
6+
},
7+
"python.testing.pytestArgs": [
8+
"tests"
9+
],
10+
"python.testing.unittestEnabled": false,
11+
"python.testing.pytestEnabled": true,
12+
"pythonTestExplorer.testFramework": "pytest",
13+
"testExplorer.useNativeTesting": false,
14+
"testExplorer.sort": "byLocationWithSuitesFirst",
15+
"testExplorer.showExpandButton": 5,
16+
"testExplorer.addToEditorContextMenu": true,
17+
"rust-analyzer.testExplorer": false,
18+
"pythonTestExplorer.testplanUseLegacyDiscovery": false,
19+
"testExplorer.mergeSuites": false,
20+
"python.analysis.typeCheckingMode": "off"
21+
}

0 commit comments

Comments
 (0)