[BUG]In last version (0.30.0) It is not possible to install package with git tag
Open
@modelpath-dev is already working on this.
Since Sep 18, 2026.
status/accepted
triage/recommended
type/bug
- Dominant language
- Python
- Stars
- 3.8k
- Forks
- 362
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 132
Description
Describe the bug
In last version (0.30.0) It is not possible to install package with git tag
0.20.0 has no such issue.
To Reproduce
- Create marketplace sample-marketplace (I have gitlab baseed marketplace)
- Publish package apm-sample-package with git tag v1.0.1
- apm install apm-sample-package@sample-marketplace#v1.0.1
Error in resonse
[*] Validating 1 package...
[x] apm-sample-package@sample-marketplace#v1.0.1 -- No tag matching version '1.0.1' found for package 'apm-sample-package' (pattern='{version}',
remote='.....'. Verify the published tags or set version to an explicit tag such as 'v1.0.0')
All packages failed validation. Nothing to install.
Expected behavior
Package is intalled
Additional context
Method resolve_version_constraint calls list_remote_refs to get list of refs.
This list_remote_refs has two parameters:
owner_repo and remote_url, but resolve_version_constraint provides only owner_repo with marketplace repo, not package repo.
Provided tag exists only in package repo and validation fails.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.