Repository navigation
feat(dist): consume campus-model from its own distribution - #990
Merged
Merged
Conversation
…e 3, dist 2 of 5) campus/model is carved out of the suite: it now ships from the campus-model v0.1.0 release wheel (nyjc-computing/campus-model), same playbook as campus-common in #987. - suite declares campus-model as a version-pinned wheel dep and ships no campus/model (wheel verified: no campus/model, still init-less) - SHARED_ALLOWED drops the in-repo model entry; the AST rules still govern importing FROM campus.model (storage/webauth keep it allowed) - model behavior tests live in the campus-model repo; the suite keeps a consumer-side flask-free import check on the installed wheel - docs: PACKAGING.md overview/namespace/install sections + campus README tree + architecture/auth-login-flow file-path fixes
3 tasks
This was referenced Oct 28, 2026
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.
What
#970 phase 3, dist 2 of 5 —
campus.modelis carved out of the suite exactly likecampus.commonwas in #987: it now ships from the new campus-model v0.1.0 release wheel, and the suite consumes it as a version-pinned URL dependency.Changes
campus/model/deleted from the suite tree (~2.6k lines); pyproject declarescampus-modelas a wheel dep. Suite wheel verified: nocampus/model, still init-less (namespace audit green).SHARED_ALLOWEDdrops the in-repomodelentry — the AST boundary rules now govern what in-repo layers import FROM the externalcampus.model(storage/webauth keep it in their allowed sets, unchanged).The campus-model repo
__all__tests, leaf-surface consistency, checked-ininterface_manifest.json, strict-0.x versioning policy.mainruleset-protected; labels/topics mirrored.import campus.modelloads bcrypt viacredentials' use ofcampus.common.utils.secret— pre-existing monorepo behavior, documented rather than 'fixed' in the carve.Verification
campus, full 38-symbol re-export surface imports.Refs #970