Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(feat): use towncrier for changelog automations #1604

Merged
merged 23 commits into from
Aug 27, 2024
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 0 additions & 20 deletions docs/release-notes/0.10.9.md

This file was deleted.

1 change: 1 addition & 0 deletions docs/release-notes/1147.bugfix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix writing large number of columns for `h5` files {pr}`1147` {user}`ilan-gold` {user}`selmanozleyen`
1 change: 1 addition & 0 deletions docs/release-notes/1501.bugfix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add warning for setting `X` on a view with repeated indices {pr}`1501` {user}`ilan-gold`
1 change: 1 addition & 0 deletions docs/release-notes/1504.performance.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Support for `concat_on_disk` outer join {pr}`1504` {user}`ilan-gold`
1 change: 1 addition & 0 deletions docs/release-notes/1516.bugfix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Coerce {class}`numpy.matrix` classes to arrays when trying to store them in `AnnData` {pr}`1516` {user}`flying-sheep`
1 change: 1 addition & 0 deletions docs/release-notes/1532.bugfix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix for setting a dense `X` view with a sparse matrix {pr}`1532` {user}`ilan-gold`
1 change: 1 addition & 0 deletions docs/release-notes/1540.bugfix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Upper bound {mod}`numpy` for `gpu` installation on account of {issue}`cupy/cupy#8391` {pr}`1540` {user}`ilan-gold`
1 change: 1 addition & 0 deletions docs/release-notes/1557.doc.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
add `callback` typing for {func}`~anndata.experimental.read_dispatched` and {func}`~anndata.experimental.write_dispatched` {pr}`1557` {user}`ilan-gold`
1 change: 1 addition & 0 deletions docs/release-notes/1580.bugfix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Upper bound dask on account of {issue}`1579` {pr}`1580` {user}`ilan-gold`
1 change: 1 addition & 0 deletions docs/release-notes/1586.bugfix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Ensure setting {attr}`pandas.DataFrame.index` on a view of a {class}`~anndata.AnnData` instantiates the {class}`~pandas.DataFrame` from the view {pr}`1586` {user}`ilan-gold`
8 changes: 8 additions & 0 deletions hatch.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[envs.docs]
installer = "uv"
features = ["doc"]
dependencies = ["setuptools"] # https://bitbucket.org/pybtex-devs/pybtex/issues/169

[envs.docs.scripts]
build = "sphinx-build -M html docs docs/_build -W --keep-going {args}"
clean = "git clean -fX -- docs"
20 changes: 20 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ dev = [
"setuptools_scm",
# test speedups
"pytest-xdist",
# until https://github.com/twisted/towncrier/pull/651 is released
"towncrier @ git+https://github.com/twisted/towncrier",
flying-sheep marked this conversation as resolved.
Show resolved Hide resolved
]
doc = [
"sphinx>=7.4.6",
Expand Down Expand Up @@ -111,6 +113,8 @@ source = "vcs"
version-file = "src/anndata/_version.py"
[tool.hatch.build.targets.wheel]
packages = ["src/anndata", "src/testing"]
[tool.hatch.metadata]
allow-direct-references = true

[tool.coverage.run]
source_pkgs = ["anndata"]
Expand Down Expand Up @@ -192,3 +196,19 @@ strict = true
[tool.codespell]
skip = ".git,*.pdf,*.svg"
ignore-words-list = "theis,coo,homogenous"

[tool.towncrier]
package = "anndata"
directory = "docs/release-notes"
filename = "docs/release-notes/{version}.md"
single_file = false
package_dir = "src"
issue_format = "[#{issue}](https://github.com/scverse/anndata/pull/{issue})"
ilan-gold marked this conversation as resolved.
Show resolved Hide resolved
title_format = "({version})=\n### {version} `{project_date}`"
ilan-gold marked this conversation as resolved.
Show resolved Hide resolved
[tool.towncrier.fragment.bugfix]
[tool.towncrier.fragment.doc]
[tool.towncrier.fragment.feature]
[tool.towncrier.fragment.misc]

[tool.towncrier.fragment.performance]
name = "Performance"
Loading