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

Use of deprecated config.set_request_property causes AttributeError with pyramid >= 1.10 #26

Closed
jjmurre opened this issue Nov 5, 2018 · 2 comments

Comments

@jjmurre
Copy link

jjmurre commented Nov 5, 2018

config.set_request_property(get_connector, 'ldap_connector', reify=True)

Should now be configurator.add_request_method, according to pyramid's list of backwards incompatibilities for 1.10

jjmurre added a commit to jjmurre/pyramid_ldap that referenced this issue Apr 12, 2019
config.set_request_property now crashes in pyramid,
needs to be config.add_request_method.
@nutjob4life
Copy link

For those who came here by way of a search engine and are wondering what to do:

  • Try downgrading Pyramid to 1.9.4 in your setup.py, requirements.txt, buildout.cfg, etc.
  • Or, use pyramid_ldap3 instead of pyramid_ldap
  • Or wait for pyramid_ldap 0.3.2 or later to be released 😉

msander pushed a commit to msander/pyramid_ldap that referenced this issue May 3, 2021
- replace pyramid.compat by six
- replace set_request_property by add_request_method

fixes Pylons#32 and Pylons#26
@digitalresistor
Copy link
Member

This was fixed in #33.

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

No branches or pull requests

3 participants