Skip to content

uv sync --all-extras is giving "error: Failed to generate package metadata for agbench==0.0.1a1 @ editable+packages/agbench" error #4905

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

Closed
karun19 opened this issue Jan 6, 2025 · 2 comments

Comments

@karun19
Copy link

karun19 commented Jan 6, 2025

What happened?

warning: Missing version constraint (e.g., a lower bound) for pytest
warning: Missing version constraint (e.g., a lower bound) for pytest-asyncio
warning: Missing version constraint (e.g., a lower bound) for pytest-cov
warning: Missing version constraint (e.g., a lower bound) for pytest-xdist
warning: Missing version constraint (e.g., a lower bound) for typer
warning: Missing version constraint (e.g., a lower bound) for rich
warning: Missing version constraint (e.g., a lower bound) for polars
warning: Missing version constraint (e.g., a lower bound) for pytest-mock
warning: Missing version constraint (e.g., a lower bound) for poethepoet
warning: Missing version constraint (e.g., a lower bound) for packaging
warning: Missing version constraint (e.g., a lower bound) for mypy-protobuf
warning: Missing version constraint (e.g., a lower bound) for cookiecutter
warning: Missing version constraint (e.g., a lower bound) for tomli
warning: Missing version constraint (e.g., a lower bound) for tomli-w
error: Failed to generate package metadata for agbench==0.0.1a1 @ editable+packages/agbench
Caused by: Failed to resolve requirements from build-system.requires
Caused by: No solution found when resolving: hatchling
Caused by: Failed to fetch: https://pypi.org/simple/hatchling/
Caused by: Request failed after 3 retries
Caused by: error sending request for url (https://pypi.org/simple/hatchling/)
Caused by: client error (Connect)
Caused by: invalid peer certificate: UnknownIssuer
bash: .venv/bin/activate: No such file or directory

What did you expect to happen?

Succssful completion of the command

How can we reproduce it (as minimally and precisely as possible)?

Megentic one setup

https://github.com/microsoft/autogen/tree/main/python/packages/autogen-magentic-one#environment-configuration-for-chat-completion-client

AutoGen version

Magentic-One

Which package was this bug in

Magentic One

Model used

No response

Python version

No response

Operating system

No response

Any additional info you think would be helpful for fixing this bug

No response

@jackgerrits
Copy link
Member

Are you using a HTTP proxy or anything like that? You weren't able to resolve PyPi and the root cause looks to be

Caused by: invalid peer certificate: UnknownIssuer

When I search that http proxies are mentioned

@karun19
Copy link
Author

karun19 commented Jan 8, 2025

@jackgerrits yeah, I was connected to VPN.
Thansk a lot

@karun19 karun19 closed this as completed Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants