Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

poetry-arbitrary-version-plugin

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

poetry-arbitrary-version-plugin

A Poetry plugin to override a version in a pyproject.toml from environment variable or build and publish command option

  • 0.9.2
  • PyPI
  • Socket score

Maintainers
1

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

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc