mbsolver 0.6.0__tar.gz → 0.6.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 (27) hide show
  1. {mbsolver-0.6.0/src/mbsolver.egg-info → mbsolver-0.6.1}/PKG-INFO +5 -3
  2. {mbsolver-0.6.0 → mbsolver-0.6.1}/README.md +2 -1
  3. {mbsolver-0.6.0 → mbsolver-0.6.1}/pyproject.toml +4 -2
  4. {mbsolver-0.6.0 → mbsolver-0.6.1/src/mbsolver.egg-info}/PKG-INFO +5 -3
  5. mbsolver-0.6.1/src/mbsolver.egg-info/requires.txt +12 -0
  6. mbsolver-0.6.0/src/mbsolver.egg-info/requires.txt +0 -7
  7. {mbsolver-0.6.0 → mbsolver-0.6.1}/LICENSE +0 -0
  8. {mbsolver-0.6.0 → mbsolver-0.6.1}/setup.cfg +0 -0
  9. {mbsolver-0.6.0 → mbsolver-0.6.1}/src/mbsolver/__init__.py +0 -0
  10. {mbsolver-0.6.0 → mbsolver-0.6.1}/src/mbsolver/constants.py +0 -0
  11. {mbsolver-0.6.0 → mbsolver-0.6.1}/src/mbsolver/grids.py +0 -0
  12. {mbsolver-0.6.0 → mbsolver-0.6.1}/src/mbsolver/profiles.py +0 -0
  13. {mbsolver-0.6.0 → mbsolver-0.6.1}/src/mbsolver/sample.py +0 -0
  14. {mbsolver-0.6.0 → mbsolver-0.6.1}/src/mbsolver/three_level/__init__.py +0 -0
  15. {mbsolver-0.6.0 → mbsolver-0.6.1}/src/mbsolver/three_level/_kernel_1d.py +0 -0
  16. {mbsolver-0.6.0 → mbsolver-0.6.1}/src/mbsolver/three_level/sample.py +0 -0
  17. {mbsolver-0.6.0 → mbsolver-0.6.1}/src/mbsolver/two_level/__init__.py +0 -0
  18. {mbsolver-0.6.0 → mbsolver-0.6.1}/src/mbsolver/two_level/_kernel_1d.py +0 -0
  19. {mbsolver-0.6.0 → mbsolver-0.6.1}/src/mbsolver/two_level/_kernel_adiabatic_1d.py +0 -0
  20. {mbsolver-0.6.0 → mbsolver-0.6.1}/src/mbsolver.egg-info/SOURCES.txt +0 -0
  21. {mbsolver-0.6.0 → mbsolver-0.6.1}/src/mbsolver.egg-info/dependency_links.txt +0 -0
  22. {mbsolver-0.6.0 → mbsolver-0.6.1}/src/mbsolver.egg-info/top_level.txt +0 -0
  23. {mbsolver-0.6.0 → mbsolver-0.6.1}/tests/test_profiles.py +0 -0
  24. {mbsolver-0.6.0 → mbsolver-0.6.1}/tests/test_sample.py +0 -0
  25. {mbsolver-0.6.0 → mbsolver-0.6.1}/tests/test_three_level.py +0 -0
  26. {mbsolver-0.6.0 → mbsolver-0.6.1}/tests/test_two_level.py +0 -0
  27. {mbsolver-0.6.0 → mbsolver-0.6.1}/tests/test_two_level_adiabatic.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mbsolver
3
- Version: 0.6.0
3
+ Version: 0.6.1
4
4
  Summary: Fast Maxwell-Bloch solvers for masers, superradiance and coherent pulse propagation
5
5
  Author: Toktam Rashidi
6
6
  Author-email: Vahid Anari <vahid.anari8@gmail.com>
@@ -23,7 +23,8 @@ Requires-Python: >=3.10
23
23
  Description-Content-Type: text/markdown
24
24
  License-File: LICENSE
25
25
  Requires-Dist: numpy>=1.24
26
- Requires-Dist: numba>=0.58
26
+ Requires-Dist: numba<0.63,>=0.58; sys_platform == "darwin" and platform_machine == "x86_64"
27
+ Requires-Dist: numba>=0.58; sys_platform != "darwin" or platform_machine != "x86_64"
27
28
  Provides-Extra: dev
