def get_python_base(self, python_version, pull=True):
        """
        Returns the name and tag of an image with specified ``python_version`` installed,
        if the image doesn't exist locally, it's pulled or built (extending the image from :meth:`get_arca_base`).
        """
        name = self.get_arca_base_name()
        tag = self.get_python_base_tag(python_version)

        def get_dockerfile():
            base_arca_name, base_arca_tag = self.get_arca_base(pull)

            return f"""
                FROM {base_arca_name}:{base_arca_tag}
                RUN pyenv update && \
                    pyenv install {python_version}
                ENV PYENV_VERSION {python_version}
                ENV PATH "/home/arca/.pyenv/shims:$PATH"
                RUN pip install --upgrade pip setuptools pipenv
                CMD bash -i
            """

        self.get_or_build_image(name, tag, get_dockerfile, pull=pull)

        return name, tag