-
Notifications
You must be signed in to change notification settings - Fork 16.4k
Switch cloudant provider from cloudant library to ibmcloudant library #41555
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
Merged
Merged
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
0bdd2c9
switch to ibmcloudant dependency
topherinternational 82da579
do not merge
topherinternational b9b9bc5
updated provider deps
topherinternational 6eabb60
new code and tests
topherinternational a77cd5c
tweaks
topherinternational 90cff2a
more tweaks
topherinternational 54ec1a5
adjust hidden fields
topherinternational 69cc490
add excluded-python-versions
topherinternational f7b6d70
document
topherinternational f948a19
exclude Python 3.12
topherinternational a67e13e
skip cloudant tests below Python 3.10
topherinternational fd1d6cd
breaking change version
topherinternational 297bacd
changelog
topherinternational ad7f68c
improve skip comment
topherinternational 0a6eee1
introduce hacky fake cloudant for <3.10
topherinternational 95093c7
docs
topherinternational 9cf1d69
docs
topherinternational 4aea008
spelling sort
topherinternational feba111
type shenanigans
topherinternational 918bee4
release version overwrite?
topherinternational 9551ebe
release version overwrite? redux
topherinternational 577aa55
test exemption
topherinternational 161ceeb
exclude Python 3.12 in Cloudant class and tests
topherinternational 057cb59
try providers checks without cloudant provider
topherinternational 0c9c4bc
add cloudant to remove-providers options
topherinternational bbe4431
fix provider version
topherinternational 2c5b4b6
try with 3.12
topherinternational 9bd3c19
REVERT BEFORE MERGE more logging in lowest dependency tests
topherinternational b91d7c4
fixup! REVERT BEFORE MERGE more logging in lowest dependency tests
potiuk 7b38c76
Revert "REVERT BEFORE MERGE more logging in lowest dependency tests"
topherinternational 5b20afa
fix selective checks excluded providers test
topherinternational 69ded9b
re-enable 3.12 and remove CI changes
topherinternational 16f27a6
redux 3.12
topherinternational File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| # Licensed to the Apache Software Foundation (ASF) under one | ||
| # or more contributor license agreements. See the NOTICE file | ||
| # distributed with this work for additional information | ||
| # regarding copyright ownership. The ASF licenses this file | ||
| # to you under the Apache License, Version 2.0 (the | ||
| # "License"); you may not use this file except in compliance | ||
| # with the License. You may obtain a copy of the License at | ||
| # | ||
| # http://www.apache.org/licenses/LICENSE-2.0 | ||
| # | ||
| # Unless required by applicable law or agreed to in writing, | ||
| # software distributed under the License is distributed on an | ||
| # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
| # KIND, either express or implied. See the License for the | ||
| # specific language governing permissions and limitations | ||
| # under the License. | ||
| from __future__ import annotations | ||
|
|
||
|
|
||
| class CloudantV1: | ||
| """Phony class to pass mypy when real class is not imported.""" | ||
|
|
||
| def __init__(self, authenticator): | ||
| pass | ||
|
|
||
| def set_service_url(self, service_url: str): | ||
| pass | ||
|
|
||
|
|
||
| class CouchDbSessionAuthenticator: | ||
| """Phony class to pass mypy when real class is not imported.""" | ||
|
|
||
| def __init__(self, username: str, password: str): | ||
| pass |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.