Skip to content

Commit

Permalink
Backport PR #3239 on branch 1.10.x (Fix release note building and che…
Browse files Browse the repository at this point in the history
…ck) (#3240)

Co-authored-by: Philipp A <[email protected]>
  • Loading branch information
meeseeksmachine and flying-sheep authored Sep 17, 2024
1 parent a91bb02 commit 1cd88fa
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/check-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,13 @@ jobs:
with:
fetch-depth: 0
filter: blob:none
- name: Find out if relevant release notes are modified
uses: dorny/paths-filter@v2
- name: Find out if a relevant release fragment is added
uses: dorny/paths-filter@v3
id: changes
with:
filters: | # this is intentionally a string
relnotes: 'docs/release-notes/${{ github.event.pull_request.milestone.title }}.md'
- name: Check if relevant release notes are modified
relnotes: 'docs/release-notes/${{ github.event.pull_request.number }}.*.md'
- name: Check if a relevant release fragment is added
uses: flying-sheep/check@v1
with:
success: ${{ steps.changes.outputs.relnotes }}
1 change: 1 addition & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,5 @@ python:
path: .
extra_requirements:
- doc
- dev # for towncrier
- leiden
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ dask-ml = ["dask-ml", "scanpy[dask]"] # Dask-ML for sklearn-like API
packages = ["src/testing", "src/scanpy"]
[tool.hatch.version]
source = "vcs"
raw-options.version_scheme = "release-branch-semver"
[tool.hatch.build.hooks.vcs]
version-file = "src/scanpy/_version.py"

Expand Down

0 comments on commit 1cd88fa

Please sign in to comment.