Skip to content

adds minimal poetry config#21

Open
JanKoppe wants to merge 1 commit intovoc:masterfrom
JanKoppe:feature/add-poetry
Open

adds minimal poetry config#21
JanKoppe wants to merge 1 commit intovoc:masterfrom
JanKoppe:feature/add-poetry

Conversation

@JanKoppe
Copy link
Copy Markdown

I find poetry much more comfortable - takes care of setting up the venv for you (without polluting your PATH), and auto-generates a lockfile for deep dependencies.

Copy link
Copy Markdown
Contributor

@Kunsi Kunsi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the late response, just saw it now.

Comment thread bundlewrap/pyproject.toml
description = "Configuration management for all VOC systems"
authors = ["c3voc"]

[tool.poetry.dependencies]
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there any way to have this import the dependencies from requirements.txt? I'd like to avoid having to update dependencies in two places instead of one.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes and no. You would have to 'poetry add ' from the requirements.txt.
But it will only install the latest version of the package.

Comment thread bundlewrap/pyproject.toml
[tool.poetry]
name = "cm"
version = "0.1.0"
description = "Configuration management for all VOC systems"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Technically wrong, because bundlewrap only does the event-specific stuff.

Comment thread bundlewrap/pyproject.toml
@@ -0,0 +1,16 @@
[tool.poetry]
name = "cm"
version = "0.1.0"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What gets versioned here?

@Kunsi Kunsi force-pushed the master branch 2 times, most recently from 41af981 to 30c405e Compare April 5, 2026 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants