Skip to content
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

switch to suds-community #192

Closed
wants to merge 2 commits into from
Closed

switch to suds-community #192

wants to merge 2 commits into from

Conversation

graingert
Copy link

Fixes #191

@James-Gilbert-
Copy link

cc: @qitia

setup.py Outdated Show resolved Hide resolved
@qitia
Copy link
Collaborator

qitia commented Sep 22, 2021

thanks for the PR? may I know why you choose this version(1.00b1) instead of 0.8.5?

@@ -11,7 +11,7 @@
history = f.read().replace('.. :changelog:', '')

requirements = [
'suds-jurko==0.6.0',
'suds-community>=1.0.0b1',
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why this version instead of 0.8.5

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Collaborator

@qitia qitia Sep 22, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks.

While test locally, I found there is some difference between jurko version and the community version when build an object. in jurko version, a complex attribute is created regardless its occurrence count and optional or not.

Jurko version
setattr(data, type.name, value)

Community version
setattr(data, type.name, value if not type.optional() or type.multi_occurrence() else None)

I am not sure if there is customer already depends on this jurko feature, if we upgrade to community, this will break those customers. any idea?

Copy link

@bmoe872 bmoe872 Sep 23, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see any issue with this as a customer of Bing. I think this will be fine. Also could really use this fix, as it's blocking fresh installs.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This also break our bulk mapping. Sample code and here: the entity is null with this sudo-community implementation and will bring trouble.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you have a runnable example or a test case?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

try this exmple.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please see this issue for more background on why this was changed: suds-community/suds#14, however, that should have reverted the behavior to the 0.6.0 behavior.

@afranzi
Copy link

afranzi commented Oct 7, 2021

Hi there! Any plan on moving forward with this PR? It's impacting us also.

@qitia
Copy link
Collaborator

qitia commented Oct 13, 2021

we've published 13.0.11.1. please give it a try.

@graingert
Copy link
Author

we've published 13.0.11.1. please give it a try.

Does this pr need closing?

@qitia
Copy link
Collaborator

qitia commented Oct 26, 2021

we've published 13.0.11.1. please give it a try.

Does this pr need closing?

yes we could close this PR without merge.

@qitia qitia closed this Dec 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

suds-jurko dependency fails with Python Setuptools 58.0.2+
6 participants