-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: refactoring launcher module #3649
Open
germa89
wants to merge
61
commits into
main
Choose a base branch
from
refactor/launcher
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
+3,910
−2,402
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Thanks for opening a Pull Request. If you want to perform a review write a comment saying: @ansys-reviewer-bot review |
…into refactor/launcher
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3649 +/- ##
==========================================
- Coverage 87.09% 86.58% -0.52%
==========================================
Files 187 196 +9
Lines 14697 14943 +246
==========================================
+ Hits 12801 12938 +137
- Misses 1896 2005 +109 |
* build: bump the minimal group with 2 updates Bumps the minimal group with 2 updates: [numpy](https://github.com/numpy/numpy) and [psutil](https://github.com/giampaolo/psutil). Updates from 2.2.2 to 2.2.3 - [Release notes](https://github.com/numpy/numpy/releases) - [Changelog](https://github.com/numpy/numpy/blob/main/doc/RELEASE_WALKTHROUGH.rst) - [Commits](numpy/numpy@v2.2.2...v2.2.3) Updates from 6.1.1 to 7.0.0 - [Changelog](https://github.com/giampaolo/psutil/blob/master/HISTORY.rst) - [Commits](giampaolo/psutil@release-6.1.1...release-7.0.0) --- updated-dependencies: - dependency-name: numpy dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minimal - dependency-name: psutil dependency-type: direct:production update-type: version-update:semver-major dependency-group: minimal ... Signed-off-by: dependabot[bot] <support@github.com> * chore: adding changelog file 3742.maintenance.md [dependabot-skip] --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: pyansys-ci-bot <92810346+pyansys-ci-bot@users.noreply.github.com>
…roup (#3744) * build: bump pyansys-tools-report in the testing group Bumps the testing group with 1 update: [pyansys-tools-report](https://github.com/ansys/pyansys-tools-report). Updates `pyansys-tools-report` from 0.8.1 to 0.8.2 - [Release notes](https://github.com/ansys/pyansys-tools-report/releases) - [Commits](ansys/pyansys-tools-report@v0.8.1...v0.8.2) --- updated-dependencies: - dependency-name: pyansys-tools-report dependency-type: direct:production update-type: version-update:semver-patch dependency-group: testing ... Signed-off-by: dependabot[bot] <support@github.com> * chore: adding changelog file 3744.dependencies.md [dependabot-skip] --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: pyansys-ci-bot <92810346+pyansys-ci-bot@users.noreply.github.com>
… group (#3743) * build: bump sphinx-gallery in the documentation group Bumps the documentation group with 1 update: [sphinx-gallery](https://github.com/sphinx-gallery/sphinx-gallery). Updates `sphinx-gallery` from 0.18.0 to 0.19.0 - [Release notes](https://github.com/sphinx-gallery/sphinx-gallery/releases) - [Changelog](https://github.com/sphinx-gallery/sphinx-gallery/blob/master/.github_changelog_generator) - [Commits](sphinx-gallery/sphinx-gallery@v0.18.0...v0.19.0) --- updated-dependencies: - dependency-name: sphinx-gallery dependency-type: direct:production update-type: version-update:semver-minor dependency-group: documentation ... Signed-off-by: dependabot[bot] <support@github.com> * chore: adding changelog file 3743.dependencies.md [dependabot-skip] --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: pyansys-ci-bot <92810346+pyansys-ci-bot@users.noreply.github.com>
* docs: homogenizing prefixes * docs: improving table header * chore: adding changelog file 3737.documentation.md [dependabot-skip] --------- Co-authored-by: pyansys-ci-bot <92810346+pyansys-ci-bot@users.noreply.github.com>
* fix: harfrq command * chore: adding changelog file 3729.fixed.md [dependabot-skip] --------- Co-authored-by: pyansys-ci-bot <92810346+pyansys-ci-bot@users.noreply.github.com>
* feat: adding opened attribute * feat: adding opened attribute * chore: adding changelog file 3731.miscellaneous.md [dependabot-skip] * docs: adding docstring * fix: tests * fix: test --------- Co-authored-by: pyansys-ci-bot <92810346+pyansys-ci-bot@users.noreply.github.com>
* build: update sphinx-autodoc-typehints to 3.0.1 * chore: adding changelog file 3733.dependencies.md [dependabot-skip] --------- Co-authored-by: pyansys-ci-bot <92810346+pyansys-ci-bot@users.noreply.github.com>
* fix: ram units * chore: adding changelog file 3730.fixed.md [dependabot-skip] --------- Co-authored-by: pyansys-ci-bot <92810346+pyansys-ci-bot@users.noreply.github.com>
* feat: allowing numpy types for setting parameters * docs: adding comment * chore: adding changelog file 3720.fixed.md [dependabot-skip] * fix: parameters length to 32+ * feat: update to 32 chars variable * fix: test --------- Co-authored-by: pyansys-ci-bot <92810346+pyansys-ci-bot@users.noreply.github.com>
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/codespell-project/codespell: v2.2.2 → v2.2.4](codespell-project/codespell@v2.2.2...v2.2.4) - [github.com/python-jsonschema/check-jsonschema: 0.21.0 → 0.22.0](python-jsonschema/check-jsonschema@0.21.0...0.22.0) * Fixing codespell * Fixing pre-commit * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * simplifying accepted words list * [pre-commit.ci] pre-commit autoupdate updates: - [github.com/psf/black: 23.1.0 → 23.3.0](psf/black@23.1.0...23.3.0) * Updating also blackend * [pre-commit.ci] pre-commit autoupdate updates: - [github.com/adamchainz/blacken-docs: 1.13.0 → 1.14.0](adamchainz/blacken-docs@1.13.0...1.14.0) - [github.com/codespell-project/codespell: v2.2.4 → v2.2.5](codespell-project/codespell@v2.2.4...v2.2.5) - [github.com/python-jsonschema/check-jsonschema: 0.23.1 → 0.23.2](python-jsonschema/check-jsonschema@0.23.1...0.23.2) * removing vale warnings * Adding words to ignore * [pre-commit.ci] pre-commit autoupdate updates: - [github.com/psf/black: 23.10.0 → 23.10.1](psf/black@23.10.0...23.10.1) * [pre-commit.ci] pre-commit autoupdate updates: - [github.com/python-jsonschema/check-jsonschema: 0.27.0 → 0.27.1](python-jsonschema/check-jsonschema@0.27.0...0.27.1) * [pre-commit.ci] pre-commit autoupdate updates: - [github.com/psf/black: 23.10.1 → 23.11.0](psf/black@23.10.1...23.11.0) * Updating blacken-docs * [pre-commit.ci] pre-commit autoupdate updates: - [github.com/pycqa/isort: 5.13.0 → 5.13.2](PyCQA/isort@5.13.0...5.13.2) - [github.com/psf/black: 23.11.0 → 23.12.0](psf/black@23.11.0...23.12.0) * [pre-commit.ci] pre-commit autoupdate updates: - [github.com/psf/black: 23.12.0 → 23.12.1](psf/black@23.12.0...23.12.1) * lower * [pre-commit.ci] pre-commit autoupdate updates: - [github.com/psf/black: 24.1.1 → 24.2.0](psf/black@24.1.1...24.2.0) - [github.com/python-jsonschema/check-jsonschema: 0.27.4 → 0.28.0](python-jsonschema/check-jsonschema@0.27.4...0.28.0) * [pre-commit.ci] pre-commit autoupdate updates: - [github.com/ansys/pre-commit-hooks: v0.2.8 → v0.2.9](ansys/pre-commit-hooks@v0.2.8...v0.2.9) * installing xindy * [pre-commit.ci] pre-commit autoupdate updates: - [github.com/psf/black: 24.3.0 → 24.4.0](psf/black@24.3.0...24.4.0) - [github.com/python-jsonschema/check-jsonschema: 0.28.1 → 0.28.2](python-jsonschema/check-jsonschema@0.28.1...0.28.2) * Updating black in blacken * [pre-commit.ci] pre-commit autoupdate updates: - [github.com/ansys/pre-commit-hooks: v0.2.9 → v0.3.1](ansys/pre-commit-hooks@v0.2.9...v0.3.1) - [github.com/psf/black: 24.4.0 → 24.4.2](psf/black@24.4.0...24.4.2) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * [pre-commit.ci] pre-commit autoupdate updates: - [github.com/ansys/pre-commit-hooks: v0.3.1 → v0.4.2](ansys/pre-commit-hooks@v0.3.1...v0.4.2) - [github.com/psf/black: 24.4.2 → 24.8.0](psf/black@24.4.2...24.8.0) - [github.com/PyCQA/flake8: 7.1.0 → 7.1.1](PyCQA/flake8@7.1.0...7.1.1) * chore: adding changelog file 3330.miscellaneous.md * Update .pre-commit-config.yaml * ci: pre-commit autoupdate updates: - [github.com/codespell-project/codespell: v2.3.0 → v2.4.0](codespell-project/codespell@v2.3.0...v2.4.0) * chore: adding changelog file 3710.maintenance.md [dependabot-skip] * fix: pre-commit warnings * chore: adding changelog file 3710.documentation.md [dependabot-skip] * maint: update codespell * ci: pre-commit autoupdate updates: - [github.com/pycqa/isort: 5.13.2 → 6.0.0](PyCQA/isort@5.13.2...6.0.0) - [github.com/psf/black: 24.10.0 → 25.1.0](psf/black@24.10.0...25.1.0) - [github.com/python-jsonschema/check-jsonschema: 0.31.0 → 0.31.1](python-jsonschema/check-jsonschema@0.31.0...0.31.1) * chore: adding changelog file 3723.maintenance.md [dependabot-skip] * ci: auto fixes from pre-commit.com hooks. for more information, see https://pre-commit.ci * build: update black * ci: auto fixes from pre-commit.com hooks. for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: German <germanmartinezayuso@gmail.com> Co-authored-by: pyansys-ci-bot <92810346+pyansys-ci-bot@users.noreply.github.com> Co-authored-by: German <28149841+germa89@users.noreply.github.com>
…#3727) * build: bump the documentation group across 1 directory with 3 updates Bumps the documentation group with 3 updates in the / directory: [ansys-sphinx-theme](https://github.com/ansys/ansys-sphinx-theme), [plotly](https://github.com/plotly/plotly.py) and [sphinx-notfound-page](https://github.com/readthedocs/sphinx-notfound-page). Updates `ansys-sphinx-theme` from 1.2.6 to 1.3.1 - [Release notes](https://github.com/ansys/ansys-sphinx-theme/releases) - [Commits](ansys/ansys-sphinx-theme@v1.2.6...v1.3.1) Updates `plotly` from 5.24.1 to 6.0.0 - [Release notes](https://github.com/plotly/plotly.py/releases) - [Changelog](https://github.com/plotly/plotly.py/blob/master/CHANGELOG.md) - [Commits](plotly/plotly.py@v5.24.1...v6.0.0) Updates `sphinx-notfound-page` from 1.0.4 to 1.1.0 - [Changelog](https://github.com/readthedocs/sphinx-notfound-page/blob/main/CHANGELOG.rst) - [Commits](readthedocs/sphinx-notfound-page@1.0.4...1.1.0) --- updated-dependencies: - dependency-name: ansys-sphinx-theme dependency-type: direct:production update-type: version-update:semver-minor dependency-group: documentation - dependency-name: plotly dependency-type: direct:production update-type: version-update:semver-major dependency-group: documentation - dependency-name: sphinx-notfound-page dependency-type: direct:production update-type: version-update:semver-minor dependency-group: documentation ... Signed-off-by: dependabot[bot] <support@github.com> * chore: adding changelog file 3727.dependencies.md [dependabot-skip] --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: pyansys-ci-bot <92810346+pyansys-ci-bot@users.noreply.github.com>
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/codespell-project/codespell: v2.2.2 → v2.2.4](codespell-project/codespell@v2.2.2...v2.2.4) - [github.com/python-jsonschema/check-jsonschema: 0.21.0 → 0.22.0](python-jsonschema/check-jsonschema@0.21.0...0.22.0) * Fixing codespell * Fixing pre-commit * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * simplifying accepted words list * [pre-commit.ci] pre-commit autoupdate updates: - [github.com/psf/black: 23.1.0 → 23.3.0](psf/black@23.1.0...23.3.0) * Updating also blackend * [pre-commit.ci] pre-commit autoupdate updates: - [github.com/adamchainz/blacken-docs: 1.13.0 → 1.14.0](adamchainz/blacken-docs@1.13.0...1.14.0) - [github.com/codespell-project/codespell: v2.2.4 → v2.2.5](codespell-project/codespell@v2.2.4...v2.2.5) - [github.com/python-jsonschema/check-jsonschema: 0.23.1 → 0.23.2](python-jsonschema/check-jsonschema@0.23.1...0.23.2) * removing vale warnings * Adding words to ignore * [pre-commit.ci] pre-commit autoupdate updates: - [github.com/psf/black: 23.10.0 → 23.10.1](psf/black@23.10.0...23.10.1) * [pre-commit.ci] pre-commit autoupdate updates: - [github.com/python-jsonschema/check-jsonschema: 0.27.0 → 0.27.1](python-jsonschema/check-jsonschema@0.27.0...0.27.1) * [pre-commit.ci] pre-commit autoupdate updates: - [github.com/psf/black: 23.10.1 → 23.11.0](psf/black@23.10.1...23.11.0) * Updating blacken-docs * [pre-commit.ci] pre-commit autoupdate updates: - [github.com/pycqa/isort: 5.13.0 → 5.13.2](PyCQA/isort@5.13.0...5.13.2) - [github.com/psf/black: 23.11.0 → 23.12.0](psf/black@23.11.0...23.12.0) * [pre-commit.ci] pre-commit autoupdate updates: - [github.com/psf/black: 23.12.0 → 23.12.1](psf/black@23.12.0...23.12.1) * lower * [pre-commit.ci] pre-commit autoupdate updates: - [github.com/psf/black: 24.1.1 → 24.2.0](psf/black@24.1.1...24.2.0) - [github.com/python-jsonschema/check-jsonschema: 0.27.4 → 0.28.0](python-jsonschema/check-jsonschema@0.27.4...0.28.0) * [pre-commit.ci] pre-commit autoupdate updates: - [github.com/ansys/pre-commit-hooks: v0.2.8 → v0.2.9](ansys/pre-commit-hooks@v0.2.8...v0.2.9) * installing xindy * [pre-commit.ci] pre-commit autoupdate updates: - [github.com/psf/black: 24.3.0 → 24.4.0](psf/black@24.3.0...24.4.0) - [github.com/python-jsonschema/check-jsonschema: 0.28.1 → 0.28.2](python-jsonschema/check-jsonschema@0.28.1...0.28.2) * Updating black in blacken * [pre-commit.ci] pre-commit autoupdate updates: - [github.com/ansys/pre-commit-hooks: v0.2.9 → v0.3.1](ansys/pre-commit-hooks@v0.2.9...v0.3.1) - [github.com/psf/black: 24.4.0 → 24.4.2](psf/black@24.4.0...24.4.2) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * [pre-commit.ci] pre-commit autoupdate updates: - [github.com/ansys/pre-commit-hooks: v0.3.1 → v0.4.2](ansys/pre-commit-hooks@v0.3.1...v0.4.2) - [github.com/psf/black: 24.4.2 → 24.8.0](psf/black@24.4.2...24.8.0) - [github.com/PyCQA/flake8: 7.1.0 → 7.1.1](PyCQA/flake8@7.1.0...7.1.1) * chore: adding changelog file 3330.miscellaneous.md * Update .pre-commit-config.yaml * ci: pre-commit autoupdate updates: - [github.com/codespell-project/codespell: v2.3.0 → v2.4.0](codespell-project/codespell@v2.3.0...v2.4.0) * chore: adding changelog file 3710.maintenance.md [dependabot-skip] * fix: pre-commit warnings * chore: adding changelog file 3710.documentation.md [dependabot-skip] * maint: update codespell --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: German <germanmartinezayuso@gmail.com> Co-authored-by: pyansys-ci-bot <92810346+pyansys-ci-bot@users.noreply.github.com> Co-authored-by: German <28149841+germa89@users.noreply.github.com>
* feat: using cached for removing lock file when exiting * test: adding tests * chore: adding changelog file 3709.fixed.md [dependabot-skip] * fix: vulnerabilities warning * fix: warnings import * chore: revert "fix: warnings import" This reverts commit 5593e6b. * fix: warnings import --------- Co-authored-by: pyansys-ci-bot <92810346+pyansys-ci-bot@users.noreply.github.com>
* test: refactor check_stds and post_mortem_checks * test: backing off algorithm * chore: adding changelog file 3703.added.md [dependabot-skip] * fix: codacity warnings * feat: using get_value to obtain the n elements * revert: revert "feat: using get_value to obtain the n elements" Performance is not as go This reverts commit 877f803. * feat: using get_value to obtain the n elements * revert: revert "feat: using get_value to obtain the n elements" Performance is not as go This reverts commit 877f803. * feat: using mapdl.exit when raising final error. * test: fix test by avoiding killing mapdl. * fix: test * fix: test * feat: adding warnings when restarting MAPDL during testing * fix: test * feat: caching requires_package * test: adding more tests * chore: adding changelog file 3705.added.md [dependabot-skip] * chore: adding changelog file 3705.added.md [dependabot-skip] * fix: warnings import * feat: not reconnecting if MAPDL already exited * test: adding tests * chore: adding changelog file 3708.miscellaneous.md [dependabot-skip] * fix: tests --------- Co-authored-by: pyansys-ci-bot <92810346+pyansys-ci-bot@users.noreply.github.com>
* test: __del__method. * refactor: simplifying exit * chore: adding changelog file 3738.fixed.md [dependabot-skip] * refactor: simplyfing for other interfaces. * feat: exiting mapdl * feat: adding __del__ to mapdl_console * fix: improve job ID handling and remove atexit registration in MAPDL core --------- Co-authored-by: pyansys-ci-bot <92810346+pyansys-ci-bot@users.noreply.github.com>
8a8154a
to
d0e9ae5
Compare
for more information, see https://pre-commit.ci
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
CI/CD
Related with CICD, Github Actions, etc
maintenance
General maintenance of the repo (libraries, cicd, etc)
new feature
Request or proposal for a new feature
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
As the title to facilitate the future HPC additions.
Issue linked
NA
Checklist
draft
if it is not ready to be reviewed yet.feat: adding new MAPDL command
)