Skip to content

Commit 14e0667

Browse files
authored
fix: Fix shared library interface for cudadecon ≥0.6.1 (#38)
* initial update * imsave -> imwrite * more typing * fix kwargs pop * wip * working for 0.6.1 * update compat
1 parent b75d7a1 commit 14e0667

28 files changed

+637
-403
lines changed

.github/dependabot.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
2+
3+
version: 2
4+
updates:
5+
- package-ecosystem: "github-actions"
6+
directory: "/"
7+
schedule:
8+
interval: "weekly"
9+
commit-message:
10+
prefix: "ci(dependabot):"

.github_changelog_generator

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
user=tlambert03
2+
project=pycudadecon
3+
issues=false
4+
exclude-labels=duplicate,question,invalid,wontfix,hide
5+
add-sections={"tests":{"prefix":"**Tests & CI:**","labels":["tests"]}, "documentation":{"prefix":"**Documentation:**", "labels":["documentation"]}}
6+
exclude-tags-regex=.*rc

.pre-commit-config.yaml

Lines changed: 30 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,51 @@
1+
ci:
2+
autoupdate_schedule: monthly
3+
autofix_commit_msg: "style: [pre-commit.ci] auto fixes [...]"
4+
autoupdate_commit_msg: "ci: [pre-commit.ci] autoupdate"
5+
16
repos:
7+
28
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v4.0.1
9+
rev: v4.3.0
410
hooks:
511
- id: check-docstring-first
612
- id: end-of-file-fixer
713
- id: trailing-whitespace
8-
- repo: https://github.com/asottile/setup-cfg-fmt
9-
rev: v1.17.0
10-
hooks:
11-
- id: setup-cfg-fmt
12-
- repo: https://github.com/PyCQA/flake8
13-
rev: 3.9.2
14-
hooks:
15-
- id: flake8
16-
additional_dependencies: [flake8-typing-imports==1.7.0]
14+
1715
- repo: https://github.com/myint/autoflake
1816
rev: v1.4
1917
hooks:
2018
- id: autoflake
2119
args: ["--in-place", "--remove-all-unused-imports"]
20+
2221
- repo: https://github.com/PyCQA/isort
23-
rev: 5.9.1
22+
rev: 5.10.1
2423
hooks:
2524
- id: isort
25+
26+
- repo: https://github.com/asottile/pyupgrade
27+
rev: v2.34.0
28+
hooks:
29+
- id: pyupgrade
30+
args: [--py38-plus, --keep-runtime-typing]
31+
2632
- repo: https://github.com/psf/black
27-
rev: 21.6b0
33+
rev: 22.3.0
2834
hooks:
2935
- id: black
30-
- repo: https://github.com/asottile/pyupgrade
31-
rev: v2.20.0
36+
37+
- repo: https://github.com/PyCQA/flake8
38+
rev: 4.0.1
3239
hooks:
33-
- id: pyupgrade
34-
args: [--py37-plus]
40+
- id: flake8
41+
additional_dependencies:
42+
- flake8-pyprojecttoml
43+
- flake8-bugbear
44+
- flake8-docstrings
45+
- flake8-typing-imports
46+
3547
- repo: https://github.com/pre-commit/mirrors-mypy
36-
rev: v0.910
48+
rev: v0.961
3749
hooks:
3850
- id: mypy
39-
exclude: examples
51+
files: "^src/"

docs/installation.md

Lines changed: 34 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -28,23 +28,45 @@ conda install -c condaforge pycudadecon cudatoolkit=10.2
2828
```{list-table}
2929
:header-rows: 1
3030
31-
* - CUDA
32-
- Linux driver
33-
- Win driver
34-
* - 10.2
35-
- ≥ 440.33
36-
- ≥ 441.22
37-
* - 11.0
38-
- ≥ 450.36.06
39-
- ≥ 451.22
40-
* - 11.1
41-
- ≥ 455.23
42-
- ≥ 456.38
31+
* - CUDA toolkit
32+
- Linux x86_64 driver
33+
- Win x86_64 driver
34+
* - 11.8
35+
- ≥ 520.61.05
36+
- ≥ 522.06
37+
* - 11.7
38+
- ≥ 515.43.04
39+
- ≥ 516.01
40+
* - 11.6
41+
- ≥ 510.39.01
42+
- ≥ 511.23
43+
* - 11.5
44+
- ≥ 495.29.05
45+
- ≥ 496.04
46+
* - 11.4
47+
- ≥ 470.42.01
48+
- ≥ 471.11
49+
* - 11.3
50+
- ≥ 465.19.01
51+
- ≥ 465.89
4352
* - 11.2
4453
- ≥ 460.27.03
4554
- ≥ 460.82
55+
* - 11.1
56+
- ≥ 455.23
57+
- ≥ 456.38
58+
* - 11.0
59+
- ≥ 450.36.06
60+
- ≥ 451.22
61+
* - 10.2
62+
- ≥ 440.33
63+
- ≥ 441.22
4664
```
4765

66+
For the most recent information on GPU driver compatibility, please see the
67+
[NVIDIA CUDA Toolkit Release
68+
Notes](https://docs.nvidia.com/cuda/cuda-toolkit-release-notes/index.html).
69+
4870
If you run into trouble, feel free to [open an issue on
4971
github](https://github.com/tlambert03/pycudadecon/issues) and describe your
5072
setup.

pycudadecon/_libwrap.py

Lines changed: 0 additions & 189 deletions
This file was deleted.

0 commit comments

Comments
 (0)