Skip to main content

Version schemes for nipreps tools

Project description

PyPI Tox

Nipreps version schemes

This package provides a setuptools_scm 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 = [
    "flit_scm",
    "nipreps_versions",
]
build-backend = "flit_scm:buildapi"

or

[build-system]
requires = [
    "setuptools",
    "setuptools_scm",
    "nipreps_versions",
]
build-backend = "setuptools.build_meta"

Then request a nipreps version scheme:

[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 a YY.MINOR. prefix, which we refer to as the YY.MINOR.x series. 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nipreps_versions-1.1.0.tar.gz (31.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nipreps_versions-1.1.0-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

Details for the file nipreps_versions-1.1.0.tar.gz.

File metadata

  • Download URL: nipreps_versions-1.1.0.tar.gz
  • Upload date:
  • Size: 31.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for nipreps_versions-1.1.0.tar.gz
Algorithm Hash digest
SHA256 18157b78b71cefee7032c0f86a7698e721dcb09ca383f993e10ea5a48bd8bc0a
MD5 e09e60564af0115621cdf79ae19c60d4
BLAKE2b-256 2b5e1e7b25ede2fb29061b0fb7545b9ffae4b0d98c985d93e6cfc068026f4dd1

See more details on using hashes here.

Provenance

The following attestation bundles were made for nipreps_versions-1.1.0.tar.gz:

Publisher: tox.yml on nipreps/version-schemes

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file nipreps_versions-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for nipreps_versions-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 edb47ff5e894e3039ec881bb7dbdc2f357ea3919cb81f1f56806389b63c335f5
MD5 89176fa6a58907a734b058353fd6ad26
BLAKE2b-256 d771348e521d1c5b040706fc1f225c7d7e0e6fc09229d64c483143092c1919a1

See more details on using hashes here.

Provenance

The following attestation bundles were made for nipreps_versions-1.1.0-py3-none-any.whl:

Publisher: tox.yml on nipreps/version-schemes

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page