Skip to content

Invalid Python environment metadata keys #789

@alahiff

Description

@alahiff

Depending on your Python environment, keys in the metadata can look like this:

python.environment.fonttools @ file:///Users/runner/miniforge3/conda-bld/fonttools_1707240122963/work

Yes, that is a key, not a value! This contains invalid characters for a metadata key - they should match: ^[\w\-\s\.]+$.

We should agree on how to improve this, if at all possible. Originally the server only checked the top level keys, but when the Pydantic validation is improved to check everything there are problems because the Python API sends invalid data to the server.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingin reviewThis issue is resolved in a Pull Request which is being reviewed

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions