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

error: Expected a dependency at index 6 #7259

Closed
kdheepak opened this issue Sep 10, 2024 · 3 comments · Fixed by #7262
Closed

error: Expected a dependency at index 6 #7259

kdheepak opened this issue Sep 10, 2024 · 3 comments · Fixed by #7262
Assignees
Labels
bug Something isn't working

Comments

@kdheepak
Copy link
Contributor

kdheepak commented Sep 10, 2024

I created a fresh project and ran the following:

$ history
 2233  which uv
 2234  uv self update
 2235  uv init --app
 2237  rm hello.py
 2238  vim .python-version
 2239  uv sync
 2241  uv add ipykernel --dev
 2242  ls
 2243  uv add "ibis-framework[duckdb]" pandas
 2244  uv add panel param
 2246  uv remove panel
 2247  uv add matplotlib panel param hvplot "ibis-framework[duckdb]" pandas # error occurs here
 2248  ls
 2249  rm uv.lock
 2251  uv add matplotlib panel param hvplot
 2252  uv add matplotlib panel param hvplot "ibis-framework[duckdb]" pandas
 2253  uv --version

And I was getting this error after removing panel as a dependency:

image

In the place I've marked as error occurs here in the history above.

After deleting uv.lock and adding the dependencies one by one I don't get the error again. I thought I'd report in case it was apparent to someone as to what is going on here

uv --version
uv 0.4.8 (956cadd1a 2024-09-09)
@kdheepak
Copy link
Contributor Author

It looks like the first uv add panel param added a version of panel that is incorrect? I'm not sure where it got version 3.9.2 from:

image

@kdheepak
Copy link
Contributor Author

Weirdly I'm not able to reproduce this again from scratch. Feel free to close if you think is a user error of some sort.

@charliermarsh charliermarsh added the bug Something isn't working label Sep 10, 2024
@charliermarsh
Copy link
Member

Definitely a bug! I reproduced once.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants