Skip to content

Commit 5f1e4b6

Browse files
committed
Update dependencies
- remove dependency upper limits - update poetry lockfile - adapt to numpy 2.x (use np.round instead of np.round_) - get rid of CI workflow interpolation step - update pre-commit hooks
1 parent 0a5ff1d commit 5f1e4b6

File tree

12 files changed

+2072
-1385
lines changed

12 files changed

+2072
-1385
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
env:
4141
READTHEDOCS: 'True'
4242
run: SPHINXOPTS='-nW' make -C doc html
43-
- uses: actions/upload-artifact@v2
43+
- uses: actions/upload-artifact@v4
4444
with:
4545
name: doc-build
4646
path: doc/build/html

.github/workflows_source/ci.yml

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

.pre-commit-config.yaml

Lines changed: 12 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,31 @@
11
repos:
22
- repo: https://github.com/asottile/pyupgrade
3-
rev: v3.15.2
3+
rev: v3.19.1
44
hooks:
55
- id: pyupgrade
66
args: [--py39-plus]
77
- repo: https://github.com/psf/black
8-
rev: 24.3.0
8+
rev: 25.1.0
99
hooks:
1010
- id: black
1111
- repo: https://github.com/pycqa/isort
12-
rev: 5.13.2
12+
rev: 6.0.0
1313
hooks:
1414
- id: isort
15+
- repo: https://github.com/python-poetry/poetry/
16+
rev: "2.1.1"
17+
hooks:
18+
- id: poetry-check
19+
name: "poetry: check pyproject.toml syntax"
20+
- id: poetry-check
21+
name: "poetry: check poetry.lock consistency"
22+
args: ["--lock"]
23+
files: '^(pyproject\.toml|poetry\.lock)$'
1524
- repo: local
1625
hooks:
17-
- id: poetry-pyproject-check
18-
name: "poetry: pyproject.toml check"
19-
language: system
20-
entry: poetry
21-
args: ["check"]
22-
files: '^(pyproject\.toml)$'
23-
pass_filenames: false
24-
25-
- id: poetry-lockfile-consistency
26-
name: "poetry: lockfile consistency check"
27-
language: system
28-
entry: poetry
29-
args: ['lock', '--check']
30-
files: '^(pyproject\.toml)|(poetry\.lock)$'
31-
pass_filenames: false
32-
3326
- id: pylint
3427
name: pylint
3528
entry: pylint
3629
language: system
3730
types: [python]
3831
exclude: '^(doc/)|(examples/)|(futures/)|(utils/)'
39-
40-
- id: interpolate-workflows
41-
name: Interpolate Github workflows
42-
entry: python ./utils/interpolate_yaml_anchors.py
43-
language: system
44-
files: |
45-
(?x)^(
46-
.github/(.)*|
47-
utils/interpolate_yaml_anchors.py
48-
)$
49-
pass_filenames: false

doc/source/conf.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,6 @@
120120
# The theme to use for HTML and HTML Help pages. See the documentation for
121121
# a list of builtin themes.
122122
html_theme = "sphinx_rtd_theme"
123-
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
124123

125124
# Theme options are theme-specific and customize the look and feel of a theme
126125
# further. For a list of options available for each theme, see the

0 commit comments

Comments
 (0)