-
Notifications
You must be signed in to change notification settings - Fork 9
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
Drop explicit dependency on pangeo-forge-recipes #130
Conversation
I think the test failures are all real and need to be dealt with. Dropping this dependency was a goal for me too! The primary question is what happens <0.9.2 or whatever, where we have code that actually imports things directly from pangeo_forge_recipes. How do you want to handle that? |
No objections. Outside of tests it looks like this is the most important section of use so maybe we have those classes in both repos? |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #130 +/- ##
==========================================
+ Coverage 96.06% 96.09% +0.02%
==========================================
Files 14 14
Lines 458 461 +3
==========================================
+ Hits 440 443 +3
Misses 18 18 ☔ View full report in Codecov by Sentry. |
Yes! That was because we needed to give one of the bakery-specific optional installs in order to get beam in the test environment. I chose
My assumption is that
Yes! This is already the case! |
AFAICT, the only tests failing now are the Flink tests which use recipes version
In each of these test runs from #114, the job is supposedly parametrized with recipes The current PR fixes that issue by dropping recipes as a dependency, and in so doing reveals that Flink does not work for recipes I am totally comfortable with incomplete support for |
@yuvipanda @ranchodeluxe thank you both for the reviews! I've now xfailed the Flink + recipes Also, I've added a new check in the @jbusecke and I are on a major in-person hack this week, and having this PR in main will be very helpful for us to move forward, so I am going to merge now, in the understanding that I have addressed your comments above. If I have not, or there are other things you notice, please tag me in a new issue and we can discuss there! TYSM! |
thanks for xfailing, I will look at this at some point b/c they should work on |
@cisaacstern: somehow I didn't realize this was already merged 😆 anyhow, I see plenty examples of the 0.9.4 tests passing over the last couple weeks: https://github.com/pangeo-forge/pangeo-forge-runner/actions/runs/6669919443/job/18128713768 I'll just open another pr and remove |
* updated v0.9.2 * MNT: Re-rendered with conda-build 3.27.0, conda-smithy 3.29.0, and conda-forge-pinning 2023.11.21.15.03.38 * Drop runtime dependency on pangeo-forge-recipes Xref pangeo-forge/pangeo-forge-runner#130 * Add fsspec to test.requires To fix `ModuleNotFoundError: No module named 'fsspec'` when running `pangeo-forge-runner --help`. * Remove apache-beam from runtime dependencies Following pangeo-forge/pangeo-forge-runner#90. Also sort dependency list alphabetically. * Add apache-beam to test.requires Fixes `ModuleNotFoundError: No module named 'apache_beam'` when running `pangeo-forge-runner --help`. * MNT: Re-rendered with conda-build 3.27.0, conda-smithy 3.30.4, and conda-forge-pinning 2024.01.22.14.29.27 --------- Co-authored-by: Wei Ji <[email protected]>
Working on Pangeo Forge with @jbusecke this week.
We're hitting up against the fact that in various contexts the explicit dependency on pangeo-forge-recipes here is at best inefficient and at worst problematic.
In production workflows, we dynamically install a specific version of pangeo-forge-recipes on the client anyway, so the version installed here is extraneous (and might pull in unnecessary dependencies of it's own, etc.).
@ranchodeluxe @yuvipanda any objections?