Skip to content

Commit ed625df

Browse files
committed
chore: bump deps
1 parent a98116f commit ed625df

11 files changed

Lines changed: 250 additions & 213 deletions

File tree

.github/workflows/coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
test:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v5
13+
- uses: actions/checkout@v6
1414
with:
1515
fetch-depth: 0 # required for setuptools-scm
1616

.github/workflows/mkdocs-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
deploy:
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v5
15+
- uses: actions/checkout@v6
1616
with:
1717
fetch-depth: 0 # required for setuptools-scm
1818

.github/workflows/mypy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
runs-on: ubuntu-latest
2323

2424
steps:
25-
- uses: actions/checkout@v5
25+
- uses: actions/checkout@v6
2626
with:
2727
fetch-depth: 0 # required for setuptools-scm
2828

.github/workflows/pylint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
runs-on: ubuntu-latest
2424

2525
steps:
26-
- uses: actions/checkout@v5
26+
- uses: actions/checkout@v6
2727
with:
2828
fetch-depth: 0 # required for setuptools-scm
2929

.github/workflows/pypi-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252

5353
runs-on: ${{ matrix.os }}
5454
steps:
55-
- uses: actions/checkout@v5
55+
- uses: actions/checkout@v6
5656
with:
5757
fetch-depth: 0 # required for setuptools-scm
5858

.github/workflows/pytest-reusable.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
runs-on: ${{ inputs.os }} # The runner's OS is provided by the 'os' input
3434

3535
steps:
36-
- uses: actions/checkout@v5
36+
- uses: actions/checkout@v6
3737
name: Checkout Repository Code # A clear name for this foundational step
3838
with:
3939
fetch-depth: 0 # Required for setuptools-scm

.github/workflows/ruff.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
runs-on: ubuntu-latest
2323

2424
steps:
25-
- uses: actions/checkout@v5
25+
- uses: actions/checkout@v6
2626
with:
2727
fetch-depth: 0 # required for setuptools-scm
2828

pyproject.toml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ requires = [
66
"setuptools",
77
"setuptools-scm[toml]>=9.2",
88
"setuptools_dynamic_dependencies",
9-
"tomli; python_version<'3.11'"
9+
"tomli>=2.4.0; python_version<'3.11'"
1010
]
1111
build-backend = "setuptools.build_meta"
1212

@@ -38,8 +38,8 @@ classifiers = [
3838
"Programming Language :: Python :: Implementation :: CPython",
3939
]
4040
dependencies = [
41-
"typing_extensions>= 4.12.2",
42-
"tomli>=2.2.1; python_version<'3.11'",
41+
"typing_extensions>= 4.15.0",
42+
"tomli>=2.4.0; python_version<'3.11'",
4343
"Deprecated>=1.2.18",
4444
]
4545

