-
-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Markupsafe breaks with latest version of setuptools #116
Comments
This had been fixed since 0.19, but for some reason a revert to that fix made it into 1.0 (d2001bb), then was removed again in 1.1. Unless you really need 1.0 for some reason, I'd advise just upgrading to 1.1.1, there shouldn't be any compatibility issues. |
After a bit of an adventure, I got everything upgraded and can confirm that 1.1.1 cures the problem. Thanks very much! |
Confirm - this happened to me, changing version installed fixed it. |
Version 1.0 of MarkupSafe fails to build with the latest version of setuptools (see pallets/markupsafe#116). Shifting to 1.1.1 doesn't seem to break the code and resolves this build issue.
MarkupSafe tries to import setuptools.Feature which results in an error as it's deprecated. Details: pallets/markupsafe#116 pypa/setuptools#2017
MarkupSafe tries to import setuptools.Feature which results in an error as it's deprecated. Details: pallets/markupsafe#116 pypa/setuptools#2017
to address the issues of - pallets/markupsafe#116 - pypa/setuptools#2017 MarkupSafe is installed by https://opendev.org/openstack/requirements/raw/branch/stable/pike/upper-constraints.txt Signed-off-by: Kefu Chai <[email protected]>
also do not replace link in tox.ini, as it is reachable. to address the issues of - pallets/markupsafe#116 - pypa/setuptools#2017 MarkupSafe is installed by https://opendev.org/openstack/requirements/raw/branch/stable/pike/upper-constraints.txt Signed-off-by: Kefu Chai <[email protected]> Signed-off-by: Kefu Chai <[email protected]>
also do not replace link in tox.ini, as it is reachable. to address the issues of - pallets/markupsafe#116 - pypa/setuptools#2017 MarkupSafe is installed by https://opendev.org/openstack/requirements/raw/branch/stable/pike/upper-constraints.txt Signed-off-by: Kefu Chai <[email protected]> Signed-off-by: Kefu Chai <[email protected]>
also do not replace link in tox.ini, as it is reachable. to address the issues of - pallets/markupsafe#116 - pypa/setuptools#2017 MarkupSafe is installed by https://opendev.org/openstack/requirements/raw/branch/stable/pike/upper-constraints.txt Signed-off-by: Kefu Chai <[email protected]>
also do not replace link in tox.ini, as it is reachable. to address the issues of - pallets/markupsafe#116 - pypa/setuptools#2017 MarkupSafe is installed by https://opendev.org/openstack/requirements/raw/branch/stable/pike/upper-constraints.txt Signed-off-by: Kefu Chai <[email protected]>
also do not replace link in tox.ini, as it is reachable. to address the issues of - pallets/markupsafe#116 - pypa/setuptools#2017 MarkupSafe is installed by https://opendev.org/openstack/requirements/raw/branch/stable/pike/upper-constraints.txt Signed-off-by: Kefu Chai <[email protected]>
in case we need to use ubuntu xenial for testing, xenial only had python 3.5 packaged. and tempest 23.0 was the last version which supports python3.5 and python2.7. also do not replace link in tox.ini, as it is reachable. to address the issues of - pallets/markupsafe#116 - pypa/setuptools#2017 MarkupSafe is installed by https://opendev.org/openstack/requirements/raw/branch/stable/pike/upper-constraints.txt Signed-off-by: Kefu Chai <[email protected]>
in case we need to use ubuntu xenial for testing, xenial only had python 3.5 packaged. and tempest 23.0 was the last version which supports python3.5 and python2.7. also do not replace link in tox.ini, as it is reachable. to address the issues of - pallets/markupsafe#116 - pypa/setuptools#2017 MarkupSafe is installed by https://opendev.org/openstack/requirements/raw/branch/stable/pike/upper-constraints.txt Signed-off-by: Kefu Chai <[email protected]>
in case we need to use ubuntu xenial for testing, xenial only had python 3.5 packaged. and tempest 23.0 was the last version which supports python3.5 and python2.7. also do not replace link in tox.ini, as it is reachable. to address the issues of - pallets/markupsafe#116 - pypa/setuptools#2017 MarkupSafe is installed by https://opendev.org/openstack/requirements/raw/branch/stable/pike/upper-constraints.txt Signed-off-by: Kefu Chai <[email protected]>
in case we need to use ubuntu xenial for testing, xenial only had python 3.5 packaged. and tempest 23.0 was the last version which supports python3.5 and python2.7. also do not replace link in tox.ini, as it is reachable. to address the issues of - pallets/markupsafe#116 - pypa/setuptools#2017 MarkupSafe is installed by https://opendev.org/openstack/requirements/raw/branch/stable/pike/upper-constraints.txt Signed-off-by: Kefu Chai <[email protected]> (cherry picked from commit 8cb3f04)
in case we need to use ubuntu xenial for testing, xenial only had python 3.5 packaged. and tempest 23.0 was the last version which supports python3.5 and python2.7. also do not replace link in tox.ini, as it is reachable. to address the issues of - pallets/markupsafe#116 - pypa/setuptools#2017 MarkupSafe is installed by https://opendev.org/openstack/requirements/raw/branch/stable/pike/upper-constraints.txt Signed-off-by: Kefu Chai <[email protected]> (cherry picked from commit 8cb3f04)
in case we need to use ubuntu xenial for testing, xenial only had python 3.5 packaged. and tempest 23.0 was the last version which supports python3.5 and python2.7. also do not replace link in tox.ini, as it is reachable. to address the issues of - pallets/markupsafe#116 - pypa/setuptools#2017 MarkupSafe is installed by https://opendev.org/openstack/requirements/raw/branch/stable/pike/upper-constraints.txt Signed-off-by: Kefu Chai <[email protected]> (cherry picked from commit 8cb3f04)
in case we need to use ubuntu xenial for testing, xenial only had python 3.5 packaged. and tempest 23.0 was the last version which supports python3.5 and python2.7. also do not replace link in tox.ini, as it is reachable. to address the issues of - pallets/markupsafe#116 - pypa/setuptools#2017 MarkupSafe is installed by https://opendev.org/openstack/requirements/raw/branch/stable/pike/upper-constraints.txt Signed-off-by: Kefu Chai <[email protected]> (cherry picked from commit 8cb3f04)
During drydock node deployments, sometimes MaaS node deployment for some nodes fails when the node tries to pull the node bootaction files, using drydock api. Drydock api call fails with `500 Internal Server Error`, when drydock tries to create the booaction files for the node. The logs, however do no provide any additional clues on what caused drydock to fail. This issue does not happen always, and subsequent site updates will most of the deploy the failed nodes. The additional checks and logs are added to help pinpoint the root cause of the 500 return code, if/when this issue heppens again. This ps also, uplifted `MarkupSafe` pip library from 1.0 to 1.1.1 to address the issue with MarkupSafe and latest version of setuptools described here: pallets/markupsafe#116 Change-Id: I08a088d9690d8d9dd1f771dc5e84d1eb02fbd39f
MarkupSafe tries to import setuptools.Feature which results in an error as it's deprecated. Details: pallets/markupsafe#116 pypa/setuptools#2017
in case we need to use ubuntu xenial for testing, xenial only had python 3.5 packaged. and tempest 23.0 was the last version which supports python3.5 and python2.7. also do not replace link in tox.ini, as it is reachable. to address the issues of - pallets/markupsafe#116 - pypa/setuptools#2017 MarkupSafe is installed by https://opendev.org/openstack/requirements/raw/branch/stable/pike/upper-constraints.txt Signed-off-by: Kefu Chai <[email protected]>
The latest version of
setuptools
- https://pypi.org/project/setuptools/46.0.0/ released on 2020-03-08 - removedFeature
which apparently was a long-deprecated class. There's an issue raised on the repo for setuptools: pypa/setuptools#2017The following is the output from trying to install markupsafe with the latest version of setuptools.
For now, we can work around this by pinning
setuptools
to the last working version45.3.0
but I suspect that in the long term markupsafe might need to be updated to remove the use ofFeature
.This might be something like #23 coming back.
The text was updated successfully, but these errors were encountered: