Skip to content

Commit

Permalink
Bump executorlib from 0.0.10 to 0.1.0 (#292)
Browse files Browse the repository at this point in the history
* 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] <[email protected]>

* [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] <[email protected]>
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 <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
4 people authored Feb 4, 2025
1 parent 4b11065 commit 34aa552
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .ci_support/environment-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ dependencies:
- mpich =4.2.3
- numpy =1.26.4
- mpi4py =4.0.1
- executorlib =0.0.10
- executorlib =0.1.0
- ase =3.24.0
- scipy =1.15.1
2 changes: 1 addition & 1 deletion .ci_support/environment-old.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ dependencies:
- openmpi
- numpy =1.23.5
- mpi4py =3.1.4
- executorlib =0.0.5
- executorlib =0.1.0
- ase =3.23.0
- scipy =1.9.3
2 changes: 1 addition & 1 deletion .ci_support/environment-openmpi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ dependencies:
- openmpi =5.0.5
- numpy =1.26.4
- mpi4py =4.0.1
- executorlib =0.0.10
- executorlib =0.1.0
- ase =3.24.0
- scipy =1.15.1
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ classifiers = [
]
dependencies = [
"mpi4py==4.0.1",
"executorlib==0.0.10",
"executorlib==0.1.0",
"numpy==1.26.4",
]
dynamic = ["version"]
Expand Down
4 changes: 2 additions & 2 deletions tests/test_executor.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import unittest
from ase.build import bulk
from executorlib import Executor
from executorlib import SingleNodeExecutor
from executorlib.standalone.serialize import cloudpickle_register
from pylammpsmpi import LammpsASELibrary

Expand Down Expand Up @@ -38,7 +38,7 @@ def calc_lmp(structure):

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

0 comments on commit 34aa552

Please sign in to comment.