Skip to content

refactor:integration tests #14

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Conversation

sgaist
Copy link
Member

@sgaist sgaist commented Jun 16, 2025

Describe your changes

This PR puts the integration tests of all the installers under one folder and thus one package.

Having them separated had the following issues:

  • Dependencies rebuild for each suite
  • Using the same cache would not work so one cache per suite means that more space was required to hold the same dependencies
  • Having one central settings object for all of them was not possible

The last point might be possible to some extent using the go:linkname directive but that's not even sure.

sgaist added 4 commits June 16, 2025 14:40
Keeping them split showed several issues:
- Concurrent access to the cache is not working
  (fixed by using one cache per test suit)
- Each suit would rebuild all its the dependencies
  which means that the cost on disk would balloon as
  well as the time spent to rebuild the same artifacts
- Each suit being independent, in the package sense,
  means sharing package level variables such as
  settings was not possible.
This follows the same scheme as python-installers.
It is not tested in the pip buildpack and it's currently
failing during cpython installation.

The symlink creation from python3 to python fails.
@sgaist sgaist added the semver:patch A change requiring a patch version bump label Jun 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver:patch A change requiring a patch version bump
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant