pypi / warehouse

The Python Package Index
https://pypi.org
Apache License 2.0
3.6k stars 964 forks source link

having trouble downloading textract dependencies #17092

Closed gh-mkapuria closed 1 week ago

gh-mkapuria commented 1 week ago

Issue: When I try to download textract dependency. It is giving me warning and blocking my work.

Steps to reproduce:

  1. pip install textract

upon entering above command, it gives me below error:

Collecting textract Using cached textract-1.6.5-py3-none-any.whl.metadata (2.5 kB) WARNING: Ignoring version 1.6.5 of textract since it has invalid metadata: Requested textract from https://files.pythonhosted.org/packages/6b/3e/ac16b6bf28edf78296aea7d0cb416b49ed30282ac8c711662541015ee6f3/textract-1.6.5-py3-none-any.whl has invalid metadata: . suffix can only be used with == or != operators extract-msg (<=0.29.)


Please use pip<24.1 if you need to use this version.
  Using cached textract-1.6.4.tar.gz (17 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error

  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [3 lines of output]
      error in textract setup command: 'install_requires' must be a string or iterable of strings containing valid project/version requirement specifiers; .* suffix can only be used with `==` or `!=` operators
          extract-msg<=0.29.*
                     ~~~~~~~^
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
github-actions[bot] commented 1 week ago

Hi, this issue tracker is for issues with the codebase behind pypi.org itself, not the projects hosted on PyPI. You should report this issue to the tracker for the project in question instead.