-
Notifications
You must be signed in to change notification settings - Fork 4
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
Decouple run and development dependencies. #102
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #102 +/- ##
=======================================
Coverage 94.74% 94.74%
=======================================
Files 15 15
Lines 1807 1807
=======================================
Hits 1712 1712
Misses 95 95 ☔ View full report in Codecov by Sentry. |
coverage = "pytest tests --cov=metalearners --cov-report=xml --cov-report term-missing --color=yes" | ||
# Note that this task will fail on systems without bash. | ||
nb-convert = "nb-convert.sh" | ||
nb-mypy = "mypy docs/examples/*.py" | ||
|
||
[dependencies] |
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.
The depedencies
section is now equal to the conda-forge recipe's run requirements except for:
- An extra upper bound on scikit
- The absence of
typing-extensions
My hunch would be that typing-extensions
doesn't actually belong in the recipe's run requirements but I'm not sure.
Hi @pavelzw ! Would you mind taking a look at this? |
pixi.toml
Outdated
setuptools-scm = "*" | ||
setuptools = ">=61" |
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.
these two (and also pip
) should go into [host-dependencies]
as they are also required for the regular postinstall
task and thus need to be in the default envs as well.
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.
Ah, I see!
pixi.toml
Outdated
|
||
[feature.lint.dependencies] | ||
pip = "*" |
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.
is this required in lint?
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.
I don't think so; good catch!
Checklist
CHANGELOG.rst
entry