      def _get_field_value_map(self, meta, exclude=None):
          if exclude is None:
              exclude = set()
          meta = meta or self._meta
          return {
              field.name: Value(getattr(self, field.attname), field)
              for field in meta.local_concrete_fields
              if field.name not in exclude
          }
  
 
</s> remove             if name == "pk":
 </s> add             if name == "pk" and opts is not None:
        field_map = {
      def _get_field_value_map(self, meta, exclude=None):
          if exclude is None:
              exclude = set()
          meta = meta or self._meta
        field_map = {
              field.name: Value(getattr(self, field.attname), field)
              for field in meta.local_concrete_fields
              if field.name not in exclude
          }
  
keep keep keep keep replace keep keep keep keep keep
 Fixed #34743 -- Fixed Meta.constraints validation crash when using pk.

Thanks Nwawel A Iroume for the report. 
django/db/models/base.py