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

add tool configuration via pyproject.toml #6

Closed
CagtayFabry opened this issue Nov 6, 2022 · 3 comments · Fixed by #57
Closed

add tool configuration via pyproject.toml #6

CagtayFabry opened this issue Nov 6, 2022 · 3 comments · Fixed by #57

Comments

@CagtayFabry
Copy link
Owner

Some configuration options would be nice, on the top of my head:

  • list of dependencies to install via pip
  • mapping of dependency names that differ for pip and conda (e.g. weldx-widgets -> weldx_widgets)
@marscher
Copy link
Collaborator

marscher commented Nov 7, 2022

The pip list can also be provided by the env.yaml, right? So we would just require another loop for it and redirect the package names to pip.
This step has to occur after the mapping of the package names of course.

Another useful option could be to override the name of the environment. Also channels could be overridden by the config IMO.

@CagtayFabry
Copy link
Owner Author

The pip list can also be provided by the env.yaml, right? So we would just require another loop for it and redirect the package names to pip.
This step has to occur after the mapping of the package names of course.

exactly the packages should just be placed in the pip section of the environment

Another useful option could be to override the name of the environment. Also channels could be overridden by the config IMO.

yes setting default config values in a config file sounds good

@marscher
Copy link
Collaborator

marscher commented Oct 15, 2024

Actually this issue is the blocker to install (new) environments during testing in the weldx repository.

  error    libmamba Could not solve for environment specs
      The following package could not be installed
      └─ setuptools-scm[toml] >=6.2 does not exist (perhaps a typo or a missing channel).

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 a pull request may close this issue.

2 participants