Repository navigation
Conversation
cvcpkg publish --org crashes with ModuleNotFoundError: pydantic — the org slug validation lazily imports cvcpkg.server.models, whose module-level pydantic import belongs to the server extra. Install pydantic explicitly until the upstream fix (relocating validate_org_slug to a dependency-free module) lands in libcvc-deps.
Owner
Author
|
Superseded: the root fix landed upstream (transfix/libcvc-deps#270 — validate_org_slug relocated to dependency-free cvcpkg.orgs), so every cvcpkg install stops needing pydantic regardless of which interpreter it lands in (the quickfix missed the composite action's second cvcpkg install in the setup-python toolcache). Publishes re-dispatched from master. |
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.
First real publish run failed fleet-wide at the Publish step:
cvcpkg publish --orgcrashes withModuleNotFoundError: pydantic— the org-slug validation lazily importscvcpkg.server.models(cli/_helpers.py:141), whose module-level pydantic import belongs to the server extra. Dry-runs never caught it (publish step skipped).One-word workflow fix: install
pydanticalongside cvcpkg. Proper upstream fix (relocatingvalidate_org_slugto a dependency-free module) is being PR'd to libcvc-deps; this line can be dropped after it lands. Publishes were re-dispatched from this branch to unblock.