Skip to content

Commit

Permalink
Merge pull request #11 from dnv-opensource/10-run-tests-against-pytho…
Browse files Browse the repository at this point in the history
…n-312-release-version-and-python-313-alpha

10 run tests against python 312 release version and python 313 alpha
  • Loading branch information
ClaasRostock authored Dec 19, 2023
2 parents 20b1c1f + add4fcf commit 9a8e984
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 14 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/_code_quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
options: '--check --diff'
src: '.'
jupyter: true
version: '==23.11'
version: '==23.12'

ruff:
runs-on: ubuntu-latest
Expand All @@ -27,7 +27,7 @@ jobs:
- name: Install dependencies
run: pip install -r requirements.txt
- name: Install ruff
run: pip install ruff==0.1.6
run: pip install ruff==0.1.8
- name: Run ruff
run: ruff .

Expand All @@ -45,6 +45,6 @@ jobs:
pip install -r requirements.txt
pip install pytest
- name: Install pyright
run: pip install pyright==1.1.336
run: pip install pyright==1.1.338
- name: Run pyright
run: pyright .
2 changes: 2 additions & 0 deletions .github/workflows/_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ jobs:
toxenv: 'py310'
- version: '3.11'
toxenv: 'py311'
- version: '3.12'
toxenv: 'py312'
steps:
- uses: actions/checkout@v4
- name: Install Python ${{ matrix.python.version }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/_test_future.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ jobs:
- runner: windows-latest
toxenv: windows
python:
- version: '3.12.0rc3'
toxenv: 'py312'
- version: '3.13.0a2'
toxenv: 'py313'
steps:
- uses: actions/checkout@v4
- name: Install Python ${{ matrix.python.version }}
Expand Down
4 changes: 2 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"[python]": {
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": true
"source.organizeImports": "explicit"
},
},
"autoDocstring.docstringFormat": "numpy",
Expand Down Expand Up @@ -44,4 +44,4 @@
"includeAllSymbols": true,
},
],
}
}
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[tool.black]
line-length = 120
target-version = ["py39", "py310"]
target-version = ["py39", "py310", "py311", "py312"]

[tool.ruff]
exclude = [
Expand Down
6 changes: 3 additions & 3 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
pytest>=7.4
pytest-cov>=4.1
pytest-randomly>=3.15
black[jupyter]==23.11
ruff==0.1.6
pyright==1.1.336
black[jupyter]==23.12
ruff==0.1.8
pyright==1.1.338
Sphinx>=7.2
sphinx-argparse-cli>=1.11
myst-parser>=2.0
Expand Down
7 changes: 4 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ classifiers =
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Operating System :: Microsoft :: Windows
Operating System :: POSIX :: Linux
Operating System :: MacOS
Expand Down Expand Up @@ -78,9 +79,9 @@ source =

[tox:tox]
isolated_build = True
envlist = py{39,310,311}-{linux,macos,windows}
# envlist = py{39,310,311}-{windows}
# envlist = py{39,310,311}
envlist = py{39,310,311,312}-{linux,macos,windows}
# envlist = py{39,310,311,312}-{windows}
# envlist = py{39,310,311,312}

[testenv]
system_site_packages = True
Expand Down

0 comments on commit 9a8e984

Please sign in to comment.