HomeSoftware Heritage

Fix support of Werkzeug 2.1.0

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

Fix support of Werkzeug 2.1.0

Since https://github.com/pallets/werkzeug/commit/74601150b559c73a8c8732b4c67bbc6377d1a7df
(published yesterday as part of version 2.1.0), Werkzeug crashes when WERKZEUG_RUN_MAIN
is true but WERKZEUG_SERVER_FD is not provided.

This is legitimate, because applications should not set WERKZEUG_RUN_MAIN.

This commit rewrites the hack hiding the server banner so it still works
with this Werkzeug version.

Details

Provenance
vlorentzAuthored on Mar 29 2022, 2:32 PM
vlorentzPushed on Mar 29 2022, 2:38 PM
Differential Revision
D7455: Fix support of Werkzeug 2.1.0
Build Status
Buildable 27904
Build 43691: test-and-buildJenkins console · Jenkins

Commit No Longer Exists

This commit no longer exists in the repository.