Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in textract setup command w/ extract-msg<=0.29.* due to Wheel 0.40.0 #461

Open
seankfh opened this issue Apr 14, 2023 · 2 comments
Open

Comments

@seankfh
Copy link

seankfh commented Apr 14, 2023

Textract cannot be installed with the current version of Wheel (0.40.0) because pypa/wheel#520 made it so that .* suffix can only be used with == or != operators. I receive the following error:

Collecting textract==1.6.4
  Downloading textract-1.6.4.tar.gz (17 kB)
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'error'
  error: subprocess-exited-with-error
  
  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [3 lines of output]
      error in textract setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers; Expected end or semicolon (after version specifier)
          extract-msg<=0.29.*
                     ~~~~~~^
      [end of output]

I see forks where people have tried to drop the Python 2 dependencies and work around this error. Can we get consensus to move forward with one of these? Has anyone in the community found a solution or alternative library? Locally I can pin to an earlier version of wheel but this is breaking our serverless build where we have less control over the infrastructure.

@seankfh
Copy link
Author

seankfh commented Apr 24, 2023

@traverseda are you or @deanmalmgren available to consider removing the asterisk and comply with the latest wheel constraints? Please let me know how I can help. Thank you!

@chenrui333
Copy link

also relates to Homebrew/homebrew-core#132584 (we have some regression build failure on this)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants