Results 282 comments of layday

Behind the scenes, Pydantic constructs a callback from your `json_encoders` which it passes to the `default` argument of `json.dumps`. This is only called for types which the `json` module cannot...

You have ```py arbitrary_types_allowed: True ``` This should be: ```py arbitrary_types_allowed = True ```

Pydantic models are converted to dictionaries prior to being encoded.

I don't understand how #9753 is going to help with build inheriting a parent venv's configuration. When you create a venv from another venv, `sys.base_prefix` does not point to the...

If we can step away from discussing the implementation for a minute, what's not been made clear through the course of this conversation is that this change would _only_ be...

I'd question whether this is a valid configuration vector outside of a Conda environment. The intention with loading configuration from `{sys.prefix}/pip.conf` was to allow configuring pip in a virtual environment...

It is relevant to Conda because only with Conda will you have a different base prefix for every development environment. Without this precondition there is no use case for base...

Conda is mentioned in the bug report. I’ve explained why inheriting from a base prefix is problematic in other contexts. I’m going to drop out of this conversation now since...

This was done in #361 which has languished. Feel free to factor the virtualenv change out in a separate PR.

I assume the issue is that pip attempts to install wheel which is not provisioned by venv. You could try downloading wheel ahead of time and setting `PIP_NO_INDEX=1` and `PIP_FIND_LINKS=/path/to/wheel/dir`...