Releases: ansys/pymapdl
v0.68.6
v0.68.5
chore: updating CHANGELOG for v0.68.5
v0.68.4
Hello PyMAPDL user!
This is patch release aims to fix some PyMAPDL bugs, and improve internal package workflows.
What's Changed
New Features
- test: skip test by @germa89 in #3259
- ci: run extended array based on the person who open the PR by @germa89 in #3256
Bug fixes or behavior changes
- ci: wrong tagging on the coverage artifacts by @germa89 in #3225
- fix: local tests always running as student by @germa89 in #3251
- fix: not deleting temporary file when
remove_temp_dir_on_exit
=True by @germa89 in #3247 - fix: avoid inspecting suspended processes by @germa89 in #3227
- fix: incorrect env vars section by @germa89 in #3252
- fix: Raising
ValueError
when using ips within pool library by @germa89 in #3240 - fix: missing arguments on
OCDATA
command by @germa89 in #3226 - fix: pool issues by @germa89 in #3266
Documentation
- docs: documenting new naming conventions for commits, branches and PRs. by @germa89 in #3228
- build: bump certifi from 2024.2.2 to 2024.7.4 in /doc/source/examples/extended_examples/hpc by @dependabot in #3242
- build: removing reredirect sphinx extension by @germa89 in #3224
- docs: adapt static images to dark/light themes by @germa89 in #3249
- build: update ansys-api-mapdl to 0.5.2 by @germa89 in #3255
- build: bump zipp from 3.17.0 to 3.19.1 in /doc/source/examples/extended_examples/hpc by @dependabot in #3261
Maintenance
- ci: Use CICD only on
v*
tags. by @germa89 in #3186 - fix: using same labels everywhere by @germa89 in #3188
- ci: checking documentation style in
Examples
directory too by @germa89 in #3191 - ci: Update julia testing by @germa89 in #3211
- ci: Fix missing labels format in dependabot file by @germa89 in #3204
- build: bump importlib-metadata from 7.2.0 to 7.2.1 in the minimal group by @dependabot in #3212
- build: bump scipy from 1.13.1 to 1.14.0 in the core group by @dependabot in #3213
- build: bump the documentation group with 2 updates by @dependabot in #3214
- build: bump autopep8 from 2.3.0 to 2.3.1 in the testing group by @dependabot in #3215
- build: bump importlib-metadata from 7.2.1 to 8.0.0 in the minimal group by @dependabot in #3229
- ci: improving if to match also schedule and workflow_dispatch by @germa89 in #3223
- ci: increase the files checked for changes before load docs cache by @germa89 in #3237
- build: bump the core group with 2 updates by @dependabot in #3241
- ci: Using a dynamically generated matrix for testing job setup by @germa89 in #3232
- ci: Adding v251 CentOS based image to testing by @germa89 in #3210
- build: update requirements in devcontainer directory by @germa89 in #3217
- build: bump grpcio from 1.64.1 to 1.65.0 in the grpc-deps group by @dependabot in #3270
Release notes: https://mapdl.docs.pyansys.com/version/stable/changelog.html
Full Changelog: v0.68.3...v0.68.4
v0.68.3
Hello PyMAPDL user!
This is patch release is just to implement a new in-memory backend which is highly experimental. No bug fix or other enhancements are included. Sorry for the inconvenience!
Release notes: https://mapdl.docs.pyansys.com/version/stable/changelog.html
Full Changelog: v0.68.2...v0.68.3
v0.68.2
Hello PyMAPDL user!
This is patch release aimed to fix some of PyMAPDL bugs, and improve some internal inner package workings.
Main changes
- Added or fixed some MAPDL command: #3023, and #3037.
- Improved
MapdlPool
class to connect to multiple remote IPs #3048
>>> pool = MapdlPool(ip=["127.0.0.2", "127.0.0.3", "127.0.0.4"])
Creating Pool: 100%|########| 3/3 [00:01<00:00, 1.43it/
- Added HPC documentation #2966
- Added an ML-Genetic Algorithm example #2981
What's Changed
Added
- feat: add a MAPDL version section in for bug issues #2982
- feat: adding some env var print to report #2999
- feat: adding
cycexpand
command #3023 - feat: update
vfquery
#3037 - feat: add argument to disable run_at_connect in
MapdlGrpc
#3047 - feat: allowing passing IP to
MapdlPool
#3048 - feat: add argument to disable run_at_connect in MapdlGrpc #3049
- feat: converting chained APDL commands to PyMAPDL context manager #3154
- feat: allowing multiple IPs for remote connection on
MapdlPool
#3166 - feat: implementing
ansys/actions/changelogs
and adding release note in documentation #3019 - feat: adding option to
_ctrl
command #3002 - feat: making old API function discoverable when Click is not installed #3086
Changed
- refactor: refactoring CLI #2960
- ci: having only one set of Dependabot rules #3107
- ci: adding tag for doc review #3118
- ci: remove OS package duplicate #3147
- ci: using trusted publisher release process #3171
Fixed
- fix: avoiding future sphinx warning #3035
- fix: update the general files to align with PyAnsys standards #3151
- fix: combine the
docker-compose
files #3169
Documentation
- docs: adding previous changes in
changelog.d
repository #3182 - docs: clarifying MAPDL commands API section #3071
- docs: HPC documentation #2966
- docs: adding ML-Genetic Algorithm example #2981
- docs: customize agent for linkchecker #2998
- docs: setting docs version to v241 #3024
- docs: adding documentation about remote mapdl pool #3046
- docs: update a minor typo in
mapdl.rst
#3140
Dependencies
- build: bump autopep8 from 2.2.0 to 2.3.0 in the testing group #3179
- build: bump pyvista[trame] from 0.43.9 to 0.43.10 #3180
- build: bump ansys-sphinx-theme from 0.16.5 to 0.16.6 in the core group across 1 directory #3181
Miscellaneous
- chore: removing cdb files #3036
New Contributors
- @SMoraisAnsys made their first contribution in #3147
- @longzhenW made their first contribution in #3140
Release notes: https://mapdl.docs.pyansys.com/version/stable/changelog.html
Full Changelog: v0.68.1...v0.68.2
v0.68.1
This is patch release aimed to fix some of PyMAPDL bugs, and improve some internal inner package inner workings.
Main changes
- Fixing not passing
start_instance
. Bug wherestart_instance
was not passed when provided as argument tolaunch_mapdl
. - Improving precision in array retrieval. The precision for arrays obtained from the MAPDL has been greatly improved.
- Allow
pool
to connect to remote MAPDL instances. Now you can spawn several MAPDL instances and useMapdlPool
to connect to them using theport
argument:
from ansys.mapdl.core.pool import LocalMapdlPool
pool = MapdlPool(2, start_instance=False, port=[50092, 50093])
print(pool)
- Legend glyphs improvements. The glyphs for boundary conditions are now fixed
What's Changed
New Features
- Adding screenshot method. by @germa89 in #2846
- Update trnopt command to 23R2. by @germa89 in #2852
- Removing redundancies by @germa89 in #2854
- Allow
pool
to connect to remote MAPDL instances by @germa89 in #2862 - Adding more error catching by @germa89 in #2901
- Legend glyphs improvements by @germa89 in #2902
- Adding a warning if there is a conflict between env vars and arguments by @germa89 in #2913
- ci: use
feat/seo-improvements
branch ofansys/actions
for doc-deploy by @Revathyvenugopal162 in #2930 - Improving precision in array retrieval by @germa89 in #2955
Bug fixes or behavior changes
- Downgrading packages by @germa89 in #2843
- Avoiding loading pyvista objects with module by @germa89 in #2873
- Fixing not passing start_instance by @germa89 in #2878
- Fix edge case were MAPDL to start and we do not initialize self._version by @germa89 in #2897
- Fixing the image cache issue by @germa89 in #2898
- Adding codecov token to the uploader action by @germa89 in #2880
- Revert "MAINT: Bump the documentation group in /.devcontainer with 3 updates (#2884)" by @germa89 in #2900
- Skipping
test_xpl.py::test_save
on v24.2 by @germa89 in #2905 - Renaming LocalMapdlPool class by @germa89 in #2907
- Fix linkchecker workflow by @germa89 in #2906
- Fixing infinite loop cache cleaner by @germa89 in #2917
- Avoiding having both "start_instance" and "ip" set. by @germa89 in #2912
- Ignoring
PYMAPDL_START_INSTANCE
env var on CLIpymapdl start
by @germa89 in #2915 - Fix doc builds in Windows by @germa89 in #2922
- Fix Windows tests by @germa89 in #2918
- Fixing escaping characters in docstrings by @germa89 in #2952
Documentation
- Fix documentation by @germa89 in #2848
- Using tabs more widely by @germa89 in #2849
- maint:
conf.py
by @clatapie in #2869 - Updating
README.rst
file by @clatapie in #2132 - Some format fix in docstrings by @germa89 in #2954
Maintenance
- Update to 0.69.dev by @germa89 in #2832
- Do not use cache if on release or updating dependencies by @germa89 in #2831
- MAINT: Bump the testing group with 1 update by @dependabot in #2835
- Update Pandas in codespaces by @germa89 in #2842
- Using only one script to launch MAPDL by @germa89 in #2863
- Running docker pull in the background by @germa89 in #2864
- Cleaning and externalising functions in ci.yml by @germa89 in #2868
- MAINT: Bump the actions group with 1 update by @dependabot in #2870
- Setting julia cicd by @germa89 in #2874
- Update ansys-sphinx-theme by @germa89 in #2876
- MAINT: Bump the core group with 1 update by @dependabot in #2890
- MAINT: Bump the grpc-deps group with 1 update by @dependabot in #2889
- MAINT: Bump the documentation group with 1 update by @dependabot in #2899
- MAINT: Bump pyvista[trame] from 0.43.3 to 0.43.4 by @dependabot in #2895
- MAINT: Bump the testing group with 2 updates by @dependabot in #2893
- MAINT: Bump the actions group with 2 updates by @dependabot in #2909
- Using while in cache cleaner branch side by @germa89 in #2911
- Adding a more comprehensive printing in pytest by @germa89 in #2920
- MAINT: Bump the testing group with 1 update by @dependabot in #2925
- Adding v242 to CICD by @germa89 in #2929
- MAINT: Bump the testing group with 1 update by @dependabot in #2943
- MAINT: Bump the documentation group with 1 update by @dependabot in #2942
- MAINT: Bump the actions group with 1 update by @dependabot in #2958
- Update minimal python version by @germa89 in #2956
Full Changelog: v0.68.0...v0.68.1
v0.68.0
Hey PyMAPDL users!
We've got some exciting updates coming your way with the latest release of our beloved pymapdl
package! 🚀
This version do an important effort in improving PyMAPDL documentation and also solve many bug fixes.
There are also some important new features and enhancements.
Let's break it down and see what goodies await in version 0.68.0! 🎉✨
Main features
- We have a new logo! 🎉
- Python 3.12 is now supported! 🐍 and Python 3.8 support is discontinued.
- Now everyone can open a pull request against PyMAPDL repository without being a collaborator 🤓
- Added an entrypoint to start and stop MAPDL instances 💻. You can also use this entrypoint to converter MAPDL code to PyMAPDL code.
- We have PDF documentation! 📖
- Improved documentation! 📝 More resources, updated verification manual examples, Improve launcher documentation, API and contribution sections, documenting non-interactive, etc.
- Lots of enhancements For instance Components API, Converter, etc...
- Lots of bug fixes!
What's Changed
New Features
- Renaming
mapdl.mode
tomapdl.connection
by @germa89 in #2431 - Create a minimal requirements file by @germa89 in #2443
- feat: add support for Python 3.12 by @RobPasMue in #2507
- Improving Components API by @germa89 in #2471
- Adding entry point to launch_mapdl by @germa89 in #2533
- Improving cmlist to allow
to_list
by @germa89 in #2571 - Removing secrets from CICD: Part I Docs and local by @germa89 in #2583
- Improving port being busy detection by @germa89 in #2603
Enhancements
- Bumping dev version by @germa89 in #2420
- Preserving case style in additional_switches by @germa89 in #2421
- Improving converter by @germa89 in #2433
- Implementing
save_selection
and small change in Components API by @germa89 in #2454 - Adding context to install/support jupyter lab by @germa89 in #2470
- Fixing plot indexing by @germa89 in #2476
- Allowing latest as version by @germa89 in #2515
- Moving functions to Mapdl class by @germa89 in #2468
inquire
return something when no=
in response by @germa89 in #2522- Deprecate Dyna explicit commands by @germa89 in #2525
- Refactoring base Mapdl class. by @germa89 in #2518
- Not running auto approver by default by @germa89 in #2576
- Updating license and copyright by @germa89 in #2594
- Adding headers using pre-commit by @germa89 in #2597
- Avoing logging operations on a closed file at exiting. by @germa89 in #2615
- Avoiding cache if pyproject is not modified by @germa89 in #2607
- Checking number of processors before launching. by @germa89 in #2616
- Improving logging when starting fails by @germa89 in #2637
- Update logo based on theme in readme by @Revathyvenugopal162 in #2649
- Improving coverage by @germa89 in #2650
- Allowing only one worker in pool by @germa89 in #2656
- Replacing with super() in custom error classes by @germa89 in #2672
- Deriving all custom error from Exception and related by @germa89 in #2671
- Deprecating verbose by @germa89 in #2669
- Adding memory profiling pytest extension by @germa89 in #2701
- Small improvements to converter by @germa89 in #2749
- Reducing memory footprint by @germa89 in #2721
- Disabling catching all in logger by @germa89 in #2770
- Disabling session ID check by default by @germa89 in #2778
- Reorganizing CLI by @germa89 in #2776
Bug fixes or behavior changes
- Updating pyvista doc dependency by @germa89 in #2411
- Fixing vale warning by @clatapie in #2394
- Setting navigation with keys to False by @germa89 in #2445
- Fixing "Attaching modified files to PR" by @germa89 in #2439
- Marking flaky tests as xfail by @germa89 in #2446
- Fix vale 2.29.6 by @germa89 in #2475
- Fix
mapdl.get
always asking for multiline output when usingitem3
by @germa89 in #2467 - Removing vm step from minimal by @germa89 in #2492
- Avoiding running
get_array
andnon_interactive
raising exceptions by @germa89 in #2484 - Removing skip regression check cli argument by @germa89 in #2487
- Adding missing envvar for connection commands in CICD by @germa89 in #2380
- Fixing ubuntu CICD by @germa89 in #2541
- Fixing some plot bugs by @germa89 in #2537
- Fix respawning of pool instances have different names by @germa89 in #2493
- Fixing codecov number of builds by @germa89 in #2648
- fix: pyvista version by @clatapie in #2695
- Protect execution from specific exceptions by @germa89 in #2677
- fix: launch_mapdl with specific ip value by @clatapie in #2725
- Fixing nodes label order by @germa89 in #2720
- Delete array after retrieving by @germa89 in #2767
- Fix LGWRITE by @germa89 in #2779
- fix: pdf file in releases by @germa89 in #2665
- Fix get_value by @germa89 in #2773
- Installing xindy to fix PDF building process by @germa89 in #2804
- Avoiding issuing exit on any version until further notice by @germa89 in #2803
- Fix nightly by @germa89 in #2821
- Fix release again^2 by @germa89 in #2828
Documentation
- Updating vm files to 2023R2 by @germa89 in #2424
- Clarifying email usage by @germa89 in #2451
- Adding dev portal articles section by @germa89 in #2450
- Referencing the PDF in the docs by @germa89 in #2489
- Reducing README to avoid duplicity by @germa89 in #2490
- Improve launcher documentation by @germa89 in #2488
- API and contribution sections small reorganization by @germa89 in #2491
- Documenting non-interactive by @germa89 in #2496
- Update contributing file by @germa89 in #2527
- Fix 2D plate example by @germa89 in #2558
- Reworking post-processing section by @germa89 in #2578
- [doc] Small improvements to unit testing and precommit sections by @germa89 in #2621
- Adding PyMAPDL logo by @germa89 in #2647
- Deprecating corba in docs by @germa89 in #2639
- Fixing readme logo by @germa89 in #2654
- Modifying example in
user-guide
section by @clatapie in #2237 - Adding more info about contributing by @germa89 in https://github.com/ansys/pymapdl/pul...
v0.67.0
This release is mainly because of maintenance reasons. There is no big changes or new features.
What's Changed
Bug fixes or behavior changes
- Fixing no saving on exit by @germa89 in #2342
- Adding option to pytest to skip regression tests by @germa89 in #2350
- Bumping to 0.67.dev by @germa89 in #2348
- Adding lines to
kplot
andnplot
when using mouse picking by @germa89 in #2353 - Fixing some plot stuff and small gallery improvements by @germa89 in #2349
- Disabling database tests for v24.1 by @germa89 in #2392
- fix numpy typing import by @Gryfenfer97 in #2395
Documentation
- Add modal example by @germa89 in #2332
- doc: enhance search bar experience by using pymeilisearch by @jorgepiloto in #2368
- Removing edit button fix by @germa89 in #2341
- Bracket example by @germa89 in #2365
- fix: update the search indexing workflow and dependency by @Revathyvenugopal162 in #2388
Maintenance
- Bump matplotlib, pyvista, plotly and pyvista[trame] by @github-actions in #2345
- Bump docker/login-action from 2.2.0 to 3.0.0 by @dependabot in #2344
- Bump pandas from 2.1.0 to 2.1.1 by @dependabot in #2355
- Fixing multipr permissions. by @germa89 in #2366
- Bump imageio from 2.31.3 to 2.31.4 by @dependabot in #2371
- Bump numpydoc from 1.5.0 to 1.6.0 by @dependabot in #2374
- Bump sphinx from 7.2.2 to 7.2.6 by @dependabot in #2372
- Bump ansys-sphinx-theme from 0.11.2 to 0.12.0 by @dependabot in #2373
- Bump scipy from 1.11.2 to 1.11.3 by @dependabot in #2378
- Adding files to pull request by @germa89 in #2359
- Bump pyansys-tools-report from 0.6.0 to 0.7.0 by @dependabot in #2389
- Bump imageio from 2.31.4 to 2.31.5 by @dependabot in #2390
- Activate database testing in local. It should be skipped by pytest db fixture. by @germa89 in #2393
- Bump ansys-sphinx-theme from 0.12.0 to 0.12.2 by @dependabot in #2391
- Fixing temporal cicd by @clatapie in #2396
- Adding step for importing library and check plotting support. by @germa89 in #2399
Full Changelog: v0.66.0...v0.67.0
v0.66.0
This new release has focused in two things:
Improved geometry API for plotting 🎨 (#2125)
This PR allows a more easy to maintain geometry plot API. Further more eases different entities plots and grouping. Thanks to this we can use mapdl.cmplot
.
See Migration to the new geometry API
Introducing the component manager 🎰 (#2041)
Now you can access components using an API similar to the parameters one:
>>> mapdl.components
MAPDL Components
----------------
MYCOMP1 : NODE
MYCOMP2 : ELEM
and
>>> mapdl.components["mycomp1"]
Component(type='NODE', items=(1, 3, 6))
See Components API
Worth to mention 🤓
Additionally, we would like to highlight the following changes/improvements:
- Starting Windows-hosted MAPDL from WSL #2324.
- Improvements to the dev containers #2208
- More examples:
@ansys/pymapdl-maintainers and @ansys/pymapdl-developers hope you enjoy the new features! 🚀
What's Changed
New Features
- Implementing component manager by @germa89 in #2041
- Homogenizing geometry API by @germa89 in #2125
- Supporting CMPLOT by @germa89 in #2218
- Adding
mapdl.solution()
to enter in solution processor by @germa89 in #2293 - Supporting launching MAPDL from WSL by @germa89 in #2324
- Mesh selection by @germa89 in #2207
- Exposing more internal properties. by @germa89 in #2246
Bug fixes or behavior changes
- Fixing upper version limit by @germa89 in #2094
- Creating example directory when needed by @germa89 in #2111
- Changing
math
module calls intoansys-math-core
ones by @clatapie in #2102 - replace appdirs by platformdirs by @Gryfenfer97 in #2129
- Allowing savefig when vtk=false by @germa89 in #2143
- Adding trame by @germa89 in #2174
- Implementing unique session id by @germa89 in #1912
- Small improvements on the dev containers by @germa89 in #2208
- Detaching
examples
by @germa89 in #2192 - using PNG by default for plots. by @germa89 in #2205
- Fixing area coloring by @germa89 in #2195
- Removing xfails. by @germa89 in #2216
- Adding warning about CORBA deprecation. by @germa89 in #2219
- Added distributed test by @germa89 in #2263
- Check kwarg in mapdl.run by @germa89 in #2276
- Improving SATIN command by @germa89 in #2300
- Removing nightly doc build by @germa89 in #2294
- Pool improvements by @germa89 in #2277
- Improving connection commands testing by @germa89 in #2311
- Using quicker configuration to launch mapdl in unit tests by @germa89 in #2343
- Updating pyiges package flag by @germa89 in #2110
- Fix multidependabot ci by @germa89 in #2088
- Fix/logging by @Gryfenfer97 in #2118
- Fixing Pyvista for the next release by @germa89 in #2140
- Fix/mapdl_download by @germa89 in #2147
- Fixing non existing argument by @germa89 in #2152
- Fixing type annotation in python 3.8 by @germa89 in #2162
- Rolling back static python and scipy for python3.8 support by @germa89 in #2163
- Updating pymapdl-reader by @germa89 in #2175
- Fix redirection and link checker by @germa89 in #2172
- Adding missing
mapdl.tbdele
argument by @germa89 in #2186 - Updating docker targets by @germa89 in #2182
- Adding timeout to pool.getitem by @germa89 in #2176
- Fixing and extending theme. by @germa89 in #2170
- Improving 'file' command and testing by @germa89 in #2135
- Fix having to plot twice to get a file with size bigger than 3kb by @germa89 in #2141
- fix: Force render in example by @AlejandroFernandezLuces in #2046
- Adding missing import in queries by @germa89 in #2214
- Fixing vale warnings by @germa89 in #2228
- Fix retrieving non existing parameter by @germa89 in #2238
- Fix reminder bot by @germa89 in #2247
- Fixing linkcheck CICD by @germa89 in #2240
- Removing listing files in build docs. by @germa89 in #2251
- Removing extension from file name, and using explicitly the ext field. by @germa89 in #2257
- Fixing link in approver comment by @germa89 in #2262
- Fix ASBL command by @germa89 in #2267
- Quick fix in an example by @germa89 in #2297
- Fixing
post_processing
plots by @germa89 in #2295 - Fixing area meshing error in doc build by @germa89 in #2319
- Fix locally build docs in Windows by @germa89 in #2338
- Fix geometry connection command tests on earlier MAPDL versions by @germa89 in #2339
Documentation
- Rendering the last 5 versions in documentation by @germa89 in #2099
- Dropping Python 3.7 support by @clatapie in #2117
- Create an example of a GUI application with PySide6 by @Gryfenfer97 in #2095
- add a section to convert the app to an executable to examples by @Gryfenfer97 in #2100
- Links checker and redirection capabilities by @germa89 in #2090
- NumPy version depending on Python version by @clatapie in #2200
- Update basic_dpf_example.py by @akaszynski in #2008
- Adding a body flux example by @germa89 in #2233
- Add links for doc and cheat sheet by @PipKat in #2235
- Adding info about docker and MacOS by @germa89 in #2231
- More reorg rebranding by @germa89 in #2269
- Fixing pool example by @clatapie in #2303
- Updating checkout action by @germa89 in #2304
- Document better the arguments "replace_env_vars" and "add_env_vars" by @germa89 in #2309
- Small fixes in Krylov example by @germa89 in #2322
- Added articles to recommended by @germa89 in #2340
Maintenance
- Bump pandas from 2.0.1 to 2.0.2 by @dependabot in #2096
- Bump to 0.66 by @germa89 in #2097
- Bump imageio from 2.30.0 to 2.31.0 by @dependabot in #2105
- Bump ansys-mapdl-reader from 0.52.13 to 0.52.14 by @dependabot in #2106
- Bump plotly from 5.14.1 to 5.15.0 by @dependabot in #2107
- Bump ansys-mapdl-reader, pytest and imageio by @github-actions in #2115
- Fixing cache cleanup by @germa89 in #2124
- Bump ansys-mapdl-reader from 0.52.15 to 0.52.16 by @dependabot in #2139
- Bump scipy, pytest and sphinx-autodoc-typehints by @github-actions in #2145
- Bump scipy, pytest and sphinx-autodoc-typehints by @github-actions in #2146
- Bump pyansys-tools-report from 0.5.0 to 0.6.0 by @dependabot in #2153
- Bump scipy from 1.11.0 to 1.11.1 by @dependabot in #2154
- Bump pandas from 2.0.2 to 2.0.3 by @...
v0.65.2
What's Changed
Documentation
Maintenance
Full Changelog: v0.65.1...v0.65.2