Skip to content

improvement(cli): dev/local stack testing flags, version-upgrade targets, and single-source version/name#59

Merged
bjoaquinc merged 1 commit into
develfrom
improvement/extend-local-testing
Jun 22, 2026
Merged

improvement(cli): dev/local stack testing flags, version-upgrade targets, and single-source version/name#59
bjoaquinc merged 1 commit into
develfrom
improvement/extend-local-testing

Conversation

@bjoaquinc

Copy link
Copy Markdown
Collaborator

Overview

Tooling for testing workspaces against dev/local runtime stacks and for cutting
releases, plus single-sourcing the version and package name. The prod
uvx dlthub-start flow is unchanged.

Changes

  • config: read VERSION from package metadata; add DISTRIBUTION_NAME / GITHUB_ORG and route the banner, prog, hints, and workbench URL through them.
  • cli/scaffold: add --api-base-url, --auth-base-url, --dlthub-client-source — written into the workspace at scaffold time (apply_runtime_base_urls, apply_dlthub_client_source).
  • Makefile: version-upgrade (+ -patch/-minor/-major); workspace-dev/-local/-stage pin the stack (and editable dlthub-client for dev/local); rename REMOVE_PREV_WORKSPACEWORKSPACE_DIR; fix .PHONY publish.
  • docs: document the dev/local targets, flags, and version-upgrade in CONTRIBUTING; fix the make publish command.

Tests

  • make ci green (lint, mypy, 122 unit tests).
  • New tests for apply_runtime_base_urls and apply_dlthub_client_source.
  • De-flaked test_display (strip ANSI before asserting) so it doesn't depend on the terminal.

@bjoaquinc bjoaquinc merged commit 0140420 into devel Jun 22, 2026
5 checks passed
@bjoaquinc bjoaquinc deleted the improvement/extend-local-testing branch June 22, 2026 16:10
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.

1 participant