Skip to content

Conversation

@maximino-dev
Copy link
Contributor

In the continuous integration workflow, when pytest runs and calls httpbin, there was an incompatibility issue because httpbin imports a class called 'BaseResponse' from the werkzeug library. Werkzeug recently released a new version (2.1.0) removing this class because it's deprecated. Adding the condition werkzeug < 2.1.0 in the tests/requierements.txt file will temporarly solve the problem.
I requested a PR in the httpbin library, but this little modification will avoid issues in the workflow.

@hemberger
Copy link
Contributor

Can you provide a link to the httpbin PR? Thanks!

@maximino-dev
Copy link
Contributor Author

maximino-dev commented Apr 4, 2022

Of course, here it is : postmanlabs/httpbin#674

Copy link
Contributor

@hemberger hemberger left a comment

Choose a reason for hiding this comment

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

LGTM, thanks! Once a new version of httpbin is released, we should probably remove this requirement though.

@moy moy merged commit 41262fb into MechanicalSoup:main Apr 6, 2022
@moy
Copy link
Collaborator

moy commented Apr 6, 2022

Merged. It may deserve a quick release, to avoid issues for people trying to install MechanicalSoup, but I won't have time to make it shortly.

@hemberger
Copy link
Contributor

It only affects the dev requirements, and I would expect anyone installing it in dev mode to be using the main branch instead of a release version. However, if you still think this warrants a release, I can make one.

@moy
Copy link
Collaborator

moy commented Apr 6, 2022

It only affects the dev requirements

Ah, indeed, I forgot about that. Forget about the release, sure.

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.

3 participants