Skip to content

Check conda versions match pip versions - #2851

Merged
freddyaboulton merged 16 commits into
mainfrom
check-conda-pip-versions
Sep 28, 2021
Merged

Check conda versions match pip versions#2851
freddyaboulton merged 16 commits into
mainfrom
check-conda-pip-versions

Conversation

@freddyaboulton

@freddyaboulton freddyaboulton commented Sep 28, 2021

Copy link
Copy Markdown
Contributor

Pull Request Description

Add a CI job to check that the versions listed in our requirements files (used to install via pip) match the versions listed in our conda recipe (used to install via conda).

This is important because these should be equal to avoid the conda recipe getting stale. XGBoost is a good example of this. In pip, we list >=1.4.2 but in conda, we have <1.3.0.

The goal is to check that our pip dependencies match the conda dependencies in latest_release_changes whenever we update one of our dependencies.

We check latest_release_changes instead of master because the latest_release_changes branch keeps track of all the changes we need to make prior to making the next conda release.

When we go do the next conda release in the feedstock, CI will run to check that the PR has the same dependencies as latest_release_changes

Example where the check failed

https://github.com/alteryx/evalml/runs/3735325116?check_suite_focus=true

Example where the check passed

https://github.com/alteryx/evalml/runs/3735846986?check_suite_focus=true

Example of build_conda_pkg passing

https://github.com/alteryx/evalml/runs/3735847310?check_suite_focus=true


After creating the pull request: in order to pass the release_notes_updated check you will need to update the "Future Release" section of docs/source/release_notes.rst to include this pull request by adding :pr:123.

@codecov

codecov Bot commented Sep 28, 2021

Copy link
Copy Markdown

Codecov Report

Merging #2851 (f9653d7) into main (81ad24f) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff          @@
##            main   #2851   +/-   ##
=====================================
  Coverage   99.8%   99.8%           
=====================================
  Files        302     302           
  Lines      28148   28148           
=====================================
  Hits       28070   28070           
  Misses        78      78           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 81ad24f...f9653d7. Read the comment docs.

@freddyaboulton
freddyaboulton force-pushed the check-conda-pip-versions branch from 9eb136b to 853f30d Compare September 28, 2021 19:03
@freddyaboulton
freddyaboulton marked this pull request as ready for review September 28, 2021 20:49

@chukarsten chukarsten left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is really cool. Thanks for doing this Freddy. I guess you got tired of all of us asking you how to handle the feedstock X-D.

@chukarsten chukarsten mentioned this pull request Oct 1, 2021
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