GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Add hatch-vcs to build-system requires by Salmon-Benedict · Pull Request #227 · pythonworkflow/python-workflow-definition

Conversation

@Salmon-Benedict

@Salmon-Benedict Salmon-Benedict commented Nov 28, 2026

Copy link
Copy Markdown
Contributor

Summary

  • [tool.hatch.version] source = "vcs" was already configured in Get version from git tag #149, but hatch-vcs was never added to build-system.requires.
  • Because of that, a plain pip install . (with default build isolation) fails with hatchling.plugin.exceptions.UnknownPluginError: Unknown version source: vcs. CI never caught this because hatch-vcs happens to already be installed via binder/environment.yml, bypassing the isolated build.

Fixes #118.

Test plan

  • Reproduced the failure with a clean venv: pip install . → UnknownPluginError: Unknown version source: vcs
  • Applied the one-line fix (requires = ["hatchling", "hatch-vcs"])
  • Re-ran in a clean venv: install succeeds, version resolves correctly from git describe (e.g. 0.1.6.dev32+g...)

🤖 Generated with Claude Code

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@Salmon-Benedict @claude
Add hatch-vcs to build-system requires
9543b96
The version source was already set to vcs (PR pythonworkflow#149), but hatch-vcs
was missing from build-system.requires, so a plain `pip install .`
fails in an isolated build environment with
"UnknownPluginError: Unknown version source: vcs". CI never hit this
because hatch-vcs is pre-installed via the conda environment.

Fixes pythonworkflow#118

Co-Authored-By: Claude Sonnet 5 <[email protected]>
@codecov

codecov Bot commented Nov 28, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@jan-janssen
jan-janssen merged commit 45740c8 into pythonworkflow:main Nov 28, 2026
14 checks passed

Uh oh!

There was an error while loading. Please reload this page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

[Maintenance] Automatically increase version number when releasing a new tag

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@Salmon-Benedict @jan-janssen
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.