Skip to content

Commit

Permalink
Merge pull request #82 from ericpre/pin_imageio_add_py4stem
Browse files Browse the repository at this point in the history
Update version and add py4stem
  • Loading branch information
ericpre authored May 14, 2023
2 parents 4cdd632 + 849d3db commit f1c72a7
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 33 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ jobs:
TARGET_PLATFORM: osx-arm64
env:
TEST_DEPS: pytest pytest-qt pytest-xdist pytest-rerunfailures
LIB_TO_TEST: lumispy pyxem
LIB_TO_TEST: lumispy pyxem kikuchipy
# Fails on linux-mkl build
LIB_TO_TEST_SKIP: '-k "not test_results_dict_to_crystal_map"'
DISPLAY: ':0'
Expand Down Expand Up @@ -160,7 +160,7 @@ jobs:
echo "Original installer name: " $installer_name
# Rename installer name according to BLAS_IMPL
if [ ${{ matrix.TARGET_PLATFORM }} = osx-arm64 ]; then
CPU=M1
CPU=Silicon
elif [ ${{ matrix.BLAS_IMPL }} = mkl ]; then
CPU=Intel
else
Expand Down Expand Up @@ -294,8 +294,8 @@ jobs:
WP_EXE: winpython.exe
WP_DIR_NAME: WPy64-31090
TEST_DEPS: pytest pytest-qt pytest-xdist pytest-rerunfailures
LIB_TO_INSTALL: abtem ase atomap graphviz hdf5plugin hyperspy[all] hyperspyui kikuchipy lumispy matplotlib-scalebar nglview particlespy pystackreg python-rapidjson pyxem scanning_drift_corr start_jupyter_cm
LIB_TO_TEST: lumispy pyxem
LIB_TO_INSTALL: abtem ase atomap graphviz hdf5plugin hyperspy[all] hyperspyui kikuchipy lumispy matplotlib-scalebar nglview py4dstem particlespy pystackreg python-rapidjson pyxem scanning_drift_corr start_jupyter_cm
LIB_TO_TEST: lumispy pyxem kikuchipy
LIB_TO_TEST_SKIP: ''

steps:
Expand Down Expand Up @@ -396,7 +396,6 @@ jobs:
MPLBACKEND: 'agg'
run: |
call "${{ env.WP_DIR_NAME }}\scripts\env.bat"
# Skip these tests until there are fixed
pytest --pyargs hyperspy --reruns 3 -n 2
- name: Run other test suites
Expand Down
11 changes: 6 additions & 5 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@
# Required
version: 2

# Set the version of Python and other tools you might need
build:
os: "ubuntu-22.04"
tools:
python: "mambaforge-4.10"

# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/conf.py
Expand All @@ -13,10 +19,5 @@ sphinx:
formats:
- htmlzip

build:
os: "ubuntu-20.04"
tools:
python: "mambaforge-4.10"

conda:
environment: conda_environment.yml
4 changes: 2 additions & 2 deletions RELEASE_TEXT.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ For Windows and Linux, there is the choice between two variants, which are optim

For Mac, there are also two variants available:
- `Intel` for Mac computers with Intel CPU
- `M1` for Mac computers with Apple Silicon (M1) CPU
- `Silicon` for Mac computers with Apple Silicon (M1, M2, etc.) CPU

For included packages, [see documentation](https://hyperspy.org/hyperspy-bundle/index.html#included-software-and-libraries).

This distribution is built using [constructor 3.3.1](https://github.com/conda/constructor).
This distribution is built using [constructor 3.4.3](https://github.com/conda/constructor).

## Portable (Windows only)
The portable distribution is based on the [WinPython](https://winpython.github.io) distribution and is a self-extracting archive. Running the installer will install the distribution in the current directory. Since the distribution is portable, it can be moved to any directory or run from an external drive.
Expand Down
13 changes: 6 additions & 7 deletions conda_distribution/construct.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ specs:
- dask >=2021.08.1
- dask-labextension
- hdf5plugin
- hyperspy >=1.7.4
- hyperspyui >=1.2.0
- hyperspy >=1.7.5
- hyperspyui >=1.3.1
- ipympl
- jupyterlab >=3.0.0,<4.0
- kikuchipy >=0.8.4
Expand All @@ -39,17 +39,16 @@ specs:
- ovito # [win]
- ovito =3.7 # [not win]
- particlespy
- py4dstem
- pystackreg
- python 3.10*
- python-graphviz
- python-rapidjson
- pyxem >=0.15
- pyxem >=0.15.1
- openpyxl
# https://github.com/jupyter/qtconsole/issues/576
- qtconsole =5.4.1
- qtconsole >=5.4.3
- scanning_drift_corr
# to use qtconsole 5.4.1
- spyder =5.4.2
- spyder >=5.4.3
- start_jupyter_cm
- xlrd

Expand Down
18 changes: 6 additions & 12 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,17 +65,8 @@
html_favicon = '_static/hyperspy.ico'

html_theme_options = {
"github_url": "https://github.com/hyperspy/hyperspy-bundle",
"icon_links": [
{
# Label for this link
"name": "GitHub",
# URL where the link will redirect
"url": "https://github.com/hyperspy/hyperspy-bundle", # required
# Icon class (if "type": "fontawesome"), or path to local image (if "type": "local")
"icon": "fab fa-github-square",
# The type of image to be used (see below for details)
"type": "fontawesome",
},
{
# Label for this link
"name": "HyperSpy",
Expand All @@ -86,6 +77,11 @@
# The type of image to be used (see below for details)
"type": "local",
},
{
"name": "Gitter",
"url": "https://gitter.im/hyperspy/hyperspy",
"icon": "fab fa-gitter",
},
{
# Label for this link
"name": "Release",
Expand All @@ -96,8 +92,6 @@
# The type of image to be used (see below for details)
"type": "url",
},


],
"logo": {
"text": "HyperSpy-bundle",
Expand Down
4 changes: 2 additions & 2 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ Table of Contents
Variants of the HyperSpy-bundle
===============================

It is compatible with Windows, MacOS (Intel or native M1), or Linux and comes
with variants, which are optimised for AMD or Intel processors.
It is compatible with Windows, MacOS (Intel and Apple Silicon), or Linux and comes
with variants, which are optimised for AMD (using openblas) or Intel (using MKL) processors.
The portable version is supported on windows only.

Standard Version
Expand Down

0 comments on commit f1c72a7

Please sign in to comment.