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

PyICU dependency causing pip upgrade failure on macOS #755

Closed
anthonydb opened this issue Mar 15, 2021 · 9 comments
Closed

PyICU dependency causing pip upgrade failure on macOS #755

anthonydb opened this issue Mar 15, 2021 · 9 comments
Labels

Comments

@anthonydb
Copy link
Contributor

Attempting to update to the latest version of agate causes an error on macOS:

FileNotFoundError: [Errno 2] No such file or directory: 'icu-config'

I may be wrong, but after a bunch of reading, it looks like the culprit is the PyICU dependency, which, according to that library's author, cannot be pip installed:

ovalhub/pyicu#141 (comment)

@tommyjcarpenter
Copy link

this is a dupe of the issue I raised last week here: #754

@anthonydb
Copy link
Contributor Author

Generates a different error on macOS even though it has the same issue at its root.

@palewire
Copy link
Contributor

This also causes install errors far far far downstream on Heroku, where the PyICU library can't compile.

https://stackoverflow.com/questions/31975668/installation-of-pyicu-on-heroku

@palewire
Copy link
Contributor

palewire commented Jun 5, 2021

My hopes are not high for heroku after reading this https://gitlab.pyicu.org/main/pyicu/-/issues/150

@jpmckinney
Copy link
Member

I've made a commit that removes the PyICU dependency. Let me know if it works, and I'll make a release.

@palewire
Copy link
Contributor

I trust you on it. I say let it rip.

@tommyjcarpenter
Copy link

is there a PR to review?

@anthonydb
Copy link
Contributor Author

I'm still getting this error on macOS with version 1.6.2. Do you need to also specify darwin for sys_platform in setup.py?

@jpmckinney
Copy link
Member

It will be fixed in 1.6.3 only.

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

No branches or pull requests

4 participants