sia-script 1.0.0__tar.gz → 1.0.2__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sia-script
3
- Version: 1.0.0
3
+ Version: 1.0.2
4
4
  Summary: SIA — Simplified Integrated Architecture: SiaNTT, SIA-ELS (ABAP interpreter), the HDQS server client, and hdqs_engine (offline statevector quantum simulator — no server or API token required)
5
5
  Author-email: Sia Software Innovations Private Limited <info@siasoftwareinnovations.com>
6
6
  License: # PROPRIETARY SOFTWARE LICENSE
@@ -62,18 +62,15 @@ Classifier: Topic :: System :: Distributed Computing
62
62
  Requires-Python: >=3.8
63
63
  Description-Content-Type: text/markdown
64
64
  License-File: LICENSE.md
65
+ Requires-Dist: numpy>=1.24.0
66
+ Requires-Dist: requests>=2.31.0
65
67
  Provides-Extra: client
66
- Requires-Dist: requests>=2.31.0; extra == "client"
67
- Requires-Dist: numpy>=1.24.0; extra == "client"
68
68
  Provides-Extra: engine
69
- Requires-Dist: numpy>=1.24.0; extra == "engine"
70
69
  Provides-Extra: torch
71
70
  Requires-Dist: torch>=2.0; extra == "torch"
72
71
  Provides-Extra: qasm
73
72
  Requires-Dist: openqasm3[parser]>=1.0; extra == "qasm"
74
73
  Provides-Extra: full
75
- Requires-Dist: requests>=2.31.0; extra == "full"
76
- Requires-Dist: numpy>=1.24.0; extra == "full"
77
74
  Requires-Dist: torch>=2.0; extra == "full"
78
75
  Requires-Dist: openqasm3[parser]>=1.0; extra == "full"
79
76
  Dynamic: license-file
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "sia-script"
7
- version = "1.0.0"
7
+ version = "1.0.2"
8
8
  description = "SIA — Simplified Integrated Architecture: SiaNTT, SIA-ELS (ABAP interpreter), the HDQS server client, and hdqs_engine (offline statevector quantum simulator — no server or API token required)"
9
9
  authors = [
10
10
  { name = "Sia Software Innovations Private Limited", email = "info@siasoftwareinnovations.com" }
@@ -38,24 +38,30 @@ classifiers = [
38
38
  "Topic :: System :: Distributed Computing",
39
39
  ]
40
40
 
41
- # No hard dependencies: ntt and els run on the stdlib alone.
42
- # Opt into what you actually need via extras below.
43
- dependencies = []
41
+ # sia/__init__.py unconditionally does `from .hdqs import (...)`, and
42
+ # hdqs.py unconditionally imports both numpy and requests -- so both are
43
+ # real, required base dependencies, not optional. (v1.0.0 and v1.0.1 each
44
+ # had one of these two only under an optional extra, which broke a plain
45
+ # `pip install sia-script` with a ModuleNotFoundError on the very first
46
+ # `import sia` -- caught by testing in a clean venv both times.)
47
+ dependencies = [
48
+ "numpy>=1.24.0",
49
+ "requests>=2.31.0",
50
+ ]
44
51
 
45
52
  [project.urls]
46
53
  Homepage = "https://www.siasoftwareinnovations.com"
47
54
  Documentation = "https://www.siasoftwareinnovations.com"
48
55
 
49
56
  [project.optional-dependencies]
50
- # sia.hdqs — the server client. Needs a running HDQS server and an API token.
51
- client = [
52
- "requests>=2.31.0",
53
- "numpy>=1.24.0",
54
- ]
57
+ # sia.hdqs — the server client. Needs a running HDQS server and an API
58
+ # token. requests is now a base dependency; kept as an empty extra for
59
+ # backward compatibility with anyone depending on sia-script[client].
60
+ client = []
55
61
  # sia.hdqs_engine — offline statevector simulator. No server, no token.
56
- engine = [
57
- "numpy>=1.24.0",
58
- ]
62
+ # numpy is now a base dependency; kept as an empty extra for backward
63
+ # compatibility with anyone depending on sia-script[engine].
64
+ engine = []
59
65
  # sia.hdqs_engine.torch_layer — trainable QuantumLayer nn.Module.
60
66
  torch = [
61
67
  "torch>=2.0",
@@ -66,8 +72,6 @@ qasm = [
66
72
  ]
67
73
  # Everything above, combined.
68
74
  full = [
69
- "requests>=2.31.0",
70
- "numpy>=1.24.0",
71
75
  "torch>=2.0",
72
76
  "openqasm3[parser]>=1.0",
73
77
  ]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sia-script
3
- Version: 1.0.0
3
+ Version: 1.0.2
4
4
  Summary: SIA — Simplified Integrated Architecture: SiaNTT, SIA-ELS (ABAP interpreter), the HDQS server client, and hdqs_engine (offline statevector quantum simulator — no server or API token required)
5
5
  Author-email: Sia Software Innovations Private Limited <info@siasoftwareinnovations.com>
6
6
  License: # PROPRIETARY SOFTWARE LICENSE
@@ -62,18 +62,15 @@ Classifier: Topic :: System :: Distributed Computing
62
62
  Requires-Python: >=3.8
63
63
  Description-Content-Type: text/markdown
64
64
  License-File: LICENSE.md
65
+ Requires-Dist: numpy>=1.24.0
66
+ Requires-Dist: requests>=2.31.0
65
67
  Provides-Extra: client
66
- Requires-Dist: requests>=2.31.0; extra == "client"
67
- Requires-Dist: numpy>=1.24.0; extra == "client"
68
68
  Provides-Extra: engine
69
- Requires-Dist: numpy>=1.24.0; extra == "engine"
70
69
  Provides-Extra: torch
71
70
  Requires-Dist: torch>=2.0; extra == "torch"
72
71
  Provides-Extra: qasm
73
72
  Requires-Dist: openqasm3[parser]>=1.0; extra == "qasm"
74
73
  Provides-Extra: full
75
- Requires-Dist: requests>=2.31.0; extra == "full"
76
- Requires-Dist: numpy>=1.24.0; extra == "full"
77
74
  Requires-Dist: torch>=2.0; extra == "full"
78
75
  Requires-Dist: openqasm3[parser]>=1.0; extra == "full"
79
76
  Dynamic: license-file
@@ -1,14 +1,11 @@
1
+ numpy>=1.24.0
2
+ requests>=2.31.0
1
3
 
2
4
  [client]
3
- requests>=2.31.0
4
- numpy>=1.24.0
5
5
 
6
6
  [engine]
7
- numpy>=1.24.0
8
7
 
9
8
  [full]
10
- requests>=2.31.0
11
- numpy>=1.24.0
12
9
  torch>=2.0
13
10
  openqasm3[parser]>=1.0
14
11
 
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