Skip to content

Commit 4dfe09d

Browse files
authored
Bump deps (#770)
* Begin bumping versions * Require `segy=0.5.4` * Bump docs deps * Constrain `setuptools` version to avoid pipeline issues on Windows test pipeline
1 parent 0632784 commit 4dfe09d

File tree

8 files changed

+30
-22
lines changed

8 files changed

+30
-22
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Constraints for building source distributions
2+
# pytest-dependency uses a legacy setup.py incompatible with setuptools 81+
3+
# See: https://github.com/RKrahl/pytest-dependency/issues/91
4+
setuptools<81

.github/workflows/constraints.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
bump-my-version==1.2.4
1+
bump-my-version==1.2.6
22
nox==2025.11.12

.github/workflows/labeler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Check out the repository
14-
uses: actions/checkout@v5
14+
uses: actions/checkout@v6
1515

1616
- name: Run Labeler
1717
uses: crazy-max/ghaction-github-labeler@v5

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Check out the repository
15-
uses: actions/checkout@v5
15+
uses: actions/checkout@v6
1616
with:
1717
fetch-depth: 2
1818

.github/workflows/tests.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434

3535
steps:
3636
- name: Check out the repository
37-
uses: actions/checkout@v5
37+
uses: actions/checkout@v6
3838

3939
- name: Set up Python ${{ matrix.python }}
4040
uses: actions/setup-python@v6
@@ -69,7 +69,7 @@ jobs:
6969
print("result={}".format(result), file=open(os.environ['GITHUB_OUTPUT'], 'a'))
7070
7171
- name: Restore pre-commit cache
72-
uses: actions/cache@v4
72+
uses: actions/cache@v5
7373
if: matrix.session == 'pre-commit'
7474
with:
7575
path: ~/.cache/pre-commit
@@ -83,15 +83,15 @@ jobs:
8383
8484
- name: Upload coverage data
8585
if: always() && matrix.session == 'tests'
86-
uses: actions/upload-artifact@v5
86+
uses: actions/upload-artifact@v6
8787
with:
8888
name: coverage-data-${{ matrix.os }}-${{ matrix.python }}
8989
include-hidden-files: true
9090
path: ".coverage.*"
9191

9292
- name: Upload documentation
9393
if: matrix.session == 'docs-build'
94-
uses: actions/upload-artifact@v5
94+
uses: actions/upload-artifact@v6
9595
with:
9696
name: docs
9797
path: docs/_build
@@ -101,7 +101,7 @@ jobs:
101101
needs: tests
102102
steps:
103103
- name: Check out the repository
104-
uses: actions/checkout@v5
104+
uses: actions/checkout@v6
105105

106106
- name: Install the pinned version of uv
107107
uses: astral-sh/setup-uv@v7
@@ -115,7 +115,7 @@ jobs:
115115
nox --version
116116
117117
- name: Download coverage data
118-
uses: actions/download-artifact@v6
118+
uses: actions/download-artifact@v7
119119
with:
120120
pattern: coverage-data-*
121121
merge-multiple: true
@@ -129,6 +129,6 @@ jobs:
129129
nox --session=coverage -- xml
130130
131131
- name: Upload coverage report
132-
uses: codecov/codecov-action@v5.5.1
132+
uses: codecov/codecov-action@v5.5.2
133133
env:
134134
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

docs/requirements.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
aiohttp==3.13.2
1+
aiohttp==3.13.3
22
autodoc-pydantic==2.2.0
3-
furo==2025.9.25
3+
furo==2025.12.19
44
linkify-it-py==2.0.3
5-
matplotlib==3.10.7
5+
matplotlib==3.10.8
66
myst-nb==1.3.0
77
sphinx==8.2.3
8-
sphinx-click==6.1.0
8+
sphinx-click==6.2.0
99
sphinx-copybutton==0.5.2
1010
sphinx-design==0.6.1
11-
ipywidgets==8.1.7
11+
ipywidgets==8.1.8

noxfile.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,12 @@ def session_install_uv_package(session: Session, packages: list[str]) -> None:
5656
export_args = ["uv", "export", "--only-dev", "--no-hashes", "-o", requirements_tmp]
5757
session.run_install(*export_args, silent=True, env=env)
5858

59+
# Build constraints to pin setuptools for packages with legacy setup.py
60+
# See: https://github.com/RKrahl/pytest-dependency/issues/91
61+
build_constraints = Path(__file__).parent / ".github/workflows/build-constraints.txt"
62+
5963
# Install requested packages with requirements.txt constraints
60-
session.install(*packages, "--constraint", requirements_tmp)
64+
session.install(*packages, "--constraint", requirements_tmp, "--build-constraint", str(build_constraints))
6165

6266

6367
def activate_virtualenv_in_precommit_hooks(session: Session) -> None:

pyproject.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ dependencies = [
2727
"pydantic>=2.12.0",
2828
"pydantic-settings>=2.6.1",
2929
"rich>=14.1.0",
30-
"segy>=0.5.3",
30+
"segy>=0.5.4",
3131
"tqdm>=4.67.1",
3232
"universal-pathlib>=0.3.3",
3333
"xarray>=2025.10.1",
@@ -62,18 +62,18 @@ dev = [
6262
]
6363

6464
docs = [
65-
"aiohttp>=3.13.2",
65+
"aiohttp>=3.13.3",
6666
"autodoc-pydantic>=2.2.0",
67-
"furo>=2025.9.25",
67+
"furo>=2025.12.19",
6868
"linkify-it-py>=2.0.3",
69-
"matplotlib>=3.10.7",
69+
"matplotlib>=3.10.8",
7070
"myst-nb>=1.3.0",
7171
"sphinx>=8.2.3",
7272
"sphinx-autobuild>=2025.8.25",
73-
"sphinx-click>=6.1.0",
73+
"sphinx-click>=6.2.0",
7474
"sphinx-copybutton>=0.5.2",
7575
"sphinx-design>=0.6.1",
76-
"ipywidgets>=8.1.7",
76+
"ipywidgets>=8.1.8",
7777
]
7878

7979
[tool.uv]

0 commit comments

Comments
 (0)