dapi 0.4.1__tar.gz → 0.4.5__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.3
2
2
  Name: dapi
3
- Version: 0.4.1
3
+ Version: 0.4.5
4
4
  Summary: DesignSafe API
5
5
  Author: Krishna Kumar
6
6
  Author-email: krishnak@utexas.edu
@@ -11,15 +11,17 @@ Classifier: Programming Language :: Python :: 3.10
11
11
  Classifier: Programming Language :: Python :: 3.11
12
12
  Classifier: Programming Language :: Python :: 3.12
13
13
  Classifier: Programming Language :: Python :: 3.13
14
- Requires-Dist: exceptiongroup (>=1.3.0,<2.0.0)
14
+ Requires-Dist: exceptiongroup (>=1.3.0,<2.0.0) ; python_version < "3.11"
15
15
  Requires-Dist: griffe (>=1.7.3,<2.0.0)
16
16
  Requires-Dist: jsonschema (>=4.24.0,<5.0.0)
17
17
  Requires-Dist: mkdocs (>=1.6.1,<2.0.0)
18
18
  Requires-Dist: mkdocs-autorefs (>=1.4.2,<2.0.0)
19
19
  Requires-Dist: mkdocs-material (>=9.6.14,<10.0.0)
20
20
  Requires-Dist: mkdocstrings (>=0.29.1,<0.30.0)
21
- Requires-Dist: numpy (>=1.21.0,<2.1.0)
22
- Requires-Dist: pandas (>=1.3.0,<3.0.0)
21
+ Requires-Dist: numpy (>=1.21.0) ; python_version >= "3.10"
22
+ Requires-Dist: numpy (>=1.21.0,<2.0) ; python_version == "3.9"
23
+ Requires-Dist: pandas (>=1.3.0,<3.0.0) ; python_version == "3.9"
24
+ Requires-Dist: pandas (>=2.1.0) ; python_version >= "3.10"
23
25
  Requires-Dist: pymysql (>=1.1.1,<2.0.0)
24
26
  Requires-Dist: python-dotenv (>=1.1.0,<2.0.0)
25
27
  Requires-Dist: sqlalchemy (>=2.0.41,<3.0.0)
@@ -77,23 +77,7 @@ from .jobs import (
77
77
  TAPIS_TERMINAL_STATES,
78
78
  )
79
79
 
80
-
81
- def _get_version():
82
- """Read version from pyproject.toml"""
83
- import tomllib
84
- from pathlib import Path
85
-
86
- try:
87
- pyproject_path = Path(__file__).parent.parent / "pyproject.toml"
88
- with open(pyproject_path, "rb") as f:
89
- pyproject = tomllib.load(f)
90
- return pyproject["tool"]["poetry"]["version"]
91
- except (FileNotFoundError, KeyError, ImportError):
92
- # Fallback version if pyproject.toml can't be read
93
- return "unknown"
94
-
95
-
96
- __version__ = _get_version()
80
+ __version__ = "0.4.5"
97
81
 
98
82
  __all__ = [
99
83
  "DSClient",
@@ -0,0 +1,50 @@
1
+ [tool.poetry]
2
+ name = "dapi"
3
+ version = "0.4.5"
4
+ description = "DesignSafe API"
5
+ authors = [
6
+ "Krishna Kumar <krishnak@utexas.edu>",
7
+ "Pedro Arduino <parduino@uw.edu>",
8
+ "Scott Brandenberg <sjbrandenberg@ucla.edu>",
9
+ ]
10
+ readme = "README.md"
11
+ packages = [{include = "dapi"}]
12
+
13
+ [tool.poetry.dependencies]
14
+ python = "^3.9" # Project supports Python 3.9 and newer
15
+
16
+ # Numpy versioning
17
+ numpy = [
18
+ { version = ">=1.21.0,<2.0", python = "~3.9" }, # For Python 3.9.x
19
+ { version = ">=1.21.0", python = ">=3.10" } # For Python 3.10 and newer (latest compatible)
20
+ ]
21
+
22
+ # Pandas versioning
23
+ pandas = [
24
+ { version = ">=1.3.0,<3.0.0", python = "~3.9" }, # For Python 3.9.x
25
+ { version = ">=2.1.0", python = ">=3.10" } # For Python 3.10 and newer (latest compatible)
26
+ ]
27
+ sqlalchemy = "^2.0.41"
28
+ pymysql = "^1.1.1"
29
+ python-dotenv = "^1.1.0"
30
+ tqdm = "^4.67.1"
31
+ # exceptiongroup is a backport for ExceptionGroup, which is built-in in Python 3.11+
32
+ # This will install exceptiongroup only for Python versions less than 3.11 (i.e., 3.9 and 3.10)
33
+ exceptiongroup = { version = "^1.3.0", python = "<3.11" }
34
+ tapipy = "^1.8.4"
35
+ jsonschema = "^4.24.0"
36
+ mkdocs = "^1.6.1"
37
+ mkdocs-material = "^9.6.14"
38
+ mkdocstrings = "^0.29.1"
39
+ mkdocs-autorefs = "^1.4.2"
40
+ griffe = "^1.7.3"
41
+
42
+ [tool.poetry.group.dev.dependencies]
43
+ pytest = "^7.4.2"
44
+ black = {extras = ["jupyter"], version = "^23.11.0"}
45
+ pdoc = "^14.1.0"
46
+ ipykernel = "^6.26.0"
47
+
48
+ [build-system]
49
+ requires = ["poetry-core"]
50
+ build-backend = "poetry.core.masonry.api"
dapi-0.4.1/pyproject.toml DELETED
@@ -1,38 +0,0 @@
1
- [tool.poetry]
2
- name = "dapi"
3
- version = "0.4.1"
4
- description = "DesignSafe API"
5
- authors = [
6
- "Krishna Kumar <krishnak@utexas.edu>",
7
- "Pedro Arduino <parduino@uw.edu>",
8
- "Scott Brandenberg <sjbrandenberg@ucla.edu>",
9
- ]
10
- readme = "README.md"
11
- packages = [{include = "dapi"}]
12
-
13
- [tool.poetry.dependencies]
14
- python = "^3.9"
15
- numpy = ">=1.21.0,<2.1.0"
16
- pandas = ">=1.3.0,<3.0.0"
17
- sqlalchemy = "^2.0.41"
18
- pymysql = "^1.1.1"
19
- python-dotenv = "^1.1.0"
20
- tqdm = "^4.67.1"
21
- exceptiongroup = "^1.3.0"
22
- tapipy = "^1.8.4"
23
- jsonschema = "^4.24.0"
24
- mkdocs = "^1.6.1"
25
- mkdocs-material = "^9.6.14"
26
- mkdocstrings = "^0.29.1"
27
- mkdocs-autorefs = "^1.4.2"
28
- griffe = "^1.7.3"
29
-
30
- [tool.poetry.group.dev.dependencies]
31
- pytest = "^7.4.2"
32
- black = {extras = ["jupyter"], version = "^23.11.0"}
33
- pdoc = "^14.1.0"
34
- ipykernel = "^6.26.0"
35
-
36
- [build-system]
37
- requires = ["poetry-core"]
38
- build-backend = "poetry.core.masonry.api"
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