Skip to content

Commit

Permalink
Merge pull request #36 from hyperspy/RELEASE_1.4
Browse files Browse the repository at this point in the history
Release v1.4
  • Loading branch information
ericpre authored Apr 13, 2021
2 parents fa9c1e6 + c5bb978 commit 62fd667
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 8 deletions.
23 changes: 17 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,18 +67,29 @@ jobs:
run: |
ls dist/
- name: Install and test distribution
- uses: actions/upload-artifact@v2
with:
path: |
./dist/*.whl
./dist/*.tar.gz
- name: Install Dependencies
run: |
pip install pyqt5
sudo apt-get install -y libxkbcommon-x11-0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xinerama0 libxcb-xinput0 libxcb-xfixes0
- name: Install package
env:
MPLBACKEND: agg
run: |
pip install --find-links dist hyperspy_gui_traitsui[tests]
pytest --pyargs hyperspy_gui_traitsui
- uses: actions/upload-artifact@v2
- name: Run test suite
# run the tests headlessly
uses: GabrielBB/xvfb-action@v1
with:
path: |
./dist/*.whl
./dist/*.tar.gz
run: pytest --pyargs hyperspy_gui_traitsui

- name: Publish wheels to PyPI
if: github.repository_owner == 'hyperspy'
Expand Down
18 changes: 18 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
..
Add a single entry in the corresponding section below.
See https://keepachangelog.com for details
1.5.0.dev0 (Unreleased)
-----------------------



1.4.0
-----
The is a minor release:

* Fix closing contrast editor tool.
* Add iterpath to fit component GUI.
* Make axes gui compatible with non-unform axis.
* Use GitHub Actions to run the test suite and make release.

2 changes: 1 addition & 1 deletion hyperspy_gui_traitsui/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.4.dev0"
__version__ = "1.5.0.dev0"
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Science/Research",
Expand All @@ -79,7 +80,7 @@
# your project is installed. For an analysis of "install_requires" vs pip's
# requirements files see:
# https://packaging.python.org/en/latest/requirements.html
install_requires=['hyperspy>=1.6', 'traitsui>=6.0'],
install_requires=['hyperspy>=1.6.2', 'traitsui>=6.0'],
extras_require={
'tests': ['pytest'],
'coverage':["pytest-cov", "codecov"]},
Expand Down

0 comments on commit 62fd667

Please sign in to comment.