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

(chore): generate 1.10.4 release notes #3357

Merged
merged 4 commits into from
Nov 12, 2024
Merged
Show file tree
Hide file tree
Changes from all 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
16 changes: 13 additions & 3 deletions ci/scripts/min-deps.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
#!/usr/bin/env python3
# /// script
# dependencies = [
# "tomli; python_version < '3.11'",
# "packaging",
# ]
# ///

from __future__ import annotations

import argparse
Expand Down Expand Up @@ -33,12 +40,15 @@ def min_dep(req: Requirement) -> Requirement:
if req.extras:
req_name = f"{req_name}[{','.join(req.extras)}]"

if not req.specifier:
filter_specs = [
spec for spec in req.specifier if spec.operator in {"==", "~=", ">=", ">"}
]
if not filter_specs:
return Requirement(req_name)

min_version = Version("0.0.0.a1")
for spec in req.specifier:
if spec.operator in [">", ">=", "~="]:
for spec in filter_specs:
if spec.operator in {">", ">=", "~="}:
min_version = max(min_version, Version(spec.version))
elif spec.operator == "==":
min_version = Version(spec.version)
Expand Down
17 changes: 17 additions & 0 deletions docs/release-notes/1.10.4.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
(v1.10.4)=
### 1.10.4 {small}`2024-11-12`

### Breaking changes

- Remove Python 3.9 support {smaller}`P Angerer` ({pr}`3283`)

### Bug fixes

- Fix {meth}`scanpy.pl.DotPlot.style`, {meth}`scanpy.pl.MatrixPlot.style`, and {meth}`scanpy.pl.StackedViolin.style` resetting all non-specified parameters {smaller}`P Angerer` ({pr}`3206`)
- Accept `'group'` instead of `'obs'` for `standard_scale` parameter in {func}`~scanpy.pl.stacked_violin` {smaller}`P Angerer` ({pr}`3243`)
- Use `density_norm` instead of of `scale` (cont. from {pr}`2844`) in {func}`~scanpy.pl.violin` and {func}`~scanpy.pl.stacked_violin` {smaller}`P Angerer` ({pr}`3244`)
- Switched all compatibility adapters for positional parameters to {exc}`FutureWarning` {smaller}`P Angerer` ({pr}`3264`)
- Catch `PerfectSeparationWarning` during {func}`~scanpy.pp.regress_out` {smaller}`J Wagner` ({pr}`3275`)
- Fix {func}`scanpy.pp.highly_variable_genes` for batches of size 1 {smaller}`P Angerer` ({pr}`3286`)
- Fix {func}`scanpy.pl.scatter`’s `color` parameter to take collections as advertised {smaller}`P Angerer` ({pr}`3299`)
- Fix {func}`scanpy.pl.highest_expr_genes` when used with a categorical gene symbol column {smaller}`P Angerer` ({pr}`3302`)
1 change: 0 additions & 1 deletion docs/release-notes/3206.bugfix.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/release-notes/3243.bugfix.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/release-notes/3244.bugfix.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/release-notes/3264.bugfix.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/release-notes/3275.bugfix.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/release-notes/3283.breaking.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/release-notes/3286.bugfix.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/release-notes/3299.bugfix.md

This file was deleted.

1 change: 0 additions & 1 deletion docs/release-notes/3302.bugfix.md

This file was deleted.

5 changes: 2 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ dependencies = [
"tqdm",
"scikit-learn>=1.1",
"statsmodels>=0.13",
"patsy",
"patsy!=1.0.0", # https://github.com/pydata/patsy/issues/215
"networkx>=2.7",
"natsort",
"joblib",
Expand All @@ -66,7 +66,6 @@ dependencies = [
"packaging>=21.3",
"session-info",
"legacy-api-wrap>=1.4", # for positional API deprecations
"get-annotations; python_version < '3.10'",
]
dynamic = ["version"]

Expand Down Expand Up @@ -124,7 +123,7 @@ doc = [
"ipython>=7.20", # for nbsphinx code highlighting
"matplotlib!=3.6.1",
"sphinxcontrib-bibtex",
"setuptools",
"setuptools", # undeclared dependency of sphinxcontrib-bibtex→pybtex
# TODO: remove necessity for being able to import doc-linked classes
"dask",
"scanpy[paga]",
Expand Down
Loading