-
Notifications
You must be signed in to change notification settings - Fork 163
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
suds-jurko dependency fails with Python Setuptools 58.0.2+ #191
Comments
fyi you should switch to https://github.com/suds-community/suds |
Hey, team. I have the similar issue. Can we update the dependency for bing ads instead? |
I am facing the same issue, too |
I have this issue as well. Is there any known workaround? |
Downgrade setuptools<58 |
You can pip install from my pr #192 |
Can you publish an official bing-ads version based on it? Thanks! |
I don't have permission to do that |
Any updates on this issue, specifically for
I'm seeing the same
Note that it seemed to be fine with
|
@eburdon did you try installing from my PR? |
It would be preferable to update from official master |
@graingert Using suds-community will introduce other issues especially for the bulk mapping. I will recommend to downgrade setuptools to install bingads sdk as workaround. Do you see any issue with doing that? I will discuss internally within team on the long term solution. |
@qitia Given that setuptools is a dependency of suds-jurko, and suds-jurko is a dependency of the BingAds SDK, how exactly do I implement the workaround you recommended when including BingAds as a dependency in my app? If I specify an older version of setuptools in the requirements file of my app, won't BingAds overwrite that with its own requirements list (which includes a later version of setuptools)? |
@dannydover right we need to specify which setuptools version can supported in the bingads package in next release. As of now, I am afraid you need to install the requirements manually. |
Hi, |
Yeah, same issue as @Greta991, and will be an issue for any case where some build process or tool is being used that a developer can't specify older versions of setuptools in. In this case the buildpacks used in Google App Engine - effectively failing all new builds/deployments for Google App Engine apps using the bingads library. So if a CI/CD or build tool like buildpacks doesn't support specifying a setuptools version or using an outdated build environment, new builds in that system will then fail as the build env will use a modern version of setuptools that doesn't support the depreciated "use_2to3" feature used in suds-jurko. |
we are working on a new release, please expect version 13.0.12 within couple of days. |
@qitia Ok thank you. |
yes, same issue with Azure Function Apps |
@qitia any update on the version 13.0.12 ? |
we published a new version 13.0.11.1 just now. Please give it a try. |
Hi,
|
hi @Greta991 it is wired, as you can see we are not depend on suds-jurko any more... below is the logs I try from my local and we can see it works as expected.(1, I install 13.0.11; 2, upgarde setuptools; 3, upgrade bingads sdk to 13.0.11.1) PS E:\code\adsappsmt\private\BingAdsApiSDK\python> C:\python375\Scripts\pip install bingads==13.0.11 |
Hi @qitia, this is my log (i tried in local).
|
@Greta991 I think you should try version 13.0.11.1, don't you? |
thanks @qitia works well with Azure Function Apps. |
Thanks @qitia ! Latest version resolved issues with our github ci runner. |
@qitia Yes, i do. aiohttp==3.7.4.post0 but despite the update it keeps giving the error |
You have |
@qitia sorry i didn't notice! |
This is off topic but you might prefer to use https://github.com/jazzband/pip-tools#example-usage-for-pip-compile |
When installing this package, the suds-jurko package is a dependency.
That (6 year old) package tries to use the
use_2to3
flag for Setuptools, which no longer works as of Setuptools version 58..0.2:https://setuptools.readthedocs.io/en/latest/history.html#v58-0-2
pypa/setuptools#2769
Error message is:
ERROR: Command errored out with exit status 1: error in suds-jurko setup command: use_2to3 is invalid.
The text was updated successfully, but these errors were encountered: