Skip to content

Conversation

@alraoul
Copy link
Contributor

@alraoul alraoul commented Mar 28, 2025

While trying to update requests library from version 2.31.0 to the latest version 2.32.3 we are facing following issue due to the fact that the requests library now on take cert parameter as tuple and not list anymore:

TypeError: unhashable type: 'list'
Steps to reproduce:

Working scenario with requests 2.31.0
${paths_list} = Create List ${CURDIR}/client.crt ${CURDIR}/client.key
Set Client Cert ${paths_list}
POST https://localhost:8080/test
Failing scenario with requests 2.32.3
${paths_list} = Create List ${CURDIR}/client.crt ${CURDIR}/client.key
Set Client Cert ${paths_list}
POST https://localhost:8080/test
failing with error TypeError: unhashable type: 'list'
Solution - enhanced keyword "Set Client Cert" to take as cert parameter a tuple too (which will be use in the background by the requests post function)

@asyrjasalo asyrjasalo self-requested a review March 29, 2025 07:42
Copy link
Owner

@asyrjasalo asyrjasalo left a comment

Choose a reason for hiding this comment

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

That's clear. Thank You.

@asyrjasalo asyrjasalo merged commit 28964f6 into asyrjasalo:master Mar 29, 2025
12 checks passed
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.

2 participants