asp-chef-cli 0.4.22__tar.gz → 0.5.0__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.
- {asp_chef_cli-0.4.22 → asp_chef_cli-0.5.0}/PKG-INFO +6 -9
- {asp_chef_cli-0.4.22 → asp_chef_cli-0.5.0}/asp_chef_cli/server/routers/dumbo.py +1 -1
- {asp_chef_cli-0.4.22 → asp_chef_cli-0.5.0}/pyproject.toml +10 -8
- {asp_chef_cli-0.4.22 → asp_chef_cli-0.5.0}/LICENSE +0 -0
- {asp_chef_cli-0.4.22 → asp_chef_cli-0.5.0}/README.md +0 -0
- {asp_chef_cli-0.4.22 → asp_chef_cli-0.5.0}/asp_chef_cli/__init__.py +0 -0
- {asp_chef_cli-0.4.22 → asp_chef_cli-0.5.0}/asp_chef_cli/__main__.py +0 -0
- {asp_chef_cli-0.4.22 → asp_chef_cli-0.5.0}/asp_chef_cli/cli.py +0 -0
- {asp_chef_cli-0.4.22 → asp_chef_cli-0.5.0}/asp_chef_cli/server/__init__.py +0 -0
- {asp_chef_cli-0.4.22 → asp_chef_cli-0.5.0}/asp_chef_cli/server/dependencies.py +0 -0
- {asp_chef_cli-0.4.22 → asp_chef_cli-0.5.0}/asp_chef_cli/server/main.py +0 -0
- {asp_chef_cli-0.4.22 → asp_chef_cli-0.5.0}/asp_chef_cli/server/routers/__init__.py +0 -0
- {asp_chef_cli-0.4.22 → asp_chef_cli-0.5.0}/asp_chef_cli/server/routers/clingo.py +0 -0
- {asp_chef_cli-0.4.22 → asp_chef_cli-0.5.0}/asp_chef_cli/server/routers/opa.py +0 -0
|
@@ -1,20 +1,17 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: asp-chef-cli
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.5.0
|
|
4
4
|
Summary: A simple CLI to run ASP Chef recipes
|
|
5
5
|
Author: Mario Alviano
|
|
6
6
|
Author-email: mario.alviano@gmail.com
|
|
7
|
-
Requires-Python: >=3.
|
|
7
|
+
Requires-Python: >=3.13,<4.0
|
|
8
8
|
Classifier: Programming Language :: Python :: 3
|
|
9
|
-
Classifier: Programming Language :: Python :: 3.12
|
|
10
9
|
Classifier: Programming Language :: Python :: 3.13
|
|
11
|
-
Requires-Dist: dumbo-asp (>=0.
|
|
12
|
-
Requires-Dist: fastapi (>=0.
|
|
10
|
+
Requires-Dist: dumbo-asp (>=0.4.0,<0.5.0)
|
|
11
|
+
Requires-Dist: fastapi (>=0.129.0,<0.130.0)
|
|
13
12
|
Requires-Dist: opa-python (>=0.0.9,<0.0.10)
|
|
14
|
-
Requires-Dist: pytest-playwright (>=0.
|
|
15
|
-
Requires-Dist:
|
|
16
|
-
Requires-Dist: typer (>=0.12.3,<0.13.0)
|
|
17
|
-
Requires-Dist: uvicorn (>=0.30.1,<0.31.0)
|
|
13
|
+
Requires-Dist: pytest-playwright (>=0.7.2,<0.8.0)
|
|
14
|
+
Requires-Dist: uvicorn (>=0.40.0,<0.41.0)
|
|
18
15
|
Description-Content-Type: text/markdown
|
|
19
16
|
|
|
20
17
|
# ASP Chef CLI
|
|
@@ -204,7 +204,7 @@ async def _(json):
|
|
|
204
204
|
cmd.append("-n0")
|
|
205
205
|
casper_process[uuid] = subprocess.Popen(cmd, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
|
206
206
|
out, err = casper_process[uuid].communicate(program.encode())
|
|
207
|
-
timeout_reached: Final =
|
|
207
|
+
timeout_reached: Final = casper_process[uuid].returncode == 124
|
|
208
208
|
casper_process[uuid] = None
|
|
209
209
|
|
|
210
210
|
# report errors
|
|
@@ -1,18 +1,16 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "asp-chef-cli"
|
|
3
|
-
version = "0.
|
|
3
|
+
version = "0.5.0"
|
|
4
4
|
description = "A simple CLI to run ASP Chef recipes"
|
|
5
5
|
authors = ["Mario Alviano <mario.alviano@gmail.com>"]
|
|
6
6
|
readme = "README.md"
|
|
7
7
|
|
|
8
8
|
[tool.poetry.dependencies]
|
|
9
|
-
python = "
|
|
10
|
-
pytest-playwright = "^0.
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
uvicorn = "^0.30.1"
|
|
15
|
-
fastapi = "^0.111.0"
|
|
9
|
+
python = ">=3.13,<4.0"
|
|
10
|
+
pytest-playwright = "^0.7.2"
|
|
11
|
+
dumbo-asp = "^0.4.0"
|
|
12
|
+
uvicorn = "^0.40.0"
|
|
13
|
+
fastapi = "^0.129.0"
|
|
16
14
|
opa-python = "^0.0.9"
|
|
17
15
|
|
|
18
16
|
|
|
@@ -20,5 +18,9 @@ opa-python = "^0.0.9"
|
|
|
20
18
|
requires = ["poetry-core"]
|
|
21
19
|
build-backend = "poetry.core.masonry.api"
|
|
22
20
|
|
|
21
|
+
[tool.poetry.group.dev.dependencies]
|
|
22
|
+
coverage = "^7.8.0"
|
|
23
|
+
pytest = "^9.0.2"
|
|
24
|
+
|
|
23
25
|
[tool.poetry.scripts]
|
|
24
26
|
asp-chef-cli = "asp_chef_cli.cli:run_app"
|
|
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
|