Nipreps version schemes
This package provides a vcs-versioning plugin for version schemes used
by the Nipreps family of projects.
Usage
Add nipreps_versions to your build-system.requires list, e.g.,
[build-system]
requires = [
"hatchling",
"hatch-vcs",
"nipreps_versions",
]
build-backend = "hatchling.build"
Then request the nipreps-calver version scheme:
[tool.hatch.version]
source = "vcs"
[tool.hatch.version.raw-options]
version_scheme = "nipreps-calver"
The scheme can also be used by other vcs-versioning based tools (like setuptools_scm >= 8.0) by referencing the nipreps-calver name in their respective configuration sections:
[tool.setuptools_scm]
version_scheme = "nipreps-calver"
Schemes
Currently, only one versioning scheme is implemented:
nipreps-calver
As described in Releases - Principles,
The basic release form is
YY.MINOR.PATCH, so the first minor release of 2020 is 20.0.0, and the first minor release of 2021 will be 21.0.0, whatever the final minor release of 2020 is. A series of releases share aYY.MINOR. prefix, which we refer to as theYY.MINOR.xseries. For example, the 20.0.x series contains version 20.0.0, 20.0.1, and any other releases needed.
If the last tag was 22.1.0 and the year remains 2022, the development version is
22.2.0.devN. When the year changes to 2023, the development version will become
23.0.0.devN.
If the branch is maint/22.1.x, then the computed version will be 22.1.1.devN.
If the branch is rel/22.0.3 (and the last tag for that branch is 22.0.2), then
the computed version will be 22.0.3.devN.
Release files for nipreps-versions 1.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nipreps_versions-1.2.0.tar.gz | 31.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nipreps_versions-1.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 39.0 kB
Release files / nipreps_versions-1.2.0.tar.gz
| Download URL | nipreps_versions-1.2.0.tar.gz |
|---|---|
| Size | 31.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
45d2507ccac628daec195d0c6d4ddcd72b5472e9779b805828ea36ee20437249
|
|
BLAKE2b-256 checksum How to use checksums |
c531f198d7e457051a81bf10026cf423cd00b0ac28f895415d4ebe2aab99556e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 8, 2026.
Transparency logRelease files / nipreps_versions-1.2.0-py3-none-any.whl
| Download URL | nipreps_versions-1.2.0-py3-none-any.whl |
|---|---|
| Size | 7.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
35c7d90f1945ac233ab212e952c04e988892bfb074fc53e6ac591ce3dac185c6
|
|
BLAKE2b-256 checksum How to use checksums |
71c3f9e502a778a8596d8c13625bd91cde72685c89e2b82850b6c562fad4870a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 8, 2026.
Transparency log