Closed Sheemap closed 6 months ago
Thank you for bringing this to our attention. I will take a look at this and let you know once we have a resolution.
Tracking internally as sc-239226.
@Sheemap this should be resolved in v9.3.1. Please let me know if you experience any further issues.
Awesome! Just confirmed it working, thanks a bunch for the quick response and fix! :)
Is your feature request related to a problem? Please describe.
Yes, It's causing an issue with our build system. The issue is the testing directories for this repo and the python-eventsource repo, are named the same and both included in their respective pip releases.
We use the pex build tool to package up all our dependencies up into a serverless function, it tries to ensure packages don't conflict when it collects those dependencies.
Unfortunately when building python-server-sdk, it errors out due to a namespace collision with python-eventsource, which it depends on.
I got to this conclusion from someone else reporting this error to the Pants build system devs, here is the maintainer's explanation and proposed fix. https://github.com/pantsbuild/pants/issues/20224#issuecomment-1821741455
Describe the solution you'd like
If it isn't used at runtime, excluding the testing folder from the released pip package would be great.
Describe alternatives you've considered
ldclient
moduleAdditional context
There is a workaround we can use short term to allow collisions, but we hope to use launchdarkly on a lot of functions, and don't want to disable this collision feature long term.
Logs I'm seeing
Thanks!