Skip to content

Commit 2e9be53

Browse files
committed
make release-tag: Merge branch 'main' into stable
2 parents daf58f9 + e64dbaf commit 2e9be53

File tree

13 files changed

+472
-243
lines changed

13 files changed

+472
-243
lines changed

.github/workflows/tests.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
runs-on: ${{ matrix.os }}
2929
strategy:
3030
matrix:
31-
python-version: [3.7, 3.8]
31+
python-version: ["3.8", "3.9", "3.10", "3.11"]
3232
os: [ubuntu-latest, macos-latest]
3333
steps:
3434
- uses: actions/checkout@v1
@@ -37,40 +37,40 @@ jobs:
3737
with:
3838
python-version: ${{ matrix.python-version }}
3939
- name: Install package and dependencies
40-
run: pip install rundoc .
40+
run: pip install invoke rundoc .
4141
- name: make test-readme
4242
run: make test-readme
4343

4444
unit:
4545
runs-on: ${{ matrix.os }}
4646
strategy:
4747
matrix:
48-
python-version: [3.7, 3.8]
49-
os: [ubuntu-latest, macos-latest]
48+
python-version: ["3.8", "3.9", "3.10", "3.11"]
49+
os: [ubuntu-latest, macos-latest, windows-latest]
5050
steps:
5151
- uses: actions/checkout@v1
5252
- name: Set up Python ${{ matrix.python-version }}
5353
uses: actions/setup-python@v2
5454
with:
5555
python-version: ${{ matrix.python-version }}
5656
- name: Install package and dependencies
57-
run: pip install .[test]
57+
run: pip install invoke .[test]
5858
- name: make test-unit
5959
run: make test-unit
6060

6161
tutorials:
6262
runs-on: ${{ matrix.os }}
6363
strategy:
6464
matrix:
65-
python-version: [3.7, 3.8]
66-
os: [ubuntu-latest, macos-latest]
65+
python-version: ["3.8", "3.9", "3.10", "3.11"]
66+
os: [ubuntu-latest, macos-latest, windows-latest]
6767
steps:
6868
- uses: actions/checkout@v1
6969
- name: Set up Python ${{ matrix.python-version }}
7070
uses: actions/setup-python@v2
7171
with:
7272
python-version: ${{ matrix.python-version }}
7373
- name: Install package and dependencies
74-
run: pip install .[test]
74+
run: pip install invoke .[test]
7575
- name: make test-tutorials
7676
run: make test-tutorials

HISTORY.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# History
22

3+
## 0.0.3 - 2024-03-12
4+
5+
SigPro supporting python 3.9, 3.10, and 3.11
6+
7+
* add gearbox_replace_presence labeling function - [Issue #21](https://github.com/signals-dev/Zephyr/issues/21) by @SaraPido
8+
* Update python versions - [Issue #20](https://github.com/signals-dev/Zephyr/issues/20) by @SaraPido
9+
10+
311
## 0.0.2 - 2023-05-09
412

513
SigPro integration for processing signals

Makefile

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,7 @@ install-develop: clean-build clean-pyc ## install the package in editable mode a
8484

8585
.PHONY: lint
8686
lint: ## check style with flake8 and isort
87-
flake8 zephyr_ml tests
88-
isort -c --recursive zephyr_ml tests
87+
invoke lint
8988

9089
.PHONY: fix-lint
9190
fix-lint: ## fix lint issues using autoflake, autopep8, and isort
@@ -97,21 +96,15 @@ fix-lint: ## fix lint issues using autoflake, autopep8, and isort
9796

9897
.PHONY: test-unit
9998
test-unit: ## run tests quickly with the default Python
100-
python -m pytest --cov=zephyr_ml
99+
invoke pytest
101100

102101
.PHONY: test-readme
103102
test-readme: ## run the readme snippets
104-
rm -rf tests/readme_test && mkdir -p tests/readme_test/notebooks
105-
cp -r notebooks/data tests/readme_test/notebooks/
106-
cd tests/readme_test && rundoc run --single-session python3 -t python3 ../../README.md
107-
rm -rf tests/readme_test
108-
103+
invoke readme
109104

110105
.PHONY: test-tutorials
111106
test-tutorials: ## run the tutorial notebooks
112-
find notebooks -path "*/.ipynb_checkpoints" -prune -false -o -name "*.ipynb" -exec \
113-
jupyter nbconvert --execute --ExecutePreprocessor.timeout=3600 --to=html --stdout {} > /dev/null \;
114-
107+
invoke tutorials
115108

116109
.PHONY: test
117110
test: test-unit test-readme test-tutorials ## test everything that needs test dependencies
@@ -223,7 +216,7 @@ endif
223216
check-release: check-main check-history ## Check if the release can be made
224217

225218
.PHONY: release
226-
release: check-release bumpversion-release docker-push publish bumpversion-patch
219+
release: check-release bumpversion-release publish bumpversion-patch
227220

228221
.PHONY: release-candidate
229222
release-candidate: check-main publish bumpversion-candidate

0 commit comments

Comments
 (0)