Skip to content

Commit 015db95

Browse files
authored
Merge pull request #348 from cytomining/release-v1.0.0
bump: version 0.2.0 → 1.0.0
2 parents ea789ba + 72687f2 commit 015db95

File tree

7 files changed

+78
-6
lines changed

7 files changed

+78
-6
lines changed

.readthedocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ build:
1414
post_install:
1515
# Install dependencies with 'docs' dependency group
1616
# https://python-poetry.org/docs/managing-dependencies/#dependency-groups
17-
- poetry install --with docs
17+
- poetry install --with dev,docs --all-extras
1818

1919
sphinx:
2020
builder: html

CHANGELOG.md

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
## v1.0.0 (2023-10-29)
2+
3+
[Detailed Release Notes](https://github.com/cytomining/pycytominer/releases/tag/v1.0.0)
4+
5+
### BREAKING CHANGE
6+
7+
- functions now use expect None type as argument where they previously expected a "none" string
8+
- **drop_outliers**:: change default outlier threshold to 500
9+
- **variance_threshold** change variance_threshold default to 0.01
10+
11+
### Feat
12+
13+
- add parquet support for all i/o functions
14+
- **annotate**: add function to convert SQLite to pandas DataFrame and merge additional metadata
15+
- **build**: switch to poetry for dependency management and builds
16+
- **cells**: Enable custom image table name for SQLite queries in cells.py
17+
- **deepprofiler**: add single cell output and normalization
18+
- **dev**: standardized dev process and workflows (See [CONTRIBUTING.md](CONTRIBUTING.md)):
19+
- add vscode devcontainer and codespaces config
20+
- add conventional commit standards and commitizen cli
21+
- add pre-commit hooks for black, prettier, actionlint
22+
- **docs**: Add detailed single-cell profiling [walkthrough](https://pycytominer.readthedocs.io/en/latest/walkthroughs/single_cell_usage.html)
23+
- **utils**: cell_locations script to append X,Y locations to LoadData
24+
25+
### Fix
26+
27+
- **annotate**: add informative merge suffixes to platemap and external_metadata
28+
- **annotate**: add check before dropping well columns
29+
- **build**: remove python 3.7 support
30+
- **correlation**: Use numpy to calculate pearson corr of non NaN matrices
31+
- **load_profiles**: now works with PurePath types
32+
33+
## v0.2.0 (2022-06-17)
34+
35+
[Detailed Release Notes](https://github.com/cytomining/pycytominer/releases/tag/v0.2.0)
36+
37+
### Feat
38+
39+
- **collate**: support CellProfiler analyses directly from CellProfiler output files
40+
41+
## v0.1.5 (2022-06-17)
42+
43+
[Detailed Release Notes](https://github.com/cytomining/pycytominer/releases/tag/v0.1.5)
44+
45+
### Fix
46+
47+
- **merge_single_cells** - improve memory performance
48+
49+
## v0.1 (2022-02-08)
50+
51+
[Detailed Release Notes](https://github.com/cytomining/pycytominer/releases/tag/v0.1)

CITATION.cff

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,6 @@ authors:
6767
orcid: https://orcid.org/0000-0002-0503-9348
6868
title: "Reproducible processing of image-based profiling representations with Pycytominer"
6969
# This version is updated using `cz bump` command
70-
version: "0.2.0"
70+
version: "1.0.0"
7171
license: BSD 3-Clause License
7272
repository-code: "https://github.com/cytomining/pycytominer"

CONTRIBUTING.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ If you are stuck, please feel free to ask any questions or ask for help.
2121
- [Documentation](#documentation)
2222
- [Poetry](#poetry)
2323
- [Dev environments](#dev-environments)
24+
- [Releases](#releases)
2425

2526
[Style guides](#style-guides)
2627

@@ -168,6 +169,24 @@ cd pycytominer
168169
bash .devcontainer/postCreateCommand.sh
169170
```
170171

172+
### Releases
173+
174+
Project maintainers are responsible for releasing new versions of pycytominer.
175+
Creating a new release includes the following steps:
176+
177+
1. Create a new branch from `main` for the release (e.g. `release-v1.0.0`)
178+
2. Run the command `cz bump --files-only` to update the version number in `CITATION.cff` and `pyproject.toml:tool.commitizen`.
179+
3. Review the changes to CHANGELOG.md and edit as needed.
180+
4. Review the [commit history](https://github.com/cytomining/pycytominer/compare) from the last release and add documentation for changes that weren't auto-included because they didn't follow the conventional-commit standard.
181+
5. `git add` all changes and run `cz bump` to create the release commit.
182+
6. Create a pull request for the release branch into `main`.
183+
7. Request a review from another maintainer.
184+
8. Once the pull request is approved, merge it into `main`.
185+
9. Create a new release on GitHub using the [release draft](https://github.com/cytomining/pycytominer/releases/new) feature.
186+
10. Publish the release.
187+
11. The release will be automatically published to [PyPI](https://pypi.org/project/pycytominer/) via Github Actions.
188+
12. Manually create the release at [conda-forge](https://anaconda.org/conda-forge/pycytominer).
189+
171190
## Style guides
172191

173192
Please follow all style guides to the best of your abilities.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# Data processing for image-based profiling
44

5-
[![Build Status](https://travis-ci.org/cytomining/pycytominer.svg?branch=main)](https://travis-ci.org/cytomining/pycytominer)
5+
[![Build Status](https://github.com/cytomining/pycytominer/actions/workflows/integration-test.yml/badge.svg?branch=main)](https://github.com/cytomining/pycytominer/actions/workflows/integration-test.yml?query=branch%3Amain)
66
[![Coverage Status](https://codecov.io/gh/cytomining/pycytominer/branch/main/graph/badge.svg)](https://codecov.io/github/cytomining/pycytominer?branch=main)
77
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
88
[![RTD](https://readthedocs.org/projects/pycytominer/badge/?version=latest&style=flat)](https://pycytominer.readthedocs.io/)

docs/conf.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
import os
1414
import sys
1515
import pathlib
16+
import yaml
1617
from datetime import date
1718

1819
sys.path.insert(0, os.path.abspath(".."))
@@ -27,8 +28,9 @@
2728
date=date.today().year, author=author
2829
)
2930

30-
# The full version, including alpha/beta/rc tags
31-
version = pycytominer.__about__.__version__
31+
# The version from CITATION.cff is used to set the version of the package
32+
cff_path = pathlib.Path("..") / "CITATION.cff"
33+
version = yaml.safe_load(cff_path.read_text())["version"]
3234
release = version
3335

3436
# -- General configuration ---------------------------------------------------

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ files = ["pycytominer/__about__.py"]
9696

9797
[tool.commitizen]
9898
# This version is used for changelog tracking and is updated using `cz bump`
99-
version = "0.2.0"
99+
version = "1.0.0"
100100
name = "cz_conventional_commits"
101101
tag_format = "v$version"
102102
version_scheme = "pep440"

0 commit comments

Comments
 (0)