pytorch / ignite

High-level library to help with training and evaluating neural networks in PyTorch flexibly and transparently.
https://pytorch-ignite.ai
BSD 3-Clause "New" or "Revised" License
4.55k stars 619 forks source link

CI failure with recent markupsafe release #2478

Open vfdev-5 opened 2 years ago

vfdev-5 commented 2 years ago
    # Imported here because that's where it was in the past
>   from markupsafe import Markup, escape, soft_unicode
E   ImportError: cannot import name 'soft_unicode' from 'markupsafe' (/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/markupsafe/__init__.py)

Ref: https://github.com/pallets/markupsafe/issues/284

Temporary fix in https://github.com/pytorch/ignite/pull/2477

The issue can closed once we removed temporary fix.

github-actions[bot] commented 1 year ago

Hey 👋, I've just created a thread for this issue on PyTorch-Ignite Discord where you can quickly talk to the community on the topic.

🤖 This comment was automatically posted by Discuss on Discord