asp-chef-cli 0.5.2__tar.gz → 0.5.4__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,13 +1,13 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: asp-chef-cli
3
- Version: 0.5.2
3
+ Version: 0.5.4
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
7
  Requires-Python: >=3.13,<4.0
8
8
  Classifier: Programming Language :: Python :: 3
9
9
  Classifier: Programming Language :: Python :: 3.13
10
- Requires-Dist: dumbo-asp (>=0.4.0,<0.5.0)
10
+ Requires-Dist: dumbo-asp (>=0.4.2,<0.5.0)
11
11
  Requires-Dist: fastapi (>=0.129.0,<0.130.0)
12
12
  Requires-Dist: httpx (>=0.28.1,<0.29.0)
13
13
  Requires-Dist: opa-python (>=0.0.9,<0.0.10)
@@ -120,8 +120,9 @@ async def _(json):
120
120
  @endpoint(router, "/sdl/")
121
121
  async def _(json):
122
122
  program = json["program"]
123
+ minizinc = json["minizinc"]
123
124
  result = subprocess.check_output(
124
- ["./run.sh"],
125
+ ["./run.sh", "minizinc" if minizinc else "asp"],
125
126
  input=program.encode(),
126
127
  cwd="../SDL",
127
128
  )
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "asp-chef-cli"
3
- version = "0.5.2"
3
+ version = "0.5.4"
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"
@@ -8,7 +8,7 @@ readme = "README.md"
8
8
  [tool.poetry.dependencies]
9
9
  python = ">=3.13,<4.0"
10
10
  pytest-playwright = "^0.7.2"
11
- dumbo-asp = "^0.4.0"
11
+ dumbo-asp = "^0.4.2"
12
12
  uvicorn = "^0.40.0"
13
13
  fastapi = "^0.129.0"
14
14
  opa-python = "^0.0.9"
File without changes
File without changes