@@ -118,7 +118,7 @@ fallback_version = "0.0.0.dev0"
118118
[tool.setuptools_dynamic_dependencies.optional-dependencies]
119119
exts = ["py_ballisticcalc.exts=={version}"]
120120
charts = [
121-
"matplotlib>=3.10.7",
121+
"matplotlib>=3.10.8",
122122
"pillow>=11.3.0; python_version>='3.13' and sys_platform == 'win32'", # minimal wheel required for matplotlib with python 3.13+ in windows
123123
"pandas>=2.3.3",
124124
"numpy>=2.2.6",
@@ -131,11 +131,11 @@ scipy = [
131131
"scipy>=1.15.3",
132132
]
133133
dev = [
134-
"Cython>=3.1.4",
135-
"build>=1.3.0",
134+
"Cython>=3.2.4",
135+
"build>=1.4.0",
136136

137137
# math and data
138-
"matplotlib>=3.10.7",
138+
"matplotlib>=3.10.8",
139139
"pillow>=11.3.0; python_version>='3.13' and sys_platform == 'win32'", # minimal wheel required for matplotlib with python 3.13+ in windows
140140
"pandas>=2.3.3",
141141
"numpy>=2.2.6",
@@ -148,17 +148,17 @@ dev = [
148148

149149
# code standards
150150
"mypy>=1.18.2",
151-
"pylint>=4.0.1",
151+
"pylint>=4.0.5",
152152
"pytest>=8.4.2",
153153
"pytest-cov>=7.0.0",
154154
"pytest-xdist>=3.8.0",
155-
"ruff>=0.14.0",
156-
"cython-lint>=0.18.1",
157-
"pre-commit>=4.5.0",
155+
"ruff>=0.15.6",
156+
"cython-lint>=0.19.0",
157+
"pre-commit>=4.5.1",
158158

159159
# stubs
160160
"scipy-stubs>=1.16.2.3; python_version>='3.11'",
161-
"types-deprecated>=1.2.15.20250304",
161+
"types-deprecated>=1.3.1.20260130",
162162
"pandas-stubs>=2.3.2.250926",
163163
]
164164
docs = [
@@ -180,11 +180,11 @@ docs = [
180180
# Duplication of "dev" group here is required to support `uv sync --dev`
181181
# Previous declaration sufficient if we standardize on `uv pip install -e .[dev]`
182182
dev = [
183-
"Cython>=3.1.4",
184-
"build>=1.3.0",
183+
"Cython>=3.2.4",
184+
"build>=1.4.0",
185185

186186
# math and data
187-
"matplotlib>=3.10.7",
187+
"matplotlib>=3.10.8",
188188
"pillow>=11.3.0; python_version>='3.13' and sys_platform == 'win32'", # minimal wheel required for matplotlib with python 3.13+ in windows
189189
"pandas>=2.3.3",
190190
"numpy>=2.2.6",
@@ -197,17 +197,17 @@ dev = [
197197

198198
# code standards
199199
"mypy>=1.18.2",
200-
"pylint>=4.0.1",
200+
"pylint>=4.0.5",
201201
"pytest>=8.4.2",
202202
"pytest-cov>=7.0.0",
203203
"pytest-xdist>=3.8.0",
204-
"ruff>=0.14.0",
205-
"cython-lint>=0.18.1",
206-
"pre-commit>=4.5.0",
204+
"ruff>=0.15.6",
205+
"cython-lint>=0.19.0",
206+
"pre-commit>=4.5.1",
207207

208208
# stubs
209209
"scipy-stubs>=1.16.2.3; python_version>='3.11'",
210-
"types-deprecated>=1.2.15.20250304",
210+
"types-deprecated>=1.3.1.20260130",
211211
"pandas-stubs>=2.3.2.250926",
212212
]
213213
test = [

scripts/benchmark.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
import sys
2929
from dataclasses import dataclass, asdict
3030
from pathlib import Path
31-
from typing import Optional
3231
from collections.abc import Sequence
3332

3433
# Local imports (package must be importable)
@@ -252,7 +251,7 @@ def iter_engine_names() -> list[str]:
252251
return [ep.name for ep in Calculator.iter_engines()]
253252

254253

255-
def main(argv: Optional[Sequence[str]] = None) -> int:
254+
def main(argv: Sequence[str] | None = None) -> int:
256255
parser = get_parser()
257256
ns: argparse.Namespace = parser.parse_args(argv)
258257

tests/test_calc_serialization.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
from dataclasses import dataclass
22
from functools import partial
3-
from typing import Optional
43

54
import pytest
65

@@ -59,7 +58,7 @@ def create_shot(self):
5958
@dataclass
6059
class CachingWrapper(BaseCalcWrapper):
6160
engine: object
62-
_calc: Optional[Calculator] = None
61+
_calc: Calculator | None = None
6362

6463
def __post_init__(self):
6564
self._calc = create_zero_velocity_calc(self.engine)

0 commit comments

Comments
 (0)