Skip to content

Commit

Permalink
Version 1.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ashwinvis committed May 7, 2021
1 parent f0dc24a commit 4e52464
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 3 deletions.
27 changes: 26 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,30 @@ Security in case of vulnerabilities.

## [Unreleased]

## [1.4.1] - 2021-05-07

Backwards compatible release with a lot of housekeeping and some usability
improvements. This will be the last release to support Python 3.6 and Xarray <
0.18.0

### Added

- Common function available from the top-level `import pymech as pm`
- Extras requirements to install `mayavi` and `rich` with
`pip install 'pymech[full]'`
- Experimental {func}`pymech.vtksuite.writevtk`
- Environment variable PYMECH_DEBUG to control logging level. See {mod}`pymech.log`

### Changed

- Swap optional `colorlog` logger with `rich` in {mod}`pymech.log`
- Refresh {func}`pymech.vtksuite.exa2vtk` implementation on an experimental basis

### Fixed

- Format entire code base with `black`
- Improve docs

## [1.4.0] - 2020-11-16

### Added
Expand Down Expand Up @@ -86,7 +110,8 @@ writing
### Changed
- Miscellaneous improvements in documentation, testing and packaging

[Unreleased]: https://github.com/eX-Mech/pymech/compare/1.4.0...HEAD
[Unreleased]: https://github.com/eX-Mech/pymech/compare/1.4.1...HEAD
[1.4.1]: https://github.com/eX-Mech/pymech/compare/1.4.0...1.4.1
[1.4.0]: https://github.com/eX-Mech/pymech/compare/1.3.3...1.4.0
[1.3.3]: https://github.com/eX-Mech/pymech/compare/1.3.2...1.3.3
[1.3.2]: https://github.com/eX-Mech/pymech/compare/1.3.1...1.3.2
Expand Down
9 changes: 7 additions & 2 deletions pymech/vtksuite.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,16 @@

import numpy as np

from .log import logger

logger.warning(
"The module pymech.vtksuite is experimental in nature and "
"may have some rough edges. The functions can also change in the future."
)

try:
from tvtk.api import tvtk, write_data
except ImportError:
from .log import logger

logger.warning("To use VTK functions,\n pip install mayavi")


Expand Down
3 changes: 3 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ project-urls =
classifiers =
Intended Audience :: Science/Research
Programming Language :: Python :: 3
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Operating System :: OS Independent

Expand Down

0 comments on commit 4e52464

Please sign in to comment.