Skip to content

Commit

Permalink
Merge pull request #254 from scverse/improved-release-process
Browse files Browse the repository at this point in the history
improved release process
  • Loading branch information
LucaMarconato authored Jan 3, 2025
2 parents 92dbde1 + 517ffcc commit c0792b0
Show file tree
Hide file tree
Showing 4 changed files with 85 additions and 86 deletions.
22 changes: 22 additions & 0 deletions .github/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
changelog:
exclude:
labels:
- release-ignore
authors:
- pre-commit-ci
categories:
- title: Major
labels:
- "release-major"
- title: Minor
labels:
- "release-minor"
- title: Changed
labels:
- "release-changed"
- title: Fixed
labels:
- "release-fixed"
- title: Other Changes
labels:
- "*"
23 changes: 0 additions & 23 deletions .github/workflows/build.yaml

This file was deleted.

24 changes: 12 additions & 12 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,26 +5,26 @@ on:
types: [published]

jobs:
release:
# requires that you have put your twine API key in your
# github secrets (see readme for details)
package_and_release:
runs-on: ubuntu-latest
if: contains(github.ref, 'tags')
if: startsWith(github.ref, 'refs/tags/v')
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up Python 3.10
- uses: actions/checkout@v3
- name: Set up Python 3.12
uses: actions/setup-python@v4
with:
python-version: "3.10"

python-version: "3.12"
cache: pip
- name: Install build dependencies
run: python -m pip install --upgrade pip wheel twine build
- name: Build package
run: python -m build
- name: Check package
run: twine check --strict dist/*.whl
- name: Install hatch
run: pip install hatch

- name: Build project for distribution
run: hatch build

- name: Publish a Python distribution to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
Expand Down
102 changes: 51 additions & 51 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,140 +10,140 @@ and this project adheres to [Semantic Versioning][].

## incoming release

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

## [0.1.6] - 2024-11-26

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

## [0.1.5] - 2024-09-25

### Added

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

### Fixed

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

## [0.1.4] - 2024-08-07

### Changed

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

## [0.1.3] - 2024-07-03

### Added

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

### Fixed

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

### Changed

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

## [0.1.2] - 2024-03-30

### Added

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

### Fixed

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

## [0.1.1] - 2024-03-24

### Added

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

### Fixed

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

## [0.0.9] - 2023-11-06

### Fixed

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

## [0.0.8] - 2023-10-02

### Fixed

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

## [0.0.7] - 2023-07-23

### Fixed

- Bugs in Xenium and MERSCOPE
- Bugs in Xenium and MERSCOPE

## [0.0.5] - 2023-06-21

### Added

- MERFISH reader (from @quentinblampey)
- CODEX reader (from @LLehner)
- MERFISH reader (from @quentinblampey)
- CODEX reader (from @LLehner)

### Fixed

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

## [0.0.4] - 2023-05-23

### Added

- Curio reader
- Curio reader

## [0.0.3] - 2023-05-22

### Merged

- Merge pull request #40 from scverse/fix/categories
- Merge pull request #40 from scverse/fix/categories

## [0.0.2] - 2023-05-04

### Changed

- Revert version regex (#37)
- Revert version regex (#37)

## [0.0.1] - 2023-05-04

### Tested

- Test installation from pypi
- Test installation from pypi

0 comments on commit c0792b0

Please sign in to comment.