                                   for spec in specs):
                  self._env.missing_packages.append((key, specs))
          logger.debug(self._env.missing_packages)
  
      def _check_conda_missing_dep(self) -> None:
          """ Check for conda missing dependencies """
          if not self._env.is_conda:
              return
 
</s> remove scikit-learn==1.0.2; python_version < '3.8'
scikit-learn>=1.1.0; python_version >= '3.8'
 </s> add scikit-learn==1.0.2; python_version < '3.9'  # AMD needs version 1.0.2 and 1.1.0 not available in Python 3.7
scikit-learn>=1.1.0; python_version >= '3.9'
        for priority in reversed(_PRIORITY):
            # Put priority packages at beginning of list
            package = next((pkg for pkg in self._env.missing_packages if pkg[0] == priority), None)
            if package:
                idx = self._env.missing_packages.index(package)
                self._env.missing_packages.insert(0, self._env.missing_packages.pop(idx))
                                   for spec in specs):
                  self._env.missing_packages.append((key, specs))
        for priority in reversed(_PRIORITY):
            # Put priority packages at beginning of list
            package = next((pkg for pkg in self._env.missing_packages if pkg[0] == priority), None)
            if package:
                idx = self._env.missing_packages.index(package)
                self._env.missing_packages.insert(0, self._env.missing_packages.pop(idx))
          logger.debug(self._env.missing_packages)
  
      def _check_conda_missing_dep(self) -> None:
          """ Check for conda missing dependencies """
          if not self._env.is_conda:
              return
keep add keep keep keep keep keep keep
 setup.py - Fix AMD conflicts 
setup.py