Skip to content
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

Merged
merged 7 commits into from
Feb 13, 2025
Merged

Decouple run and development dependencies. #102

merged 7 commits into from
Feb 13, 2025

Conversation

kklein
Copy link
Collaborator

@kklein kklein commented Feb 11, 2025

Checklist

  • Added a CHANGELOG.rst entry

@kklein kklein changed the title Split run and development dependencies. Decouple run and development dependencies. Feb 11, 2025
Copy link

codecov bot commented Feb 11, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.74%. Comparing base (3794f05) to head (855d91b).
Report is 1 commits behind head on main.

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.
📢 Have feedback on the report? Share it here.

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]
Copy link
Collaborator Author

@kklein kklein Feb 11, 2025

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.

@kklein
Copy link
Collaborator Author

kklein commented Feb 11, 2025

Hi @pavelzw ! Would you mind taking a look at this?

@kklein kklein marked this pull request as ready for review February 11, 2025 18:40
pixi.toml Outdated
Comment on lines 80 to 81
setuptools-scm = "*"
setuptools = ">=61"
Copy link
Member

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.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, I see!

855d91b

pixi.toml Outdated

[feature.lint.dependencies]
pip = "*"
Copy link
Member

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?

Copy link
Collaborator Author

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!

@kklein kklein requested a review from pavelzw February 13, 2025 15:01
@kklein kklein merged commit 95b545d into main Feb 13, 2025
16 checks passed
@kklein kklein deleted the issue-101 branch February 13, 2025 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Decouple end user dependencies from development dependencies in pixi.toml
2 participants