cfsem 2.2.0__tar.gz → 2.3.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. {cfsem-2.2.0 → cfsem-2.3.1}/.github/workflows/CI.yml +4 -4
  2. {cfsem-2.2.0 → cfsem-2.3.1}/.github/workflows/actions.yml +1 -1
  3. {cfsem-2.2.0 → cfsem-2.3.1}/CHANGELOG.md +13 -0
  4. {cfsem-2.2.0 → cfsem-2.3.1}/Cargo.lock +15 -14
  5. {cfsem-2.2.0 → cfsem-2.3.1}/Cargo.toml +3 -3
  6. {cfsem-2.2.0 → cfsem-2.3.1}/PKG-INFO +3 -3
  7. {cfsem-2.2.0 → cfsem-2.3.1}/pyproject.toml +3 -3
  8. {cfsem-2.2.0 → cfsem-2.3.1}/.cargo/config.toml +0 -0
  9. {cfsem-2.2.0 → cfsem-2.3.1}/.gitignore +0 -0
  10. {cfsem-2.2.0 → cfsem-2.3.1}/.readthedocs.yml +0 -0
  11. {cfsem-2.2.0 → cfsem-2.3.1}/CONTRIBUTING.md +0 -0
  12. {cfsem-2.2.0 → cfsem-2.3.1}/LICENSE +0 -0
  13. {cfsem-2.2.0 → cfsem-2.3.1}/README.md +0 -0
  14. {cfsem-2.2.0 → cfsem-2.3.1}/build_docs.sh +0 -0
  15. {cfsem-2.2.0 → cfsem-2.3.1}/cfsem/__init__.py +0 -0
  16. {cfsem-2.2.0 → cfsem-2.3.1}/cfsem/bindings.py +0 -0
  17. {cfsem-2.2.0 → cfsem-2.3.1}/cfsem/py.typed +0 -0
  18. {cfsem-2.2.0 → cfsem-2.3.1}/cfsem/types.py +0 -0
  19. {cfsem-2.2.0 → cfsem-2.3.1}/docs/assets/logo.svg +0 -0
  20. {cfsem-2.2.0 → cfsem-2.3.1}/docs/index.md +0 -0
  21. {cfsem-2.2.0 → cfsem-2.3.1}/docs/javascripts/mathjax.js +0 -0
  22. {cfsem-2.2.0 → cfsem-2.3.1}/docs/python/example_outputs/.placeholder +0 -0
  23. {cfsem-2.2.0 → cfsem-2.3.1}/docs/python/examples.md +0 -0
  24. {cfsem-2.2.0 → cfsem-2.3.1}/docs/python/filament.md +0 -0
  25. {cfsem-2.2.0 → cfsem-2.3.1}/docs/python/flux_density.md +0 -0
  26. {cfsem-2.2.0 → cfsem-2.3.1}/docs/python/force.md +0 -0
  27. {cfsem-2.2.0 → cfsem-2.3.1}/docs/python/grad_shafranov.md +0 -0
  28. {cfsem-2.2.0 → cfsem-2.3.1}/docs/python/inductance.md +0 -0
  29. {cfsem-2.2.0 → cfsem-2.3.1}/docs/python/math.md +0 -0
  30. {cfsem-2.2.0 → cfsem-2.3.1}/docs/python/types.md +0 -0
  31. {cfsem-2.2.0 → cfsem-2.3.1}/docs/python/vector_potential.md +0 -0
  32. {cfsem-2.2.0 → cfsem-2.3.1}/docs/requirements.txt +0 -0
  33. {cfsem-2.2.0 → cfsem-2.3.1}/docs/stylesheets/extra.css +0 -0
  34. {cfsem-2.2.0 → cfsem-2.3.1}/examples/helmholtz.py +0 -0
  35. {cfsem-2.2.0 → cfsem-2.3.1}/examples/inductance.py +0 -0
  36. {cfsem-2.2.0 → cfsem-2.3.1}/mkdocs.yml +0 -0
  37. {cfsem-2.2.0 → cfsem-2.3.1}/src/lib.rs +0 -0
  38. {cfsem-2.2.0 → cfsem-2.3.1}/test/__init__.py +0 -0
  39. {cfsem-2.2.0 → cfsem-2.3.1}/test/test_electromagnetics.py +0 -0
  40. {cfsem-2.2.0 → cfsem-2.3.1}/test/test_examples.py +0 -0
  41. {cfsem-2.2.0 → cfsem-2.3.1}/test/test_filaments.py +0 -0
  42. {cfsem-2.2.0 → cfsem-2.3.1}/test/test_funcs.py +0 -0
  43. {cfsem-2.2.0 → cfsem-2.3.1}/test/test_gradshafranov.py +0 -0
  44. {cfsem-2.2.0 → cfsem-2.3.1}/test/test_math.py +0 -0
@@ -19,7 +19,7 @@ jobs:
19
19
  runs-on: ${{ matrix.platform.runner }}
