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

Install dev dependencies inside docker container's system python #10287

Closed
rivershah opened this issue Jan 3, 2025 · 5 comments
Closed

Install dev dependencies inside docker container's system python #10287

rivershah opened this issue Jan 3, 2025 · 5 comments
Labels
duplicate This issue or pull request already exists enhancement New feature or improvement to existing functionality

Comments

@rivershah
Copy link

This installs dependencies only:
uv pip install --system --all-extras -r pyproject.toml

How do we install specific groups please to system python, for example defined like this:

[dependency-groups]
    dev = ["pytest>=8.3.4"]
@rivershah
Copy link
Author

rivershah commented Jan 3, 2025

I restructured pyproject.toml

...
[project.optional-dependencies]
    dev = [
        "pytest==8.3.4",
...
    ]

uv pip install --system -r pyproject.toml --extra dev works fine

I can't get dependency groups to install though. Thanks for any guidance

@charliermarsh
Copy link
Member

I think you should track #8590 for that. We haven't added the group syntax to uv pip yet.

@charliermarsh charliermarsh added duplicate This issue or pull request already exists enhancement New feature or improvement to existing functionality labels Jan 3, 2025
@charliermarsh
Copy link
Member

(We definitely want to support this, just doesn't exist yet.)

@rivershah
Copy link
Author

Thanks for closing this duplicate. Apologies I missed the existing issue

@charliermarsh
Copy link
Member

No worries at all, hard to find.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists enhancement New feature or improvement to existing functionality
Projects
None yet
Development

No branches or pull requests

2 participants