Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pin the package version used during melange test #1581

Open
smoser opened this issue Oct 21, 2024 · 0 comments
Open

Pin the package version used during melange test #1581

smoser opened this issue Oct 21, 2024 · 0 comments

Comments

@smoser
Copy link
Contributor

smoser commented Oct 21, 2024

As described #1518, we would like to be able to run melange test on a yaml file and reproduce results even after the version specified in that yaml has been surpassed.

From #1518:

However, there is no version of this package specified which means if you were to execute the tests on an older commit, or incorrectly publish a newer version of the package and then revert without withdrawing, the test will use the latest version instead of the version from the config (package.version and package.epoch)

The change that landed there unfortunately broke serveral wolfi packages. such as py3-fastbencode as decribed in #1579 :

For an example, see wolfi-dev/os/py3-fastbencode.yaml
The main package is provider-priority 0 and the subpackages have specific provider-priorities > 0.
With the pkg=version change, we got the main package installed, which is empty, and the test would fail.

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

No branches or pull requests

1 participant