Skip to content

enum34 not compatible with py3.5 and later #78

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

Closed
robmarkcole opened this issue Nov 28, 2017 · 5 comments
Closed

enum34 not compatible with py3.5 and later #78

robmarkcole opened this issue Nov 28, 2017 · 5 comments

Comments

@robmarkcole
Copy link

Attempting to use this package within home-assistant and receiving an install error, due to the enum34 dependency. Please see the comments in the image below.
Cheers

image

@rok-povsic
Copy link
Contributor

@robmarkcole Thank you for reporting this issue and providing a solution. The dependency will most likely be fixed in the next version. We are also considering reducing some other dependencies.

Meanwhile, a workaround would be to checkout the repository, change the dependency in setup.py, and install the project manually (via pip install -r .).

@rok-povsic
Copy link
Contributor

@robmarkcole We've made enum34 not install for Python 3.5+. Please upgrade to the latest version and tell us if you encounter any issues.

@ferndot
Copy link

ferndot commented Apr 9, 2020

@rok-povsic I am installing clarifai via Poetry and it is still installing enum34. Oddly, it does not install enum34 when installed with pip.

@ferndot
Copy link

ferndot commented Apr 9, 2020

Digging deeper, this is being broken because the package is not using python environment markers, which is the recommendation for conditional dependencies.

See: https://www.python.org/dev/peps/pep-0508/#environment-markers

@ferndot
Copy link

ferndot commented Apr 9, 2020

I put up a PR: #115

josh-tepper pushed a commit that referenced this issue Aug 11, 2023
* Version 9.7.0

* update MANIFEST.in

* update MANIFEST.in

---------

Co-authored-by: Yvette Zhang <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants