Skip to content

Commit c0792b0

Browse files
Merge pull request #254 from scverse/improved-release-process
improved release process
2 parents 92dbde1 + 517ffcc commit c0792b0

4 files changed

Lines changed: 85 additions & 86 deletions

File tree

.github/release.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
changelog:
2+
exclude:
3+
labels:
4+
- release-ignore
5+
authors:
6+
- pre-commit-ci
7+
categories:
8+
- title: Major
9+
labels:
10+
- "release-major"
11+
- title: Minor
12+
labels:
13+
- "release-minor"
14+
- title: Changed
15+
labels:
16+
- "release-changed"
17+
- title: Fixed
18+
labels:
19+
- "release-fixed"
20+
- title: Other Changes
21+
labels:
22+
- "*"

.github/workflows/build.yaml

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

.github/workflows/release.yaml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,26 +5,26 @@ on:
55
types: [published]
66

77
jobs:
8-
release:
9-
# requires that you have put your twine API key in your
10-
# github secrets (see readme for details)
8+
package_and_release:
119
runs-on: ubuntu-latest
12-
if: contains(github.ref, 'tags')
10+
if: startsWith(github.ref, 'refs/tags/v')
1311
steps:
14-
- name: Checkout code
15-
uses: actions/checkout@v3
16-
17-
- name: Set up Python 3.10
12+
- uses: actions/checkout@v3
13+
- name: Set up Python 3.12
1814
uses: actions/setup-python@v4
1915
with:
20-
python-version: "3.10"
21-
16+
python-version: "3.12"
17+
cache: pip
18+
- name: Install build dependencies
19+
run: python -m pip install --upgrade pip wheel twine build
20+
- name: Build package
21+
run: python -m build
22+
- name: Check package
23+
run: twine check --strict dist/*.whl
2224
- name: Install hatch
2325
run: pip install hatch
24-
2526
- name: Build project for distribution
2627
run: hatch build
27-
2828
- name: Publish a Python distribution to PyPI
2929
uses: pypa/gh-action-pypi-publish@release/v1
3030
with:

CHANGELOG.md

Lines changed: 51 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -10,140 +10,140 @@ and this project adheres to [Semantic Versioning][].
1010

1111
## incoming release
1212

13-
- (Visium/Visium HD) lowres and hires images now mapped also to the 'global' coordinate system #230
14-
- (Macsima) added support @berombau #224
15-
- (seqFISH) support for v2 instrument #227
16-
- (Visium HD) added argument `annotate_table_by_labels` to rasterize the bins as labels #211 @ArneDefauw
13+
- (Visium/Visium HD) lowres and hires images now mapped also to the 'global' coordinate system #230
14+
- (Macsima) added support @berombau #224
15+
- (seqFISH) support for v2 instrument #227
16+
- (Visium HD) added argument `annotate_table_by_labels` to rasterize the bins as labels #211 @ArneDefauw
1717

1818
## [0.1.6] - 2024-11-26
1919

20-
- (MERSCOPE) added `feature_key` attribute for points (i.e., the `'gene'` column) #210
21-
- (Visium HD) get transformation matrices even when only images are parsed #215
22-
- Support for `xarray.DataTree` (which was moved from `datatree.DataTree`) #232
20+
- (MERSCOPE) added `feature_key` attribute for points (i.e., the `'gene'` column) #210
21+
- (Visium HD) get transformation matrices even when only images are parsed #215
22+
- Support for `xarray.DataTree` (which was moved from `datatree.DataTree`) #232
2323

2424
## [0.1.5] - 2024-09-25
2525

2626
### Added
2727

28-
- (Xenium) added `dims` parameter for more control in `xenium_aligned_image()`
28+
- (Xenium) added `dims` parameter for more control in `xenium_aligned_image()`
2929

3030
### Fixed
3131

32-
- Passing `rgb=None` to image model parser for both visium and visiumhd, leading to 3-4 channel images being
33-
interpreted as RGB(A)
34-
- Fix header bug Visium data #200
35-
- (Visium HD) Fix path parsing when images are missing #204 #206
32+
- Passing `rgb=None` to image model parser for both visium and visiumhd, leading to 3-4 channel images being
33+
interpreted as RGB(A)
34+
- Fix header bug Visium data #200
35+
- (Visium HD) Fix path parsing when images are missing #204 #206
3636

3737
## [0.1.4] - 2024-08-07
3838

3939
### Changed
4040

41-
- (Xenium) changed default target of table to labels; radii of circles computed from cells, not nuclei #179
42-
- (Visium HD) changed default geometry to squares from circles for the bins; added parameter to choose #183
43-
- (CosMx) dropping points element with zero-length from the cosmx reader #191
41+
- (Xenium) changed default target of table to labels; radii of circles computed from cells, not nuclei #179
42+
- (Visium HD) changed default geometry to squares from circles for the bins; added parameter to choose #183
43+
- (CosMx) dropping points element with zero-length from the cosmx reader #191
4444

4545
## [0.1.3] - 2024-07-03
4646

4747
### Added
4848

49-
- (Xenium) support reading multi-polygon selection files from the Xenium Explorer
50-
- (ISS) An experimental loader to load elemental ISS data objects, e.g. raw.tif, label.tif and anndata.h5ad
51-
- (Stereo-seq) Added reader @LLehner @timtreis @florianingelfinger #70
52-
- (MERSCOPE) Optional rioxarray backend for MERSCOPE data (reads chunks)
53-
- (MERSCOPE) Can choose which elements should be loaded
49+
- (Xenium) support reading multi-polygon selection files from the Xenium Explorer
50+
- (ISS) An experimental loader to load elemental ISS data objects, e.g. raw.tif, label.tif and anndata.h5ad
51+
- (Stereo-seq) Added reader @LLehner @timtreis @florianingelfinger #70
52+
- (MERSCOPE) Optional rioxarray backend for MERSCOPE data (reads chunks)
53+
- (MERSCOPE) Can choose which elements should be loaded
5454

5555
### Fixed
5656

57-
- (Visium) Fixed issue with joining a SpatialElement with a table due to index values not being unique.
58-
obs_names_make_unique is now called internally to enforce unique index values allowing for join operations.
57+
- (Visium) Fixed issue with joining a SpatialElement with a table due to index values not being unique.
58+
obs_names_make_unique is now called internally to enforce unique index values allowing for join operations.
5959

6060
### Changed
6161

62-
- (MERSCOPE) "global" coordinate system is used as a default instead of "microns"
62+
- (MERSCOPE) "global" coordinate system is used as a default instead of "microns"
6363

6464
## [0.1.2] - 2024-03-30
6565

6666
### Added
6767

68-
- (Visium HD) added reader, coauthored by @LLehner
68+
- (Visium HD) added reader, coauthored by @LLehner
6969

7070
### Fixed
7171

72-
- (Xenium) reader for 1.0.1 (paper data) and unknown versions
73-
- (Xenium) fix in reading "minimalistic" Xenium datasets #132
72+
- (Xenium) reader for 1.0.1 (paper data) and unknown versions
73+
- (Xenium) fix in reading "minimalistic" Xenium datasets #132
7474

7575
## [0.1.1] - 2024-03-24
7676

7777
### Added
7878

79-
- (Xenium) support for post-xenium aligned images (IF, HE)
80-
- (Xenium) reader for the selection coordinates file from the Xenium Explorer
81-
- (Xenium) support for the new Xenium 2.0.0 (multimodal segmentation)
82-
- (Xenium) reading multiscale labels from cells.zarr.zip
83-
- (MCMICRO) support for TMAs (such as the data of exemplar-002)
84-
- (DBiT-seq) reader
85-
- converter functions `experimental.to_legacy_anndata()` and `experimental.from_legacy_anndata()`
86-
- (Visium) support for raw reads (capture locations not under tissue)
79+
- (Xenium) support for post-xenium aligned images (IF, HE)
80+
- (Xenium) reader for the selection coordinates file from the Xenium Explorer
81+
- (Xenium) support for the new Xenium 2.0.0 (multimodal segmentation)
82+
- (Xenium) reading multiscale labels from cells.zarr.zip
83+
- (MCMICRO) support for TMAs (such as the data of exemplar-002)
84+
- (DBiT-seq) reader
85+
- converter functions `experimental.to_legacy_anndata()` and `experimental.from_legacy_anndata()`
86+
- (Visium) support for raw reads (capture locations not under tissue)
8787

8888
### Fixed
8989

90-
- (Xenium) fixed index (fail on write)
91-
- (Xenium) renamed cells_as_shapes to cells_as_circles; set default to True
92-
- (MERSCOPE) don't try to load unexisting elements #87
93-
- (Visium) fixed axes ordering
90+
- (Xenium) fixed index (fail on write)
91+
- (Xenium) renamed cells_as_shapes to cells_as_circles; set default to True
92+
- (MERSCOPE) don't try to load unexisting elements #87
93+
- (Visium) fixed axes ordering
9494

9595
## [0.0.9] - 2023-11-06
9696

9797
### Fixed
9898

99-
- (Xenium) bug when converting feature_name #81, from @fbnrst
100-
- (Visium) visium() supports file counts without dataset_id #91
99+
- (Xenium) bug when converting feature_name #81, from @fbnrst
100+
- (Visium) visium() supports file counts without dataset_id #91
101101

102102
## [0.0.8] - 2023-10-02
103103

104104
### Fixed
105105

106-
- (Xenium) coerce cell id to str #64
107-
- (MERSCOPE) fix coordinate transformation #68
108-
- (MERSCOPE) Improvements/fixes: merscope reader #73
106+
- (Xenium) coerce cell id to str #64
107+
- (MERSCOPE) fix coordinate transformation #68
108+
- (MERSCOPE) Improvements/fixes: merscope reader #73
109109

110110
## [0.0.7] - 2023-07-23
111111

112112
### Fixed
113113

114-
- Bugs in Xenium and MERSCOPE
114+
- Bugs in Xenium and MERSCOPE
115115

116116
## [0.0.5] - 2023-06-21
117117

118118
### Added
119119

120-
- MERFISH reader (from @quentinblampey)
121-
- CODEX reader (from @LLehner)
120+
- MERFISH reader (from @quentinblampey)
121+
- CODEX reader (from @LLehner)
122122

123123
### Fixed
124124

125-
- Issues on Visium reader (thanks @ilia-kats) and Xenium reader
125+
- Issues on Visium reader (thanks @ilia-kats) and Xenium reader
126126

127127
## [0.0.4] - 2023-05-23
128128

129129
### Added
130130

131-
- Curio reader
131+
- Curio reader
132132

133133
## [0.0.3] - 2023-05-22
134134

135135
### Merged
136136

137-
- Merge pull request #40 from scverse/fix/categories
137+
- Merge pull request #40 from scverse/fix/categories
138138

139139
## [0.0.2] - 2023-05-04
140140

141141
### Changed
142142

143-
- Revert version regex (#37)
143+
- Revert version regex (#37)
144144

145145
## [0.0.1] - 2023-05-04
146146

147147
### Tested
148148

149-
- Test installation from pypi
149+
- Test installation from pypi

0 commit comments

Comments
 (0)