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 and update dependencies #728

Merged
merged 5 commits into from
Dec 16, 2022
Merged

Pin and update dependencies #728

merged 5 commits into from
Dec 16, 2022

Conversation

gdubicki
Copy link
Contributor

@gdubicki gdubicki commented Dec 15, 2022

In voxpupuli/puppet-puppetboard#374 (comment) I noticed that we have quite a different versions of packages. And with the way we manage this app in that Puppet module, updating the app will NOT trigger dependencies update (f.e. certifi package, which should be kept up to date).

If we pin specific versions of the dependencies AND keep them up to date with Dependabot (which we will enable in this repo after this PR), then updating the Puppetboard will update those packages and ensure that all users of the same Puppetboard version have the same dependencies.

@codecov
Copy link

codecov bot commented Dec 15, 2022

Codecov Report

Base: 85.55% // Head: 85.55% // No change to project coverage 👍

Coverage data is based on head (bc8b2f1) compared to base (db4ff4f).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #728   +/-   ##
=======================================
  Coverage   85.55%   85.55%           
=======================================
  Files          19       19           
  Lines        1087     1087           
=======================================
  Hits          930      930           
  Misses        157      157           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

as the former had conflicting dependencies with other packages.
This pinning is needed as sometimes installing test dependencies
is super slow in CI/CD because pip has to resolve a matching set
of versions (I observed even a >20 minutes running time and a timeout).
@gdubicki gdubicki marked this pull request as ready for review December 15, 2022 16:30
@gdubicki gdubicki merged commit 73b87aa into master Dec 16, 2022
@gdubicki gdubicki deleted the pin_and_update_dependencies branch December 16, 2022 14:26
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