Skip to content

Commit 9b3d3b1

Browse files
authored
REL: Release 1.2.1 (#406)
### Major Updates and Feature Improvements - None ### Changes to API - None ### Bug Fixes and Other Changes - Fixes issues with dependencies - Adds flask to dependencies. - Fixes missing file in the python package - Clarifies help string for show-wsi option ### Development related changes - Removes Travis CI - GitHub Actions will be used instead. - Adds pre-commit hooks to check requirements consistency. - Adds GitHub Action to resolve conda environment checks on Windows and Ubuntu.
1 parent 110c20c commit 9b3d3b1

21 files changed

+376
-111
lines changed
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# This workflow will build a conda environment to check that it resolves in a reasonable time
2+
3+
name: Solve Conda Environment
4+
5+
on:
6+
push:
7+
paths: [ "requirements*.yml", "conda-env-create.yml" ]
8+
pull_request:
9+
paths: [ "requirements*.yml", "conda-env-create.yml" ]
10+
schedule: # Run on the 1st of every month at midnight
11+
- cron: "0 0 1 * *"
12+
13+
jobs:
14+
conda_solve:
15+
strategy:
16+
fail-fast: true
17+
matrix:
18+
os: [ubuntu-latest, windows-latest]
19+
include:
20+
- os: ubuntu-latest
21+
requirements: requirements.conda.yml
22+
- os: windows-latest
23+
requirements: requirements.win64.conda.yml
24+
runs-on: ${{ matrix.os }}
25+
timeout-minutes: 20
26+
steps:
27+
- uses: actions/checkout@v2
28+
- uses: mamba-org/provision-with-micromamba@main
29+
with:
30+
environment-name: tiatoolbox
31+
environment-file: ${{ matrix.requirements }}
32+
- shell: bash -l {0}
33+
run: |
34+
micromamba info
35+
micromamba list

.pre-commit-config.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,3 +71,12 @@ repos:
7171
files: tests/.*\btest_\w*.py
7272
language: system
7373
stages: [push]
74+
- repo: local
75+
hooks:
76+
- id: requirements-consistency
77+
name: check requirements are consistent
78+
entry: python pre-commit/requirements_consistency.py
79+
files: "(requirements.*.(txt|yml|yaml)|setup.py)$"
80+
pass_filenames: false
81+
language: python
82+
additional_dependencies: [pyyaml]

.travis.yml

Lines changed: 0 additions & 68 deletions
This file was deleted.

CITATION.cff

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ authors:
4444
given-names: "Shan E Ahmed"
4545
orcid: "https://orcid.org/0000-0002-1097-1738"
4646
title: "TIAToolbox: An End-to-End Toolbox for Advanced Tissue Image Analytics"
47-
version: 1.2.0
47+
version: 1.2.1
4848
doi: 10.5281/zenodo.5802442
49-
date-released: 2022-07-05
49+
date-released: 2022-07-07
5050
url: "https://github.com/TissueImageAnalytics/tiatoolbox"
5151
preferred-citation:
5252
type: article

HISTORY.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,28 @@
11
History
22
=======
33

4+
1.2.1 (2022-07-07)
5+
------------------
6+
### Major Updates and Feature Improvements
7+
- None
8+
9+
### Changes to API
10+
- None
11+
12+
### Bug Fixes and Other Changes
13+
- Fixes issues with dependencies.
14+
- Adds flask to dependencies.
15+
- Fixes missing file in the python package.
16+
- Clarifies help string for show-wsi option.
17+
18+
19+
### Development related changes
20+
- Removes Travis CI.
21+
- GitHub Actions will be used instead.
22+
- Adds pre-commit hooks to check requirements consistency.
23+
- Adds GitHub Action to resolve conda environment checks on Windows and Ubuntu.
24+
25+
426
1.2.0 (2022-07-05)
527
------------------
628
### Major Updates and Feature Improvements

MANIFEST.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ include CONTRIBUTING.rst
33
include HISTORY.md
44
include LICENSE
55
include README.md
6-
include tiatoolbox/data/*
76
include make.bat
87
include Makefile
98
include conf.py
109

1110
recursive-include tests *
1211
recursive-include docs
12+
recursive-include tiatoolbox/data *
1313

1414
recursive-exclude * __pycache__
1515
recursive-exclude * *.py[co]

0 commit comments

Comments
 (0)