Have you ever been on a flight where someone with peanut allergies is on the plane? The flight attendants announce that someone on the plane is allergic, so peanuts will not be served on the plane as a matter of safety.
The same courtesy should exist for people with allergies to pets. Many of them have to spend the whole flight concerned that they might have a reaction because they are forced to share the same re-circulated air as a pet that is potentially dangerous to them.