saghul / pythonz

Python installation manager supporting CPython, Stackless, PyPy and Jython
http://saghul.github.io/pythonz
MIT License
751 stars 69 forks source link

Fix version_re for python minor version using more than one number (Starting from 3.10) #179

Closed M0dM closed 7 months ago

M0dM commented 7 months ago

Current issue

Traceback (most recent call last):
  File "/home/benoit/.pythonz/scripts/pythonz/commands/install.py", line 104, in run_command
    p.install()
  File "/home/benoit/.pythonz/scripts/pythonz/installer/pythoninstaller.py", line 205, in install
    headerinfo = Downloader.read_head_info(self.download_url)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/benoit/.pythonz/scripts/pythonz/downloader.py", line 102, in read_head_info
    raise DownloadError('Failed to fetch %s' % url)
pythonz.downloader.DownloadError: Failed to fetch http://www.python.org/ftp/python/3.12/Python-3.12.tgz

Working now in modified version

M0dM commented 7 months ago

Forget it... working on latest pythonz version