flasgger / flasgger/flasgger

older flassger required package incompatibility

Open
#552 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
3.7k
Forks
525
PR merge metrics
No merged PRs in 30d

Description

Hi Team, thanks for the great package!
We came across an issue where flassger 0.9.5 imports a flask/jinja version that in turn imports a version of markupsafe that has a breaking change (soft_unicode was removed, soft_str replaced it), which causes a hard fail. A current workaround for this is manually importing an older version of markupsafe, but we wanted to suggest a specific version being specified in requirements for flask/jinja2, to avoid the package breaking for apps using older versions.

Thanks in advance for your help!

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the dependency requirements for flasgger 0.9.5 and reproduce the MarkupSafe import failure with the affected Flask/Jinja versions described in the issue. The work is done when the package requirements prevent the incompatible dependency combination and an installation or import check confirms the hard failure no longer occurs.

Written by the indexing model from the issue text.

Assessment

Tech stack
flask, python
Domain
api, backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.