Skip to content

Commit ac13773

Browse files
committed
pycompss_dummy no-need of pycompss
1 parent 0e2564e commit ac13773

13 files changed

Lines changed: 537 additions & 143 deletions

File tree

pyproject.toml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,12 @@ classifiers = [
1818
"Topic :: System :: Distributed Computing",
1919
"Topic :: Software Development :: Libraries :: Application Frameworks",
2020
"Programming Language :: Python :: 3",
21-
"Programming Language :: Python :: 3.9",
2221
"Programming Language :: Python :: 3.10",
2322
"Programming Language :: Python :: 3.11",
2423
"Programming Language :: Python :: 3.12",
2524
"Programming Language :: Python :: 3 :: Only",
2625
]
27-
requires-python = ">=3.9,<3.13"
26+
requires-python = ">=3.10,<3.13"
2827
dependencies = [
2928
"aiorwlock>=1.4.0",
3029
"bcrypt>=4.1.1",
@@ -116,5 +115,5 @@ include = ["src/dataclay", "src/storage", "dataclay-common", "compile_protos.py"
116115
[tool.hatch.version]
117116
path = "src/dataclay/__init__.py"
118117

119-
[tool.hatch.build.hooks.custom]
120-
path = "compile_protos.py"
118+
#[tool.hatch.build.hooks.custom]
119+
#path = "compile_protos.py"

src/dataclay/contrib/pycompss_dummy/api.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,10 @@
2525

2626
import os
2727

28-
from pycompss.util.typing_helper import typing
28+
try:
29+
from pycompss.util.typing_helper import typing
30+
except ModuleNotFoundError:
31+
import typing
2932

3033

3134
def compss_start(

src/dataclay/contrib/pycompss_dummy/constraint.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
This file contains the dummy class constraint used as decorator.
2424
"""
2525

26-
from pycompss.api.dummy._decorator import _Dummy as Dummy
26+
from _decorator import _Dummy as Dummy
2727

2828
Constraint = Dummy # pylint: disable=invalid-name
2929
constraint = Dummy # pylint: disable=invalid-name

src/dataclay/contrib/pycompss_dummy/container.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
This file contains the dummy class container used as decorator.
2424
"""
2525

26-
from pycompss.api.dummy._decorator import _Dummy as Dummy
26+
from _decorator import _Dummy as Dummy
2727

2828
Container = Dummy # pylint: disable=invalid-name
2929
container = Dummy # pylint: disable=invalid-name

src/dataclay/contrib/pycompss_dummy/on_failure.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
This file contains the dummy class on failure used as decorator.
2424
"""
2525

26-
from pycompss.api.dummy._decorator import _Dummy as Dummy
26+
from _decorator import _Dummy as Dummy
2727

2828
OnFailure = Dummy # pylint: disable=invalid-name
2929
on_failure = Dummy # pylint: disable=invalid-name

src/dataclay/contrib/pycompss_dummy/reduction.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
This file contains the dummy class reduction used as decorator.
2424
"""
2525

26-
from pycompss.api.dummy._decorator import _Dummy as Dummy
26+
from _decorator import _Dummy as Dummy
2727

2828
Reduction = Dummy # pylint: disable=invalid-name
2929
reduction = Dummy # pylint: disable=invalid-name

src/dataclay/contrib/pycompss_dummy/task.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
This file contains the dummy class task used as decorator.
2424
"""
2525

26-
from pycompss.api.dummy._decorator import _Dummy as Dummy
26+
from _decorator import _Dummy as Dummy
2727

2828
Task = Dummy # pylint: disable=invalid-name
2929
task = Dummy # pylint: disable=invalid-name

src/dataclay/proto/backend/backend_pb2.py

Lines changed: 14 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)