democritus-project / d8s-file-system

Democritus functions for working with files and directories.
GNU Lesser General Public License v3.0
1 stars 0 forks source link

ERROR: No matching distribution found for democritus_file_system #14

Open mlliarm opened 1 year ago

mlliarm commented 1 year ago

Context

Python version (e.g. 3.9.1): 3.10.9 Version of this project being used (e.g. 1.2021.01.13): Last version via pip. Other info (if applicable): N/A

What I did

I tried installing democritus_file_system because it's in the requirements_dev.txt of the html-to-json project, but I'm getting an error that breaks the installation:

$ pip --version
pip 23.0
$ pip install -r requirements_dev.txt 
Collecting black
  Using cached black-23.1.0-py3-none-any.whl (174 kB)
Collecting bump2version
  Using cached bump2version-1.0.1-py2.py3-none-any.whl (22 kB)
Collecting codecov
  Using cached codecov-2.1.12-py2.py3-none-any.whl (16 kB)
Collecting democritus_file_system
  Using cached democritus_file_system-2021.1.2701.tar.gz (12 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Discarding https://files.pythonhosted.org/packages/fb/3d/191c46b705d7b9fbce09f09ae10e7f8aa1f635bb5dbc75ae5702c207fa8c/democritus_file_system-2021.1.2701.tar.gz (from https://pypi.org/simple/democritus-file-system/): Requested democritus_file_system from https://files.pythonhosted.org/packages/fb/3d/191c46b705d7b9fbce09f09ae10e7f8aa1f635bb5dbc75ae5702c207fa8c/democritus_file_system-2021.1.2701.tar.gz (from -r requirements_dev.txt (line 4)) has inconsistent version: expected '2021.1.2701', but metadata has '2021.1.27'
  Using cached democritus_file_system-2021.1.2101.tar.gz (12 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Discarding https://files.pythonhosted.org/packages/9e/b4/8e1126961c5bf794e5477541c45b08608a160b8211cb31108918df8050ff/democritus_file_system-2021.1.2101.tar.gz (from https://pypi.org/simple/democritus-file-system/): Requested democritus_file_system from https://files.pythonhosted.org/packages/9e/b4/8e1126961c5bf794e5477541c45b08608a160b8211cb31108918df8050ff/democritus_file_system-2021.1.2101.tar.gz (from -r requirements_dev.txt (line 4)) has inconsistent version: expected '2021.1.2101', but metadata has '2021.1.21'
ERROR: Could not find a version that satisfies the requirement democritus_file_system (from versions: 2021.1.2101, 2021.1.2701)
ERROR: No matching distribution found for democritus_file_system

What I expected to happen

I expected the installation of democritus_file_system not to fail.

What actually happened

I've isolated the error messages from the installation of this package, by trying to install it separately:

$ pip install democritus_file_system
Collecting democritus_file_system
  Using cached democritus_file_system-2021.1.2701.tar.gz (12 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Discarding https://files.pythonhosted.org/packages/fb/3d/191c46b705d7b9fbce09f09ae10e7f8aa1f635bb5dbc75ae5702c207fa8c/democritus_file_system-2021.1.2701.tar.gz (from https://pypi.org/simple/democritus-file-system/): Requested democritus_file_system from https://files.pythonhosted.org/packages/fb/3d/191c46b705d7b9fbce09f09ae10e7f8aa1f635bb5dbc75ae5702c207fa8c/democritus_file_system-2021.1.2701.tar.gz has inconsistent version: expected '2021.1.2701', but metadata has '2021.1.27'
  Using cached democritus_file_system-2021.1.2101.tar.gz (12 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Discarding https://files.pythonhosted.org/packages/9e/b4/8e1126961c5bf794e5477541c45b08608a160b8211cb31108918df8050ff/democritus_file_system-2021.1.2101.tar.gz (from https://pypi.org/simple/democritus-file-system/): Requested democritus_file_system from https://files.pythonhosted.org/packages/9e/b4/8e1126961c5bf794e5477541c45b08608a160b8211cb31108918df8050ff/democritus_file_system-2021.1.2101.tar.gz has inconsistent version: expected '2021.1.2101', but metadata has '2021.1.21'
ERROR: Could not find a version that satisfies the requirement democritus_file_system (from versions: 2021.1.2101, 2021.1.2701)
ERROR: No matching distribution found for democritus_file_system

Other details

N/A.

I don't have much clues as to why this fails. Any help is appreciated, thanks !

mlliarm commented 1 year ago

This SO answer hints as to why this occurs. The democritus_file_system library seems outdated.

fhightower commented 1 year ago

Sorry for the late reply, but yes - democritus_file_system was renamed to d8s-file-system.