Conversation
Convert dependency management and build tooling from Poetry to uv: - pyproject.toml: Poetry tables -> PEP 621 [project] and [dependency-groups]; build backend poetry-core -> uv_build. Drop deprecated license classifier in favor of license = "Apache-2.0" (PEP 639). - Drop the setuptools dependency: it was only needed by older textX (via pkg_resources). textX 4.3 uses importlib.metadata, so neither the runtime dep nor the dev pin is required. - Replace poetry.lock with uv.lock. - CI: use astral-sh/setup-uv; uv sync / uv run in tests; uv build, uv version, and uv publish (PyPI OIDC trusted publishing) on release. Harden workflows (persist-credentials: false, disable cache, env var for github.ref_name). - Docs: update README.md to uv commands. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot
AI
changed the title
[WIP] Fix code based on review comment
fix: strip leading Jun 7, 2026
v from release tag before passing to uv version
fzipi
marked this pull request as ready for review
June 7, 2026 15:44
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Release tags in this repo use a
vprefix (e.g.,v0.2.4). Passinggithub.ref_namedirectly touv versionsets an invalid PEP 440 version, which would cause the publish workflow to fail.Changes
.github/workflows/pypi-release.yml: Use bash parameter expansion to strip the leadingvbefore callinguv version:This ensures tags like
v0.2.4are normalised to0.2.4before the version is set and the package is built.