20
20
  strategy:
21
21
  matrix:
22
- python-version: ['3.9', '3.10', '3.11', '3.12']
22
+ python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
23
23
  platform:
24
24
  - runner: ubuntu-22.04
25
25
  target: x86_64
@@ -55,7 +55,7 @@ jobs:
55
55
  runs-on: ${{ matrix.platform.runner }}
56
56
  strategy:
57
57
  matrix:
58
- python-version: ['3.9', '3.10', '3.11', '3.12']
58
+ python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
59
59
  platform:
60
60
  - runner: ubuntu-22.04
61
61
  target: x86_64
@@ -87,7 +87,7 @@ jobs:
87
87
  runs-on: ${{ matrix.platform.runner }}
88
88
  strategy:
89
89
  matrix:
90
- python-version: ['3.9', '3.10', '3.11', '3.12']
90
+ python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
91
91
  platform:
92
92
  - runner: windows-latest
93
93
  target: x64
@@ -115,7 +115,7 @@ jobs:
115
115
  runs-on: ${{ matrix.platform.runner }}
116
116
  strategy:
117
117
  matrix:
118
- python-version: ['3.9', '3.10', '3.11', '3.12']
118
+ python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
119
119
  platform:
120
120
  - runner: macos-13
121
121
  target: x86_64
@@ -15,7 +15,7 @@ jobs:
15
15
  timeout-minutes: 15
16
16
  strategy:
17
17
  matrix:
18
- python-version: ['3.9', '3.10', '3.11', '3.12']
18
+ python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
19
19
 
20
20
  steps:
21
21
  - uses: actions/checkout@v3
@@ -1,5 +1,18 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.3.1 2025-03-19
4
+
5
+ ### Changed
6
+
7
+ * Update rust to 2024 edition
8
+ * Update pyo3 rust dep version to resolve conditional compilation issue in build for linux arm/aarch64
9
+
10
+ ## 2.3.0 2025-03-19
11
+
12
+ ### Added
13
+
14
+ * Add support for python 3.13
15
+
3
16
  ## 2.2.0 2025-02-03
4
17
 
5
18
  ### Added
