-
Notifications
You must be signed in to change notification settings - Fork 17
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
Support {python}
placeholder
#227
Conversation
Code Climate has analyzed commit 3fc0079 and detected 0 issues on this pull request. View more on Code Climate. |
The failures are due to dockerhubs rate limiting:
|
@adswa Yeah, the test setup is not so nice. Locally this works now -- also on windows. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks sensible to me
any idea on how many tests would fail if windows is added as a test env? |
When I execute the tests on windows (minus anything metalad-related datalad/datalad-metalad#397 because I am working with PY3.12 right now), I see 8 failed, 13 passed. A good chunk of the failures is simply #233, most of the rest is wrong path assumptions. |
This placeholder is expanded on *execution* of a container, rather than on configuration/addition. This helps use the same Python installation that is also executing the datalad-container code. Previously, the docker-support code would expand and then hardcode `sys.executable` on configuring a container. This led to non-portable configuration (e.g., hardcoded `python.exe` on windows), and would fail to pick up the correct python installation in any case where the `python` entrypoint would not point to the correct one. Closes datalad#226 Closes datalad#224
Rebased after merge of #235 |
Codecov ReportAll modified lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #227 +/- ##
=======================================
Coverage 94.59% 94.59%
=======================================
Files 25 25
Lines 1091 1092 +1
=======================================
+ Hits 1032 1033 +1
Misses 59 59
☔ View full report in Codecov by Sentry. |
Merging, given the approvals. |
This placeholder is expanded on execution of a container, rather than on configuration/addition. This helps use the same Python installation that is also executing the datalad-container code.
Previously, the docker-support code would expand and then hardcode
sys.executable
on configuring a container. This led to non-portable configuration (e.g., hardcodedpython.exe
on windows), and would fail to pick up the correct python installation in any case where thepython
entrypoint would not point to the correct one.Closes #226
Almost does #224 (missing the platform path issue)