eagar-tsai v0.5.0 Release Notes
Overview
This release moves matplotlib and pyvista out of the default install and into an optional plot extra. It also adds progress bars to the three batch entry points, along with contributing guidelines and a code of conduct.
Breaking Changes
matplotlibandpyvistaare no longer installed with the package. They have moved to a newplotextra:uv add "eagar-tsai[plot]"orpip install "eagar-tsai[plot]".plot.pyis now imported lazily through a module-level__getattr__, soimport eagar_tsaino longer loads the plotting stack, whileplot_temperature_field,plot_temperature_field_3d, andplot_printability_mapstay importable from the top-level namespace and still appear indir(eagar_tsai). Because the import is deferred, a missing extra raisesImportErrorat the point a plotting function is called rather than at import time; the same applies to the.plot()and.plot_3d()methods onMeltPoolResult,TemperatureField, andTemperatureVolume. The error message names the extra to install. Existing environments that rely on plotting need to reinstall with it.
New Features
compute_melt_pool(),compute_printability_map(), andcompute_temperature_volumes()each gain ashow_progresskeyword argument, defaultTrue, which displays atqdmbar over chunks, grid points, and rows respectively. Both the serial and parallel paths report progress. Set it toFalsefor quiet output in scripts and batch jobs.tqdmis a new runtime dependency.
Other Changes
CONTRIBUTING.mddocuments the development setup, tooling, and pull request workflow.CODE_OF_CONDUCT.mdadopts the Contributor Covenant.pytest-covwas removed from the dev dependencies.- Documentation was updated to cover the
plotextra and mark the sections that require it, to enable the mkdocs content tabs link plugin so tab selections stay in sync across a page, and to state Python 3.12+ as the requirement, matching the versions that are built and tested. The release date inCITATION.cffwas updated.
What's Changed
- Make
matplotlib/pyvistaoptional by @dogusariturk in #91 - Add tqdm progress bars to long-running tasks by @dogusariturk in #92
- Add contributing guidelines in 931b747
- Add a Code of Conduct file in 081a2d9
- Update docs to require Python 3.12+ in fafa894
- Remove
pytest-covfrom dev dependencies in 7f8639d - Update release date in CITATION.cff in bb8f18c
- Bump scipy from 1.18.0 to 1.18.1 by @dependabot[bot] in #90
- Bump ruff from 0.16.2 to 0.16.5 by @dependabot[bot] in #89
- Bump ty from 0.0.70 to 0.0.76 by @dependabot[bot] in #88
- Bump prek from 0.4.13 to 0.5.0 by @dependabot[bot] in #86
- Bump astral-sh/setup-uv from 9.0.0 to 10.0.1 by @dependabot[bot] in #87
- Bump https://github.com/astral-sh/ruff-pre-commit from v0.16.1 to 0.16.5 by @dependabot[bot] in #85
- Bump https://github.com/astral-sh/uv-pre-commit from 0.12.1 to 0.12.7 by @dependabot[bot] in #84
Full Changelog: v0.4.2...v0.5.0