@@ -215,9 +215,9 @@ dependencies = [
215
215
 
216
216
  [[package]]
217
217
  name = "numpy"
218
- version = "0.23.0"
218
+ version = "0.24.0"
219
219
  source = "registry+https://github.com/rust-lang/crates.io-index"
220
- checksum = "b94caae805f998a07d33af06e6a3891e38556051b8045c615470a71590e13e78"
220
+ checksum = "a7cfbf3f0feededcaa4d289fe3079b03659e85c5b5a177f4ba6fb01ab4fb3e39"
221
221
  dependencies = [
222
222
  "libc",
223
223
  "ndarray",
@@ -225,6 +225,7 @@ dependencies = [
225
225
  "num-integer",
226
226
  "num-traits",
227
227
  "pyo3",
228
+ "pyo3-build-config",
228
229
  "rustc-hash",
229
230
  ]
230
231
 
@@ -257,9 +258,9 @@ dependencies = [
257
258
 
258
259
  [[package]]
259
260
  name = "pyo3"
260
- version = "0.23.4"
261
+ version = "0.24.0"
261
262
  source = "registry+https://github.com/rust-lang/crates.io-index"
262
- checksum = "57fe09249128b3173d092de9523eaa75136bf7ba85e0d69eca241c7939c933cc"
263
+ checksum = "7f1c6c3591120564d64db2261bec5f910ae454f01def849b9c22835a84695e86"
263
264
  dependencies = [
264
265
  "cfg-if",
265
266
  "indoc",
@@ -275,9 +276,9 @@ dependencies = [
275
276
 
276
277
  [[package]]
277
278
  name = "pyo3-build-config"
278
- version = "0.23.4"
279
+ version = "0.24.0"
279
280
  source = "registry+https://github.com/rust-lang/crates.io-index"
280
- checksum = "1cd3927b5a78757a0d71aa9dff669f903b1eb64b54142a9bd9f757f8fde65fd7"
281
+ checksum = "e9b6c2b34cf71427ea37c7001aefbaeb85886a074795e35f161f5aecc7620a7a"
281
282
  dependencies = [
282
283
  "once_cell",
283
284
  "target-lexicon",
@@ -285,9 +286,9 @@ dependencies = [
285
286
 
286
287
  [[package]]
287
288
  name = "pyo3-ffi"
288
- version = "0.23.4"
289
+ version = "0.24.0"
289
290
  source = "registry+https://github.com/rust-lang/crates.io-index"
290
- checksum = "dab6bb2102bd8f991e7749f130a70d05dd557613e39ed2deeee8e9ca0c4d548d"
291
+ checksum = "5507651906a46432cdda02cd02dd0319f6064f1374c9147c45b978621d2c3a9c"
291
292
  dependencies = [
292
293
  "libc",
293
294
  "pyo3-build-config",
@@ -295,9 +296,9 @@ dependencies = [
295
296
 
296
297
  [[package]]
297
298
  name = "pyo3-macros"
298
- version = "0.23.4"
299
+ version = "0.24.0"
299
300
  source = "registry+https://github.com/rust-lang/crates.io-index"
300
- checksum = "91871864b353fd5ffcb3f91f2f703a22a9797c91b9ab497b1acac7b07ae509c7"
301
+ checksum = "b0d394b5b4fd8d97d48336bb0dd2aebabad39f1d294edd6bcd2cccf2eefe6f42"
301
302
  dependencies = [
302
303
  "proc-macro2",
303
304
  "pyo3-macros-backend",
@@ -307,9 +308,9 @@ dependencies = [
307
308
 
308
309
  [[package]]
309
310
  name = "pyo3-macros-backend"
310
- version = "0.23.4"
311
+ version = "0.24.0"
311
312
  source = "registry+https://github.com/rust-lang/crates.io-index"
312
- checksum = "43abc3b80bc20f3facd86cd3c60beed58c3e2aa26213f3cda368de39c60a27e4"
313
+ checksum = "fd72da09cfa943b1080f621f024d2ef7e2773df7badd51aa30a2be1f8caa7c8e"
313
314
  dependencies = [
314
315
  "heck",
315
316
  "proc-macro2",
@@ -394,9 +395,9 @@ dependencies = [
394
395
 
395
396
  [[package]]
396
397
  name = "target-lexicon"
397
- version = "0.12.14"
398
+ version = "0.13.2"
398
399
  source = "registry+https://github.com/rust-lang/crates.io-index"
399
- checksum = "e1fc403891a21bcfb7c37834ba66a547a8f402146eba7265b5a6d88059c9ff2f"
400
+ checksum = "e502f78cdbb8ba4718f566c418c52bc729126ffd16baee5baa718cf25dd5a69a"
400
401
 
401
402
  [[package]]
402
403
  name = "typenum"
@@ -1,7 +1,7 @@
1
1
  [package]
2
2
  name = "_cfsem"
3
3
  version = "0.1.0" # Version is controlled by python project
4
- edition = "2021"
4
+ edition = "2024"
5
5
 
6
6
  # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
7
7
  [lib]
@@ -9,8 +9,8 @@ name = "_cfsem"
9
9
  crate-type = ["cdylib"]
10
10
 
11
11
  [dependencies]
12
- pyo3 = "0.23.4"
13
- numpy = "0.23.0" # This must match pyo3 version!
12
+ pyo3 = "0.24.0"
13
+ numpy = "0.24.0" # This must match pyo3 version!
14
14
  cfsem = "2.0.0"
15
15
 
16
16
  [profile.release]
@@ -1,11 +1,11 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cfsem
3
- Version: 2.2.0
3
+ Version: 2.3.1
4
4
  Classifier: Programming Language :: Rust
5
5
  Classifier: Programming Language :: Python :: Implementation :: CPython
6
6
  Classifier: Programming Language :: Python :: Implementation :: PyPy
7
7
  Requires-Dist: numpy>=2
8
- Requires-Dist: interpn>=0.2.3
8
+ Requires-Dist: interpn>=0.2.5
9
9
  Requires-Dist: pytest>=7.1.3 ; extra == 'dev'
10
10
  Requires-Dist: coverage>=6.5.0 ; extra == 'dev'
11
11
  Requires-Dist: ruff>=0.6.2 ; extra == 'dev'
@@ -20,7 +20,7 @@ License-File: LICENSE
20
20
  Summary: Quasi-steady electromagnetics including filamentized approximations, Biot-Savart, and Grad-Shafranov.
21
21
  Author-email: Commonwealth Fusion Systems <jlogan@cfs.energy>
22
22
  License: MIT
23
- Requires-Python: >=3.9, <3.13
23
+ Requires-Python: >=3.9, <3.14
24
24
  Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
25
25
 
26
26
  # cfsem
@@ -4,10 +4,10 @@ build-backend = "maturin"
4
4
 
5
5
  [project]
6
6
  name = "cfsem"
7
- version = "2.2.0"
7
+ version = "2.3.1"
8
8
  description = "Quasi-steady electromagnetics including filamentized approximations, Biot-Savart, and Grad-Shafranov."
9
9
  authors = [{name = "Commonwealth Fusion Systems", email = "jlogan@cfs.energy"}]
10
- requires-python = ">=3.9, <3.13"
10
+ requires-python = ">=3.9, <3.14"
11
11
  classifiers = [
12
12
  "Programming Language :: Rust",
13
13
  "Programming Language :: Python :: Implementation :: CPython",
@@ -15,7 +15,7 @@ classifiers = [
15
15
  ]
16
16
  dependencies = [
17
17
  "numpy >= 2",
18
- "interpn >= 0.2.3",
18
+ "interpn >= 0.2.5",
19
19
  ]
20
20
  license = "MIT"
21
21
 
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes