Skip to content

Commit

Permalink
Merge branch 'main' into releases/4.14
Browse files Browse the repository at this point in the history
# Conflicts:
#	libraries/botbuilder-core/botbuilder/core/cloud_adapter_base.py
  • Loading branch information
Tracy Boehrer committed Dec 12, 2023
2 parents 83bc043 + e61d4b3 commit 5cb6949
Show file tree
Hide file tree
Showing 15 changed files with 31 additions and 27 deletions.
2 changes: 1 addition & 1 deletion libraries/botbuilder-adapters-slack/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
aiohttp==3.8.5
aiohttp==3.9.0
pyslack
botbuilder-core==4.15.0
slackclient
2 changes: 1 addition & 1 deletion libraries/botbuilder-ai/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
msrest==0.6.*
msrest== 0.7.*
botbuilder-schema==4.15.0
botbuilder-core==4.15.0
requests==2.31.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def getid(request, id):

@api_view(["POST"])
def returncode(request, id):
return HttpResponse("Status code set to %s" % id, status=int(id))
return HttpResponse("returncode", status=int(id))


@api_view(["POST"])
Expand Down
2 changes: 1 addition & 1 deletion libraries/botbuilder-applicationinsights/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
msrest==0.6.*
msrest== 0.7.*
botbuilder-core==4.15.0
aiounittest==1.3.0
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ async def continue_conversation( # pylint: disable=arguments-differ
self,
reference: ConversationReference,
callback: Callable,
bot_app_id: str,
):
"""
Sends a proactive message to a conversation.
Expand All @@ -161,9 +162,12 @@ async def continue_conversation( # pylint: disable=arguments-differ
:type reference: :class:`botbuilder.schema.ConversationReference`
:param callback: The method to call for the resulting bot turn.
:type callback: :class:`typing.Callable`
:param bot_app_id: The application Id of the bot. This is the appId returned by the Azure portal registration,
and is generally found in the `MicrosoftAppId` parameter in `config.py`.
:type bot_app_id: :class:`typing.str`
"""
return await self.process_proactive(
self.create_claims_identity(),
self.create_claims_identity(bot_app_id),
get_continuation_activity(reference),
None,
callback,
Expand All @@ -182,7 +186,7 @@ async def continue_conversation_with_claims(

async def create_conversation( # pylint: disable=arguments-differ
self,
bot_app_id: ConversationReference,
bot_app_id: str,
callback: Callable[[TurnContext], Awaitable] = None,
conversation_parameters: ConversationParameters = None,
channel_id: str = None,
Expand Down
4 changes: 2 additions & 2 deletions libraries/botbuilder-core/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
msrest==0.6.*
msrest== 0.7.*
botframework-connector==4.15.0
botbuilder-schema==4.15.0
botframework-streaming==4.15.0
requests==2.31.0
PyJWT==2.4.0
cryptography==41.0.4
cryptography==41.0.6
aiounittest==1.3.0
4 changes: 2 additions & 2 deletions libraries/botbuilder-dialogs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
msrest==0.6.*
msrest== 0.7.*
botframework-connector==4.15.0
botbuilder-schema==4.15.0
botbuilder-core==4.15.0
requests==2.31.0
PyJWT==2.4.0
cryptography==41.0.4
cryptography==41.0.6
aiounittest==1.3.0
2 changes: 1 addition & 1 deletion libraries/botbuilder-dialogs/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from setuptools import setup

REQUIRES = [
"regex<=2019.08.19",
"regex>=2022.1.18",
"emoji==1.7.0",
"recognizers-text-date-time>=1.0.2a1",
"recognizers-text-number-with-unit>=1.0.2a1",
Expand Down
4 changes: 2 additions & 2 deletions libraries/botbuilder-integration-aiohttp/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
msrest==0.6.*
msrest== 0.7.*
botframework-connector==4.15.0
botbuilder-schema==4.15.0
aiohttp==3.8.5
aiohttp==3.9.0
2 changes: 1 addition & 1 deletion libraries/botbuilder-schema/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
aiounittest==1.3.0
msrest==0.6.*
msrest== 0.7.*
2 changes: 1 addition & 1 deletion libraries/botbuilder-schema/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

NAME = "botbuilder-schema"
VERSION = os.environ["packageVersion"] if "packageVersion" in os.environ else "4.15.0"
REQUIRES = ["msrest==0.6.*", "urllib3<2.0.0"]
REQUIRES = ["msrest== 0.7.*", "urllib3<2.0.0"]

root = os.path.abspath(os.path.dirname(__file__))

Expand Down
4 changes: 2 additions & 2 deletions libraries/botframework-connector/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
msrest==0.6.*
msrest==0.7.*
botbuilder-schema==4.15.0
requests==2.31.0
PyJWT==2.4.0
cryptography==41.0.4
cryptography==41.0.6
msal==1.*
2 changes: 1 addition & 1 deletion libraries/botframework-connector/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
NAME = "botframework-connector"
VERSION = os.environ["packageVersion"] if "packageVersion" in os.environ else "4.15.0"
REQUIRES = [
"msrest==0.6.*",
"msrest==0.7.*",
# "requests>=2.23.0,<2.26",
"PyJWT>=2.4.0",
"botbuilder-schema==4.15.0",
Expand Down
2 changes: 1 addition & 1 deletion libraries/botframework-streaming/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
msrest==0.6.*
msrest==0.7.*
botframework-connector>=4.15.0
botbuilder-schema>=4.15.0
16 changes: 8 additions & 8 deletions pipelines/botbuilder-python-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ variables:
COVERALLS_GIT_COMMIT: $(Build.SourceVersion)
COVERALLS_SERVICE_JOB_ID: $(Build.BuildId)
COVERALLS_SERVICE_NAME: python-ci
python.37: 3.7.x
python.38: 3.8.x
python.37: 3.7
python.38: 3.8
# python.311: 3.11.x
# PythonCoverallsToken: get this from Azure

Expand Down Expand Up @@ -60,6 +60,12 @@ jobs:
pip install black==22.3.0
displayName: 'Install dependencies'
- script: 'black --check libraries'
displayName: 'Check Black compliant'

- script: 'pylint --rcfile=.pylintrc libraries'
displayName: Pylint

- script: |
pip install pytest
pip install pytest-cov
Expand All @@ -80,12 +86,6 @@ jobs:
testResultsFiles: '**/test-results.$(PYTHON_VERSION).xml'
testRunTitle: 'Python $(PYTHON_VERSION)'

- script: 'black --check libraries'
displayName: 'Check Black compliant'

- script: 'pylint --rcfile=.pylintrc libraries'
displayName: Pylint

- script: 'COVERALLS_REPO_TOKEN=$(PythonCoverallsToken) coveralls'
displayName: 'Push test results to coveralls https://coveralls.io/github/microsoft/botbuilder-python'
continueOnError: true
Expand Down

0 comments on commit 5cb6949

Please sign in to comment.