Skip to content

Commit 4e52464

Browse files
committed
Version 1.4.1
1 parent f0dc24a commit 4e52464

File tree

3 files changed

+36
-3
lines changed

3 files changed

+36
-3
lines changed

CHANGELOG.md

+26-1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,30 @@ Security in case of vulnerabilities.
2727

2828
## [Unreleased]
2929

30+
## [1.4.1] - 2021-05-07
31+
32+
Backwards compatible release with a lot of housekeeping and some usability
33+
improvements. This will be the last release to support Python 3.6 and Xarray <
34+
0.18.0
35+
36+
### Added
37+
38+
- Common function available from the top-level `import pymech as pm`
39+
- Extras requirements to install `mayavi` and `rich` with
40+
`pip install 'pymech[full]'`
41+
- Experimental {func}`pymech.vtksuite.writevtk`
42+
- Environment variable PYMECH_DEBUG to control logging level. See {mod}`pymech.log`
43+
44+
### Changed
45+
46+
- Swap optional `colorlog` logger with `rich` in {mod}`pymech.log`
47+
- Refresh {func}`pymech.vtksuite.exa2vtk` implementation on an experimental basis
48+
49+
### Fixed
50+
51+
- Format entire code base with `black`
52+
- Improve docs
53+
3054
## [1.4.0] - 2020-11-16
3155

3256
### Added
@@ -86,7 +110,8 @@ writing
86110
### Changed
87111
- Miscellaneous improvements in documentation, testing and packaging
88112

89-
[Unreleased]: https://github.com/eX-Mech/pymech/compare/1.4.0...HEAD
113+
[Unreleased]: https://github.com/eX-Mech/pymech/compare/1.4.1...HEAD
114+
[1.4.1]: https://github.com/eX-Mech/pymech/compare/1.4.0...1.4.1
90115
[1.4.0]: https://github.com/eX-Mech/pymech/compare/1.3.3...1.4.0
91116
[1.3.3]: https://github.com/eX-Mech/pymech/compare/1.3.2...1.3.3
92117
[1.3.2]: https://github.com/eX-Mech/pymech/compare/1.3.1...1.3.2

pymech/vtksuite.py

+7-2
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,16 @@
44

55
import numpy as np
66

7+
from .log import logger
8+
9+
logger.warning(
10+
"The module pymech.vtksuite is experimental in nature and "
11+
"may have some rough edges. The functions can also change in the future."
12+
)
13+
714
try:
815
from tvtk.api import tvtk, write_data
916
except ImportError:
10-
from .log import logger
11-
1217
logger.warning("To use VTK functions,\n pip install mayavi")
1318

1419

setup.cfg

+3
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ project-urls =
1313
classifiers =
1414
Intended Audience :: Science/Research
1515
Programming Language :: Python :: 3
16+
Programming Language :: Python :: 3.6
17+
Programming Language :: Python :: 3.7
18+
Programming Language :: Python :: 3.8
1619
License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
1720
Operating System :: OS Independent
1821

0 commit comments

Comments
 (0)