Skip to content

Conversation

@cartertinney
Copy link
Member

@cartertinney cartertinney commented Jul 9, 2024

  • requests had critical security fixes that required updating minimum version
  • This fix broke the requests-unixsocket dependency which used monkey-patching
  • requests-unixsocket is abandoned, so switched to use the fork requests-unixsocket2
  • Also updated urllib3 dependency to be more flexible.
  • Added support for Python 3.11 and 3.12

@ryanwinter ryanwinter self-requested a review July 9, 2024 22:44
@robin-wayve
Copy link

resolves #1187?

@cartertinney
Copy link
Member Author

resolves #1187?

Yes. Also #1180

assert "256 KB" in e_info.value.args[0]
assert mqtt_pipeline.send_message.call_count == 0

@pytest.mark.skipif(
Copy link
Contributor

Choose a reason for hiding this comment

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

What are these python 3.12 issues? Does this impact the customer at all? Looks like if they have large messages they might not get an error?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah - but honestly, this max size never actually worked in practice, so it's not an issue.

@cartertinney
Copy link
Member Author

/azp run Python E2E

@azure-pipelines
Copy link

No pipelines are associated with this pull request.

@olivakar
Copy link
Collaborator

/azp run Azure.azure-iot-sdk-python-dps-e2e

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@cartertinney
Copy link
Member Author

/azp run Python E2E

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@cartertinney cartertinney merged commit 08922a4 into main Jul 15, 2024
@cartertinney cartertinney deleted the ct-update-unixsocket branch July 15, 2024 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants