Skip to content

deps: pin pepc and stats-collect to their GitHub release URLs#25

Open
x4v13r64 wants to merge 1 commit into
intel:mainfrom
x4v13r64:deps/pepc-stats-collect-git-urls
Open

deps: pin pepc and stats-collect to their GitHub release URLs#25
x4v13r64 wants to merge 1 commit into
intel:mainfrom
x4v13r64:deps/pepc-stats-collect-git-urls

Conversation

@x4v13r64

@x4v13r64 x4v13r64 commented Jun 9, 2026

Copy link
Copy Markdown

The pyproject currently declares pepc and stats-collect as version-floor PyPI requirements (pepc>=2.0.1, stats-collect>=1.0.68). Per the install guide at docs/guide-install.md, both are distributed via GitHub (intel/pepc, intel/stats-collect) and must be installed into the same venv before wult for the deps to resolve cleanly. That ordering is easy to miss when somebody copy-pastes the standalone pip3 install git+...wult.git@release example from the install guide into a fresh venv, or runs it from a script that didn't pre-install both upstream tools.

Switching the deps to PEP 440 direct URL references makes the install order-independent: pip install git+...wult.git@release pulls pepc and stats-collect from the upstream repositories regardless of whether they were pre-installed. The @release tag is the same one the install guide already uses for each, so the version pin behaviour is unchanged.

If either name ever gets published to PyPI, these lines can be flipped back to regular version ranges without further effort.

The pyproject currently declares pepc and stats-collect as version-floor
PyPI requirements (`pepc>=2.0.1`, `stats-collect>=1.0.68`). Per the
install guide at docs/guide-install.md, both are distributed via GitHub
(`intel/pepc`, `intel/stats-collect`) and must be installed into the same
venv before wult for the deps to resolve cleanly. That ordering is easy
to miss when somebody copy-pastes the standalone
`pip3 install git+...wult.git@release` example from the install guide
into a fresh venv, or runs it from a script that didn't pre-install both
upstream tools.

Switching the deps to PEP 440 direct URL references makes the install
order-independent: `pip install git+...wult.git@release` pulls pepc and
stats-collect from the upstream repositories regardless of whether they
were pre-installed. The `@release` tag is the same one the install guide
already uses for each, so the version pin behaviour is unchanged.

If a future PyPI publish of either name happens, the lines can be
flipped back to regular version ranges without further effort.
@x4v13r64 x4v13r64 requested a review from dedekind as a code owner June 9, 2026 08:18
Comment thread pyproject.toml
"pepc>=2.0.1",
"stats-collect>=1.0.68",
"pepc @ git+https://github.com/intel/pepc.git@release",
"stats-collect @ git+https://github.com/intel/stats-collect.git@release",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, good idea, thanks you! Need to adjust the make_a_release script though.

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.

2 participants