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

Workspace-only projects #236

Closed
bluss opened this issue May 28, 2023 · 1 comment · Fixed by #551
Closed

Workspace-only projects #236

bluss opened this issue May 28, 2023 · 1 comment · Fixed by #551
Labels
enhancement New feature or request

Comments

@bluss
Copy link
Contributor

bluss commented May 28, 2023

Workspace-only projects can be used to manage a python environment, with dependencies. What sets it apart from other projects is that it doesn't make sense to install a workspace-only project as a wheel. In theory it does then not need or support a version, a build system, and when "rye sync" runs there is no "self package" that's installed.

Typical usecases: You manage a python environment and installed tools. The project only contains jupyter notebooks and a kernel. The project is just utility scripts that are never installed, only run.

This was discussed on discord, so I thought it would be useful to track it here.


Some research:

Poetry doesn't have a direct equivalent, but poetry install --no-root overlaps with this usecase. The issue 2458 on their issue tracker discusses it.

@mitsuhiko
Copy link
Collaborator

This absolutely makes sense. In fact the pyproject.toml in this particular repository asks for this, as it is only used to pull in mkdocs and dependencies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants