Repository navigation
test: add local VCS helper package; VCS entries for environment and requirements testbeds - #1163
Conversation
Up to standards ✅🟢 Issues
|
|
please also add a please streamline the test beds with existing ones
please consolidate the tested - we probably already have ones for the purposes. And while on it, please dont scope this around pipenv - add them entries for all the supported methods. After this, please adjust the PR title and description. |
|
Thanks! I'll repurpose this PR and drop the separate
Two questions before I start:
|
Interesting point, and thanks for bringing this up. 👍 My first idea was - and it is pretty raw:
please add one wherever possible - please don't write lock files from hand. There are options to use repos without credentials - like |
|
Thanks! Agreed on the helper-package approach. A few findings before I build it:
Plan: add To keep reviews manageable, I'd split this: this PR → helper package + environment + requirements; follow-up PRs for pipenv and poetry lock files. OK? |
Understood. Sounds good to me.
I see. or have a separate section in the setup scripts -
good catch. fully agree!
sounds reasonable - lets start with this. If needed, we can add on it later.
thank you very much. please go ahead. |
38defdb to
96f52ab
Compare
Documentation build overview
|
…d requirements testbeds Signed-off-by: Pinsara Sarathchandra <113714@foe.sjp.ac.lk>
96f52ab to
af028a7
Compare
|
Fixed: the first push accidentally recorded Started on the pipenv follow-up and found a design question, which also applies to poetry:
Options I see: Which would you prefer? |
jkowalleck
left a comment
There was a problem hiding this comment.
this looks fantastic. thank you so much for taking care of this.
…t snapshots Signed-off-by: Pinsara Sarathchandra <113714@foe.sjp.ac.lk>
|
Applied the suggested author name. Since it's part of the reproducible commit hash, I regenerated the environment snapshots in the same commit. This also fixes the earlier CI failures: the environment snapshots accidentally contained a leftover package from a local prototype venv. Regenerated from a clean environment and verified locally that the |
|
for pipenv, the following worked for me: package-e = {git = "git+file:${PWD}/../../_helpers/local_pckages/e_vcs"} |
to be independent from the dirt hat Any suggestions, @pinsara23 ? |
|
Tested with pipenv 2026.8.0, nice find! The lockfile keeps the variable unexpanded ( Suggestion: a dedicated env var rather than
I'd keep the If that's OK, I'll prepare the pipenv follow-up PR this way after this one is merged. |
we could have a using |
sure. lets merge this one and improve in a different dedicated PR later. will merge . |
Adds test data for VCS dependencies, as discussed above. Snapshots record the current behavior, so the fix for #1152 will show its effect as snapshot changes.
_helpers/local_pckages/e_vcs: a tiny package plusinit_repo.py, which turns the folder into a local git repo on demand (skips if.gitexists; fixed author/branch viagit config, fixed commit date,core.autocrlf=input, so the commit hash is reproducible across machines)..gitis gitignored. See its README.localtestbed runsinit_repo.pyand installspackage-eviagit+file://(absolute URL resolved at install time; pip doesn't support relative VCS URLs)git+ssh://git@…entry added towith-urls.txt; localgit+file:///…entry added tolocal.txtFollow-up PRs: pipenv and poetry lock files, regenerated with the real tools against the helper repo.
No code changes. Prepares #1152.
I used Claude Code to help prepare this change; I reviewed it myself.