28
29
  Requires-Dist: build; extra == "dev"
29
30
  Requires-Dist: twine; extra == "dev"
@@ -50,7 +51,8 @@ desktop app runs on the same code.
50
51
  pip install mbsolver
51
52
  ```
52
53
 
53
- Requires Python 3.10+ (numpy and numba are installed with it).
54
+ Requires Python 3.10+ (numpy and numba are installed with it). On Intel Macs numba
55
+ stays at 0.62, the last version built for them; with it, Python 3.10–3.13 are supported there.
54
56
 
55
57
  ## Two-level model in one dimension
56
58
 
@@ -18,7 +18,8 @@ desktop app runs on the same code.
18
18
  pip install mbsolver
19
19
  ```
20
20
 
21
- Requires Python 3.10+ (numpy and numba are installed with it).
21
+ Requires Python 3.10+ (numpy and numba are installed with it). On Intel Macs numba
22
+ stays at 0.62, the last version built for them; with it, Python 3.10–3.13 are supported there.
22
23
 
23
24
  ## Two-level model in one dimension
24
25
 
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "mbsolver"
7
- version = "0.6.0"
7
+ version = "0.6.1"
8
8
  description = "Fast Maxwell-Bloch solvers for masers, superradiance and coherent pulse propagation"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.10"
@@ -32,7 +32,9 @@ classifiers = [
32
32
  ]
33
33
  dependencies = [
34
34
  "numpy>=1.24",
35
- "numba>=0.58",
35
+ # numba (and llvmlite) have no Intel-Mac wheels after 0.62 (0.45): newer ones would be compiled from source
36
+ "numba>=0.58,<0.63; sys_platform == 'darwin' and platform_machine == 'x86_64'",
37
+ "numba>=0.58; sys_platform != 'darwin' or platform_machine != 'x86_64'",
36
38
  ]
37
39
 
38
40
  [project.optional-dependencies]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mbsolver
3
- Version: 0.6.0
3
+ Version: 0.6.1
4
4
  Summary: Fast Maxwell-Bloch solvers for masers, superradiance and coherent pulse propagation
5
5
  Author: Toktam Rashidi
6
6
  Author-email: Vahid Anari <vahid.anari8@gmail.com>
@@ -23,7 +23,8 @@ Requires-Python: >=3.10
23
23
  Description-Content-Type: text/markdown
24
24
  License-File: LICENSE
25
25
  Requires-Dist: numpy>=1.24
26
- Requires-Dist: numba>=0.58
26
+ Requires-Dist: numba<0.63,>=0.58; sys_platform == "darwin" and platform_machine == "x86_64"
27
+ Requires-Dist: numba>=0.58; sys_platform != "darwin" or platform_machine != "x86_64"
27
28
  Provides-Extra: dev
28
29
  Requires-Dist: build; extra == "dev"
29
30
  Requires-Dist: twine; extra == "dev"
@@ -50,7 +51,8 @@ desktop app runs on the same code.
50
51
  pip install mbsolver
51
52
  ```
52
53
 
53
- Requires Python 3.10+ (numpy and numba are installed with it).
54
+ Requires Python 3.10+ (numpy and numba are installed with it). On Intel Macs numba
55
+ stays at 0.62, the last version built for them; with it, Python 3.10–3.13 are supported there.
54
56
 
55
57
  ## Two-level model in one dimension
56
58
 
@@ -0,0 +1,12 @@
1
+ numpy>=1.24
2
+
3
+ [:sys_platform != "darwin" or platform_machine != "x86_64"]
4
+ numba>=0.58
5
+
6
+ [:sys_platform == "darwin" and platform_machine == "x86_64"]
7
+ numba<0.63,>=0.58
8
+
9
+ [dev]
10
+ build
11
+ twine
12
+ pytest
@@ -1,7 +0,0 @@
1
- numpy>=1.24
2
- numba>=0.58
3
-
4
- [dev]
5
- build
6
- twine
7
- pytest
File without changes
File without changes
File without changes
File without changes