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

Check the min requirements in CI #459

Merged
merged 1 commit into from
Mar 22, 2023
Merged

Check the min requirements in CI #459

merged 1 commit into from
Mar 22, 2023

Conversation

gadomski
Copy link
Member

@gadomski gadomski commented Mar 22, 2023

Related Issue(s):

Description:

Our requirements-min.txt got out-of-sync with our actual requirements. This adds a check to CI to make sure they stay in sync.

An alternative would be to remove requirements-min.txt. However, that makes it hard to know when our package breaks at the lower bounds of our dependencies. There's a complexity vs. protection tradeoff here.

I don't think these changes need to be in the CHANGELOG, as they're only infrastructure tweaks.

I also sorted the requirements-dev.txt file -- I find it easier to check what we depend on visually if that list is sorted 🤷🏽.

Update: I really thought there should be A Better Way™ of doing this, and I finally stumbled across pypa/pip#8085 which describes exactly the solution that I'd want. And it doesn't exist yet. So here we are.

PR Checklist:

  • Code is formatted
  • Tests pass
  • Changes are added to the CHANGELOG

@gadomski gadomski added the github_actions Pull requests that update GitHub Actions code label Mar 22, 2023
@gadomski gadomski requested a review from pjhartzell March 22, 2023 10:28
@gadomski gadomski self-assigned this Mar 22, 2023
@gadomski gadomski added this to the 0.7.0 milestone Mar 22, 2023
@codecov-commenter
Copy link

codecov-commenter commented Mar 22, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (d2ce038) 87.15% compared to head (53d958b) 87.15%.

❗ Current head 53d958b differs from pull request most recent head 3de586b. Consider uploading reports for the commit 3de586b to get more accurate results

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #459   +/-   ##
=======================================
  Coverage   87.15%   87.15%           
=======================================
  Files          11       11           
  Lines         833      833           
=======================================
  Hits          726      726           
  Misses        107      107           

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 in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@gadomski gadomski force-pushed the check-min-requirements branch from 53d958b to 3de586b Compare March 22, 2023 10:38
@pjhartzell
Copy link
Collaborator

I also sorted the requirements-dev.txt file

+1 on this

@gadomski gadomski merged commit 557aa41 into main Mar 22, 2023
@gadomski gadomski deleted the check-min-requirements branch March 22, 2023 21:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
github_actions Pull requests that update GitHub Actions code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants