Skip to main content

Poetry version from file plugin

This is a simple Poetry plugin that loads the project version dynamically from a VERSION file.

Usage

Add the plugin to the build system requirements:

[build-system]
requires = ["poetry-core", "poetry-version-from-file"]

The plugin must be enabled with this configuration:

[tool.poetry.plugins.version-from-file]
enabled = "true"

The create a file named VERSION and put your projects version nummber in it.

If you already have a file containing your projects version you can configure the plugin to use that file with the following settings in your pyproject.toml:

[tool.poetry.plugins.version-from-file]
file = "VERSION.txt"

Metadata

Release files for poetry-version-from-file 1.1.0

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-version-from-file 1.1.0
File Size Uploaded
poetry_version_from_file-1.1.0.tar.gz 2.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for poetry-version-from-file 1.1.0
File Interpreter ABI Platform
poetry_version_from_file-1.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 5.8 kB

Release files / poetry_version_from_file-1.1.0.tar.gz

Download URL poetry_version_from_file-1.1.0.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
fb734e291ad56fd9ea113d3dbeb177965770435d6931e3baca8f9e7ed0e1eb9a
BLAKE2b-256 checksum
How to use checksums
1cbf744b59a53c0ecc75a4ce86eb122f1a61a4b2599a63d6717c45c25aa092f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.0 CPython/3.12.2 Linux/6.6.13-gentoo-x86_64

Release files / poetry_version_from_file-1.1.0-py3-none-any.whl

Download URL poetry_version_from_file-1.1.0-py3-none-any.whl
Size 3.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cce25ce2b353b6994c6d2ec55635ee96d60ff1d92e1e17a359f73558755bffad
BLAKE2b-256 checksum
How to use checksums
46904bbf4b34915cde90ec20f116e2cb4166e0bed565c64fac5b10a6181425e3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.0 CPython/3.12.2 Linux/6.6.13-gentoo-x86_64

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files

1.0.1

2 release files

1.0.0

2 release files

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