-
Notifications
You must be signed in to change notification settings - Fork 3
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
CICD: build does not work because of dependency conflicts #403
Comments
@tloubrieu-jpl please accept my apologies. I read the title:
and fixed that. But I didn't notice the acceptance criterion:
I shall get to work on that. |
Okay, a lot to unpack here. First, even if "the project builts properly in a new virtual environment", that's no guarantee it'll work in GitHub Actions. The two environments are vastly different: different versions of Python 3.9 and package dependencies, different operating systems (macOS vs Linux vs Windows), and now thanks to the rise of Apple Silicon, even different CPUs. What we strive to do is compromise between the CI/CD environment and developers' desktops. That's what So, executive summary: this ticket cannot be resolved. Read on for the gory details. Package DependenciesThe
These all slow down the build because these packages in particular take a long time to construct. By changing these dependencies to:
we satisfy the the previous It also has two other speed-bumps:
Adding these pins:
we can further speed up the build. That brings us to
I'd like @jimmie to chime in as he originally submitted #369 and @alexdunnjpl who provided the fix to it. What's important about 1.4? Is 1.3 okay? Code IssuesOnce we address the above, there are lingering issues in the Specifically, there were lint errors in these files: And in from collections import Iterable which doesn't exist; it should be from typing import Iterable After fixing all these, we can finally turn it over to the Roundup. The Speed LimitWith all this in place, the free GitHub Actions runner can complete the Roundup in about 45 minutes, which exceeds the acceptance criterion for this ticket. We could put even more of However, doing so means it freezes the versions of 36 packages for the entire NASA-PDS organization. Other packages could still supply newer versions, such as The other time sink is the sheer size of the The only way I've found so far is to use a self-hosted GitHub Actions runner. Using such a runner I believe I can get 10 minutes or less. SummarySorry, @tloubrieu-jpl: cannot fix without self-hosted runner. |
Let's downgrade pandas to 1.3.4 |
Checked for duplicates
Yes - I've already checked
🐛 Describe the bug
For a few week the github action do not work anymore because of dependency conflict issues.
However, the project builts properly in a new virtual environment.
🕵️ Expected behavior
I expected the github actions to run successfully in less than 30 minutes.
📜 To Reproduce
No response
🖥 Environment Info
No response
📚 Version of Software Used
No response
🩺 Test Data / Additional context
No response
🦄 Related requirements
No response
⚙️ Engineering Details
This ticket and NASA-PDS/roundup-action#109 are both a result of not using a new virtual environment anymore in the github actions.
The text was updated successfully, but these errors were encountered: