          self._counts: Dict[str, int] = {}
          logger.debug("Initialized %s", self.__class__.__name__)
  
      def _check_and_update(self,
                            alignment: "PNGHeaderAlignmentsDict",
                            face: "AlignmentFileDict") -> None:
          """ Check whether the key requires updating and update it.
  
          alignment: dict
              The alignment dictionary from the PNG Header
          face: dict
 
</s> remove         self._updatable_keys: List[Literal["identity", "mask"]] = ["identity", "mask"]
        self._counts: Dict[str, int] = {}
 </s> add         self._updatable_keys: list[T.Literal["identity", "mask"]] = ["identity", "mask"]
        self._counts: dict[str, int] = {} </s> remove     def _get_detected_face(cls, alignment: "AlignmentFileDict") -> DetectedFace:
 </s> add     def _get_detected_face(cls, alignment: AlignmentFileDict) -> DetectedFace: </s> remove                          alignment: "AlignmentFileDict",
                         image: "np.ndarray") -> DetectedFace:
 </s> add                          alignment: AlignmentFileDict,
                         image: np.ndarray) -> DetectedFace: </s> remove     def _check_for_missing(self, frame: str, idx: int, alignment: "AlignmentFileDict") -> bool:
 </s> add     def _check_for_missing(self, frame: str, idx: int, alignment: AlignmentFileDict) -> bool: </s> remove         self._counts: Dict[str, int] = dict(features=0,
                                            min_scale=0,
                                            max_scale=0,
                                            distance=0,
                                            roll=0)
 </s> add         self._counts: dict[str, int] = {"features": 0,
                                        "min_scale": 0,
                                        "max_scale": 0,
                                        "distance": 0,
                                        "roll": 0}
                          alignment: PNGHeaderAlignmentsDict,
                          face: AlignmentFileDict) -> None:
          self._counts: Dict[str, int] = {}
          logger.debug("Initialized %s", self.__class__.__name__)
  
      def _check_and_update(self,
                          alignment: PNGHeaderAlignmentsDict,
                          face: AlignmentFileDict) -> None:
                          alignment: PNGHeaderAlignmentsDict,
                          face: AlignmentFileDict) -> None:
          """ Check whether the key requires updating and update it.
  
          alignment: dict
              The alignment dictionary from the PNG Header
          face: dict
keep keep keep keep replace replace keep keep keep keep keep
 Rebase code (#1326)

* Remove tensorflow_probability requirement

* setup.py - fix progress bars

* requirements.txt: Remove pre python 3.9 packages

* update apple requirements.txt

* update INSTALL.md

* Remove python<3.9 code

* setup.py - fix Windows Installer

* typing: python3.9 compliant

* Update pytest and readthedocs python versions

* typing fixes

* Python Version updates
  - Reduce max version to 3.10
  - Default to 3.10 in installers
  - Remove incompatible 3.11 tests

* Update dependencies

* Downgrade imageio dep for Windows

* typing: merge optional unions and fixes

* Updates
  - min python version 3.10
  - typing to python 3.10 spec
  - remove pre-tf2.10 code
  - Add conda tests

* train: re-enable optimizer saving

* Update dockerfiles

* Update setup.py
  - Apple Conda deps to setup.py
  - Better Cuda + dependency handling

* bugfix: Patch logging to prevent Autograph errors

* Update dockerfiles

* Setup.py - Setup.py - stdout to utf-8

* Add more OSes to github Actions

* suppress mac-os end to end test 
tools/alignments/jobs_faces.py