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

Feature request: add --no-deps support for TOML head dependencies section #9141

Closed
shelper opened this issue Nov 15, 2024 · 1 comment · Fixed by #9162
Closed

Feature request: add --no-deps support for TOML head dependencies section #9141

shelper opened this issue Nov 15, 2024 · 1 comment · Fixed by #9162
Assignees
Labels
enhancement New feature or improvement to existing functionality

Comments

@shelper
Copy link

shelper commented Nov 15, 2024

I am using uv 0.5.2,
i am trying to run a script with head of something like:

# /// script
# requires-python = ">=3.8,<3.9"
# dependencies = [
# "onnx",
# "onnxruntime",
# "numpy",
# "openvino2tensorflow==1.34.0",
# "tensorflow-datasets==4.9.1",
# "protobuf==3.20.3",
# "openvino==2021.4.2 --no-deps",
# ]
# ///

what i am looking for is a way to override uv to install certain packages with option --no-deps so it ignores the conflicts as needed.

@charliermarsh
Copy link
Member

We might need to support overrides and constraints in PEP 723 scripts.

@charliermarsh charliermarsh added enhancement New feature or improvement to existing functionality help wanted Contribution especially encouraged labels Nov 16, 2024
@charliermarsh charliermarsh self-assigned this Nov 16, 2024
@charliermarsh charliermarsh removed the help wanted Contribution especially encouraged label Nov 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or improvement to existing functionality
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants