-
Notifications
You must be signed in to change notification settings - Fork 2
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
Add manifest ci & update manifest #130
Conversation
@tcompa Could you help out here with the way we check for whether the manifest is correct? There appears to be some issue with our checking action here. By default, I run into the following error:
If I add an init.py file to the dev folder (which isn't necessary in other packages), I hit:
If I add init.py to both folders, I still hit the error from above. Any idea what is configured wrong here? Are there assumptions in our create_manifest that don't hold for those setup.cfg configured Python projects? |
For the record, this does not take place when trying to reproduce it locally
I'll have a look at the GitHub action |
Thanks @tcompa ! Yes, it also works fine for me locally |
@jluethi I cannot push to this branch. Could you try to replace
with
in the GitHub action yaml file? The explanation is as follows:
and then this works with/without
Later during manifest-creation, we look for the If we don't want to depend on the fact that we are in an editable install of the relevant package for which we want to build the manifest, then we need to make an assumption about where the |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #130 +/- ##
==========================================
+ Coverage 0.26% 50.55% +50.29%
==========================================
Files 55 55
Lines 4942 4943 +1
==========================================
+ Hits 13 2499 +2486
+ Misses 4929 2444 -2485 ☔ View full report in Codecov by Sentry. |
@nrepina it looks like your way of recreating the manifest leads to some potential issues where extra spaces get added. Maybe a IDE setting where you normalize some files?
We test that some core packages like scmultiplex have their manifest created correctly in fractal tasks core. scmultiplex raised some issues now. I fixed those with this PR. And I suggest we add a check to the CI that the manifest as it is committed is what the CI and other ways of building it would create as well.
Happy to help spot what causes the issue on your end when I'm in Basel next :)