Skip to content

Update couchbase API to 3.0.0#6094

Closed
mchataigner wants to merge 1 commit into
celery:masterfrom
criteo-forks:couchbase_3
Closed

Update couchbase API to 3.0.0#6094
mchataigner wants to merge 1 commit into
celery:masterfrom
criteo-forks:couchbase_3

Conversation

@mchataigner

Copy link
Copy Markdown
Contributor

This is a tentative to update couchbase code to 3.0.0 API.
I will need a Couchbase specialist to validate this code.

@auvipy

auvipy commented May 14, 2020

Copy link
Copy Markdown
Member

thanks for handling this!

@auvipy auvipy added this to the 4.4.x milestone May 14, 2020
@auvipy

auvipy commented May 14, 2020

Copy link
Copy Markdown
Member

python 3.7 n 3.8 is passing the remaining r failing. can you check?

@auvipy

auvipy commented May 14, 2020

Copy link
Copy Markdown
Member

can you change the Travis Linux from focal to bionic to python 2.7, 3.5, and 3.6?

@auvipy auvipy modified the milestones: 4.4.x, 4.5 May 14, 2020
@mchataigner

Copy link
Copy Markdown
Contributor Author

done in a separate PR #6096

@mchataigner

Copy link
Copy Markdown
Contributor Author

It seems couchbase python client 3.0.0+ has a requirement for python 3.7 on Windows.
According to their readme:
These are available for at least Python 3.7 on Windows, but we will endeavour to add more

@auvipy

auvipy commented May 14, 2020

Copy link
Copy Markdown
Member

lelts keep this for future version of celery

@auvipy

auvipy commented Aug 18, 2020

Copy link
Copy Markdown
Member

this should be rebased on master for celery v5

Comment on lines +21 to +27
# from couchbase.connection import Connection
# from couchbase.exceptions import NotFoundError
from couchbase_core._libcouchbase import FMT_AUTO
# from couchbase import FMT_AUTO
except ImportError:
Couchbase = Connection = NotFoundError = None # noqa
Cluster = PasswordAuthenticator = ClusterOptions = None
# Couchbase = Connection = NotFoundError = None # noqa

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please do not leave commented out code in the codebase.

@thedrow

thedrow commented Aug 30, 2020

Copy link
Copy Markdown
Contributor

Unfortunately you didn't allow edits from maintainers.
I'm going to replace this PR as I've done the necessary work to merge this.

@thedrow thedrow closed this Aug 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants