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
With 0.3.1 all ldap3 tests fail #52
Comments
Hi Giovanni! I think this is the same regression as we discussed lately. Can you please add the
I'm here to fix whatever regression the latest release may have caused. %-\ |
I'm adding a lot of |
Well, I'm not sure how to handle this in a backward compatible way... The ultimate goal is to make the whole API more "automatic" and compact. For example, imagine a nested structure like this:
Now you want to initialize it. With previous pyasn1 API you could only do that in multiple steps, from outer to inner elements:
The new API is more compact and intuitive:
The compact version can only work if WDIT? Your advise is much appreciated! BTW, if you make pyasn1 >= 0.3.1 a requirement, you could omit the |
Thanks Ilya, I've been able to fix all errors in ldap3 tests. Now my codes works with pyasn1 froom version 0.1.8 up to 0.3.1. Prior to 0.1.8 the hasValue() method is absent. |
Thank you, Giovanni! And sorry for the trouble. ;) I'd also appreciate if you run your test with the current pyasn1 master (which is about to be released as 0.3.2). I do not expect any breakage there though.
I believe 0.1.8 is so much historical now days. I can potentially propose a compatibility measure to make ldap3 running with older pysn1. Let me know if you need that. |
I've tested the 0.3.2 branch, everything is ok, all tests pass! |
Great, thank you! |
Hi Ilya, with version 0.3.1 I get the following error on every test:
All tests were ok with version 0.2.3.
The text was updated successfully, but these errors were encountered: