[Discussion/Bug] Replace jaraco.collections.KeyTransformingDict
to avoid breaks in Bazel builds
#2002
Open
2 of 3 tasks
I'm submitting a ...
Do you want to request a feature or report a bug?
Bug/discussion
What is the current behavior?
We're using
rules_python
to manage our Python dependencies/toolchain in our Bazel build, and a library we're using (scoutsuite
) that depends oncherrypy
is leading to an error while resolving dependencies (stacktrace at bottom). This is due to a number of long-standing issues wherejaraco.text
has a space in a file (Lorem ipsum.txt
) it loads on import, and Bazel doesn't support spaces in file names due to a number of reasons about its internal runfiles manifest structure (see bazelbuild/bazel#4327)This is pulled into
cherrypy
byjaraco.collections.KeyTransformingDict
inhttputils.py
. To support usingcherrypy
in a bazel build w/rules_python
/pip_compile
, it'd be fairly straightforward to replace theKeyTransformingDict
import fromjaraco.collections
with a version that's vendored in the repoIf the current behavior is a bug, please provide the steps to reproduce and if possible a screenshots and logs of the problem. If you can, show us your code.
Add
cherrypy
as a dependency in a Bazel build usingrules_python
and attempt to build any target that depends on itPlease tell us about your environment:
Other information
Stacktrace when attempting to resolve requirements:
The text was updated successfully, but these errors were encountered: