ghrdZddlmZmZddlmZedeZGddeZd ed efd ZefZ d S) zThe purpose of this module is implement PEP 621 validations that are difficult to express as a JSON Schema (or that are not supported by the current JSON Schema library). )MappingTypeVar)ValidationErrorT)boundceZdZdZdS)RedefiningStaticFieldAsDynamiczAccording to PEP 621: Build back-ends MUST raise an error if the metadata specifies a field statically as well as being listed in dynamic. N)__name__ __module__ __qualname____doc__/builddir/build/BUILD/imunify360-venv-2.6.0/opt/imunify360/venv/lib/python3.11/site-packages/setuptools/config/_validate_pyproject/extra_validations.pyr r srr pyprojectreturnc|di}|dg}|D]7}||vr1d|d}|dz }d|}|||ddd|i}t|||d 8|S) Nprojectdynamicz(You cannot provide a value for `project.z` and z0list it under `project.dynamic` at the same timez data.project.z...z # ...zPEP 621)rule)getr )r project_tablerfieldmsgnamevalues rvalidate_project_dynamicrsMM)R00M 2..GSS M ! !JUJJJC E EC*5**DM%0%9gVE0eT RRR R " rN) rtypingrrerror_reportingrrr rEXTRA_VALIDATIONSrrrr"s $#######,,,,,, GCw_  a    ./r