Skip to content

Commit

Permalink
Merge pull request #43 from ericpre/add_python3.10
Browse files Browse the repository at this point in the history
Add python3.10
  • Loading branch information
jlaehne authored Apr 8, 2022
2 parents a25e662 + 2889e68 commit 5c0cdf7
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 12 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
VERSION: ${{ env.VERSION }}
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Create Release
id: create_release
uses: actions/create-release@v1
Expand All @@ -40,10 +40,10 @@ jobs:
needs: create_release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v3
with:
python-version: 3.8

Expand All @@ -67,7 +67,7 @@ jobs:
run: |
ls dist/
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
with:
path: |
./dist/*.whl
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,25 +15,25 @@ jobs:
strategy:
fail-fast: false
matrix:
PYTHON_VERSION: [3.7, 3.9]
PYTHON_VERSION: ['3.7', '3.9', '3.10']
PIP_SELECTOR: ['[tests]']
LABEL: [-RnM]
include:
- PYTHON_VERSION: 3.8
- PYTHON_VERSION: '3.8'
PIP_SELECTOR: '[tests]'
LABEL: -Release
- PYTHON_VERSION: 3.8
- PYTHON_VERSION: '3.8'
PIP_SELECTOR: '[tests]'
LABEL: -RnP
- PYTHON_VERSION: 3.8
- PYTHON_VERSION: '3.8'
PIP_SELECTOR: '[tests, coverage]'
LABEL: -RnM-coverage
PYTEST_ARGS_COVERAGE: --cov=. --cov-report=xml

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- uses: actions/setup-python@v2
- uses: actions/setup-python@v3
name: Install Python
with:
python-version: ${{ matrix.PYTHON_VERSION }}
Expand Down Expand Up @@ -73,5 +73,5 @@ jobs:

- name: Upload coverage to Codecov
if: contains( matrix.PYTEST_ARGS_COVERAGE, 'cov')
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v2

3 changes: 2 additions & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
* Add `is_binned` to axis GUI, make index of the navigation axis editable ([#39](https://github.com/hyperspy/hyperspy_gui_traitsui/pull/39)).
* Fix loading GUI ([#38](https://github.com/hyperspy/hyperspy_gui_traitsui/pull/38)).
* Improve rendering changelog on github and fix hyperlinks in `README.md` ([#42](https://github.com/hyperspy/hyperspy_gui_traitsui/pull/42)).
* Speed up import time by importing submodules lazily ([#41](https://github.com/hyperspy/hyperspy_gui_traitsui/pull/41))
* Speed up import time by importing submodules lazily and drop support for python 3.6 ([#41](https://github.com/hyperspy/hyperspy_gui_traitsui/pull/41)).
* Add python 3.10 to github CI and update github actions versions ([#43](https://github.com/hyperspy/hyperspy_gui_traitsui/pull/43)).

## v1.4.0 (2021-04-13)

Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Science/Research",
Expand Down

0 comments on commit 5c0cdf7

Please sign in to comment.