Skip to main content

Poetry Arbitrary Version Plugin

CI

A Poetry plugin that allows a project builder to override the project version. A project version can be overriden for example during CI process. The version can be overriden using the environment variable PROJECT_OVERRIDE_VERSION or the --override-version switch of the build command.

Install

Add the plugin to Poetry environment

$ poetry self add poetry-arbitrary-version-plugin

or install the plugin using pip to the place where Poetry is installed.

$ pip install poetry-arbitrary-version-plugin

Usage

Overriding a project version by PROJECT_OVERRIDE_VERSION environment variable:

$ PROJECT_OVERRIDE_VERSION=3.2.1 poetry build -f sdist
Overriden project version from 0.8.0 to 3.2.1
Building poetry-arbitrary-version-plugin (3.2.1)
  - Building sdist
  - Built poetry_arbitrary_version_plugin-3.2.1.tar.gz

Overriding a project version by the --override-version switch:

$ poetry build -f sdist --override-version=1.2.3
Overriden project version from 0.8.0 to 1.2.3
Building poetry-arbitrary-version-plugin (1.2.3)
  - Building sdist
  - Built poetry_arbitrary_version_plugin-1.2.3.tar.gz

Release files for poetry-arbitrary-version-plugin 0.9.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for poetry-arbitrary-version-plugin 0.9.2
File Size Uploaded
poetry_arbitrary_version_plugin-0.9.2.tar.gz 6.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for poetry-arbitrary-version-plugin 0.9.2
File Interpreter ABI Platform
poetry_arbitrary_version_plugin-0.9.2-py3-none-any.whl Python 3 none any Details

Total release size: 14.5 kB

Release files / poetry_arbitrary_version_plugin-0.9.2.tar.gz

Download URL poetry_arbitrary_version_plugin-0.9.2.tar.gz
Size 6.8 kB
Tags Source
SHA-256 checksum
How to use checksums
2ca439ced9dd5cb391b295dd8554c723903dba6ee39189096f6165ad59702142
BLAKE2b-256 checksum
How to use checksums
6547f4f362acd99107d3ab5b2541e0a987126f2cd2021749dec2f9199d40f855
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.2 CPython/3.10.8 Linux/5.15.0-1022-azure

Release files / poetry_arbitrary_version_plugin-0.9.2-py3-none-any.whl

Download URL poetry_arbitrary_version_plugin-0.9.2-py3-none-any.whl
Size 7.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
37192a908659e7962d541bcf82cb2fc0d767987133cdde6feaa9d5e9ef9bea89
BLAKE2b-256 checksum
How to use checksums
2be0074d05d8c21668a2268a0af50995a67896b273b47e63645501d62450b057
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.2 CPython/3.10.8 Linux/5.15.0-1022-azure

Release history Release notifications | RSS feed

This release

0.9.2 This release

2 release files

0.9.0

2 release files

0.8.3

2 release files

0.8.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page