Skip to content

Installation Failure: Invalid Version Specifier in setup.py for extract-msg<=0.29.* #533

@shrijayan

Description

@shrijayan

Describe the bug

When trying to install textract==1.6.4, the installation fails due to an issue with the install_requires field in the setup.py file. Specifically, the extract-msg<=0.29.* entry is not a valid version specifier because the .* suffix can only be used with the == or != operators.

To Reproduce

Steps to reproduce the behavior:

  1. Run pip install textract==1.6.4 in a Python environment.
  2. Observe the error during the installation process when building the wheel.

Expected behavior

The package should install successfully without errors.

Error Output

error in textract setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement

specifiers; .* suffix can only be used with `==` or `!=` operators
extract-msg<=0.29.*
             ~~~~~~~^

Desktop (please complete the following information):

  • OS: MacOS
  • Textract version: 1.6.4
  • Python version: 3.11
  • Virtual environment: yes

Additional context

It seems like the issue is related to invalid version specifiers in the setup.py file of the textract package. A potential fix would be to update the version specifier to extract-msg<=0.29 or resolve the versioning conflict.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions