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
Restrict version of transitive dependency pyasn1 #5527
Conversation
Thanks for the PR! Ideally we'd like that to be handled upstream in ldap3, I've filed cannatag/ldap3#1046. @tiran: Do you have an ETA for pyasn1 0.5.0? We'd probably ship a patch release if ldap3 doesn't move and |
@mhils I'd like to get some feedback on 0.5.0rc1. Can you run your tests with |
Ah, now I see that you already did. Could you please report the issue at https://github.com/pyasn1/pyasn1 ? I'll look into the regression. |
Done. Thank you and @droideck for taking over maintenance of pyasn1! 🍰 ❤️ |
Could you please test the fix? I'll do another rc after you have confirmed that the fix is working for you. |
Thanks. :) Next one:
pyasn1/pyasn1@8393983#diff-44ba4d6c194902a9eab1816c099062f83c043c4aee9f9fb1117a0fd2737d69ebL851-R856 |
Meh :( Ticket please? |
I would appreciate another pair of eyes on pyasn1/pyasn1#13 . It solves the ldap3 issue. But I'm not entirely sure that is covers all problems. |
Thank you again for flagging this initially! 🍰 |
Description
Changes:
ImportError: cannot import name 'tagMap' from 'pyasn1.codec.ber.encoder'
Recent version of pyasn1 (0.5.0rc1 PRE-RELEASE) (depedency of ldap3) causes following issues:
After restricting version pyasn1>=0.4.6,<0.5.0 I can successfully run:
I set pyasn1>=0.4.6,<0.5.0 after checking
https://github.com/cannatag/ldap3/blob/v2.8/requirements.txt
https://github.com/cannatag/ldap3/blob/v2.9.1/requirements.txt
ldap3 has a fix for this issue, but no new version has been released since Jul 18, 2021
https://github.com/cannatag/ldap3/pull/983/files
Checklist