← All tasks
pythonfivetran/great_expectations #10908Not a task: already works

Latest version of MarkupSafe doesn't work with Great Expectations

envgap__fivetran__great_expectations-10908

01 / FAILURE SIGNATURE

As reported upstream

When importing great-expectations with the latest version, there's an issue with MarkupSafe. MarkupSafe latest version removes `soft_unicode`, which gx uses - thus resulting in the error `cannot import name 'soft_unicode' from 'markupsafe'`
Not a benchmark task.
  • The project already builds and runs before the fix, so there is nothing to repair.

02 / ENVIRONMENT RECIPE

Base commit
8221493c052e413a2947fadefb7a1528eaa52868
Manifest
requirements.txt
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

fivetran/great_expectations #10908 · read the original issue
**Describe the bug**
When importing great-expectations with the latest version, there's an issue with MarkupSafe. MarkupSafe latest version removes `soft_unicode`, which gx uses - thus resulting in the error `cannot import name 'soft_unicode' from 'markupsafe'` 

**To Reproduce**
Install latest version of gx, and `import great_expectations`

**Expected behavior**
import should not fail

**Environment (please complete the following information):**
 - Operating System: Linux
 - Great Expectations Version: 1.3.2
 - Cloud environment: Databricks
 - Python version: 3.10

**Comments**
Please set a constraint in your pyproject for MarkupSafe>=2 (or whatever works) and MarkupSafe <3
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]