Skip to content

Commit 34aa552

Browse files
dependabot[bot]github-actions[bot]jan-janssenpre-commit-ci[bot]
authored
Bump executorlib from 0.0.10 to 0.1.0 (#292)
* Bump executorlib from 0.0.10 to 0.1.0 Bumps [executorlib](https://github.com/pyiron/executorlib) from 0.0.10 to 0.1.0. - [Release notes](https://github.com/pyiron/executorlib/releases) - [Commits](pyiron/executorlib@executorlib-0.0.10...executorlib-0.1.0) --- updated-dependencies: - dependency-name: executorlib dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * [dependabot skip] Update environment * Update test_executor.py * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update test_executor.py * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update environment-old.yml --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Jan Janssen <jan-janssen@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 4b11065 commit 34aa552

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

.ci_support/environment-mpich.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ dependencies:
66
- mpich =4.2.3
77
- numpy =1.26.4
88
- mpi4py =4.0.1
9-
- executorlib =0.0.10
9+
- executorlib =0.1.0
1010
- ase =3.24.0
1111
- scipy =1.15.1

.ci_support/environment-old.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ dependencies:
55
- openmpi
66
- numpy =1.23.5
77
- mpi4py =3.1.4
8-
- executorlib =0.0.5
8+
- executorlib =0.1.0
99
- ase =3.23.0
1010
- scipy =1.9.3

.ci_support/environment-openmpi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ dependencies:
66
- openmpi =5.0.5
77
- numpy =1.26.4
88
- mpi4py =4.0.1
9-
- executorlib =0.0.10
9+
- executorlib =0.1.0
1010
- ase =3.24.0
1111
- scipy =1.15.1

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ classifiers = [
2525
]
2626
dependencies = [
2727
"mpi4py==4.0.1",
28-
"executorlib==0.0.10",
28+
"executorlib==0.1.0",
2929
"numpy==1.26.4",
3030
]
3131
dynamic = ["version"]

tests/test_executor.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import unittest
22
from ase.build import bulk
3-
from executorlib import Executor
3+
from executorlib import SingleNodeExecutor
44
from executorlib.standalone.serialize import cloudpickle_register
55
from pylammpsmpi import LammpsASELibrary
66

@@ -38,7 +38,7 @@ def calc_lmp(structure):
3838

3939
class TestWithExecutor(unittest.TestCase):
4040
def test_executor(self):
41-
with Executor(max_cores=2, backend="local", hostname_localhost=True) as exe:
41+
with SingleNodeExecutor(max_workers=2, hostname_localhost=True) as exe:
4242
cloudpickle_register(ind=1)
4343
future = exe.submit(calc_lmp, bulk("Al", cubic=True).repeat([2, 2, 2]))
4444
energy = future.result()

0 commit comments

Comments
 (0)