Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Not a Bug
-
2.5.9
-
None
-
None
-
1
Description
Couchbase new release is broken on python 3.5+ as it included `enum34` as a required dependancy for all versions, which means python3.5+ installs enum34 and breaks whole project as it's incompatible with new python versions.
See related discussions on `poetry` build system's issue tracker: https://github.com/couchbase/couchbase-python-client
Attachments
For Gerrit Dashboard: PYCBC-688 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
129424,3 | PYCBC-688: work around incorrect enum34>1.1.8 packaging | master | couchbase-python-client | Status: MERGED | +2 | +1 |
That's weird, it is and has always been a conditional dependency:
https://github.com/couchbase/couchbase-python-client/blob/2.5.9/setup.py#L194
https://github.com/couchbase/couchbase-python-client/commit/bbdd7d4e63da06c5447ec77e960536299ec44f5c
Will read through the 'poetry' issue here in detail soon.
For my own and others' reference, the maintainer mentions it here: https://github.com/sdispater/poetry/issues/1122#issuecomment-551755349
Not sure why the dependency isn't listed conditionally in the JSON file that PyPi produces.