Skip to content

Release regex #181

Open
Open
@flying-sheep

Description

@flying-sheep

@ilan-gold

we should probably relax this more to accept all of PEP 440:

https://github.com/scverse/anndata/blob/d7643e966b7cfaf8f5c732f1f020b0674db1def9/docs/extensions/release_notes.py#L20

Maybe we can just use packaging.version.parse instead of a custom regex?

The reson this check is there is so the directive doesn’t try to include the fragment files. The fragment files are probably not legal PEP 440 versions, but we need to check

(moved from scverse/anndata#1667)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions