-
-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
Ansible AttributeError: module 'bcrypt' has no attribute '__about__' #160525
Comments
See pyca/bcrypt#684, upgrading to bcrypt 4.1.2 seems to address the issue. |
@cho-m should I report this issue to Ansible developers? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
Any update on this issue? |
homebrew-core/Formula/a/ansible.rb Lines 70 to 73 in b49e1bd
Can you do |
The warning still shows with 9.2.0:
|
The warning is from There's been some discussions upstream about it: ansible/ansible#81949. We're unlikely to downgrade This is a wider discussion than just Homebrew: |
Sure, on my side, I don’t really care about that warning, as it does not break any functionality for me. I simply wanted to inform you about the issue. Edit: just read the second part of your comment, that would be an issue. Is there an alternative or planned fix for passlib in Python 3.13? Running in 3.12 now. |
There's been some effort to reach out to the original developer: https://foss.heptapod.net/python-libs/passlib/-/issues/187 It's got enough attention I'm not too concerned: the situation will improve in some form as there's plenty of people showing interest to sort things out, but it's currently unknown exactly how yet. |
Thank you for the useful information. |
May just close this issue as "not planned" as there isn't really an ideal actionable task for Homebrew right now. The best we can do is just drop homebrew-core/pypi_formula_mappings.json Line 19 in 0b6d956
But the end result is the same as current situation as the feature will remain unusable. Corresponding upstream projects will need to take the step forward before anything can be done in Homebrew. For example, if Ansible adds support for alternatives to |
Makes sense, I would personally not remove passlib. |
Closing for now. Can revisit if any upstream activity that allows us to switch libs or backport commits. |
brew gist-logs <formula>
link ORbrew config
ANDbrew doctor
outputVerification
brew doctor
output" saysYour system is ready to brew.
and am still able to reproduce my issue.brew update
and am still able to reproduce my issue.brew doctor
and that did not fix my problem.What were you trying to do (and why)?
There is an issue with ansible
bcrypt.py
handler, running this simple playbook to generate a bcrypt password:What happened (include all command output)?
Produces this warning:
What did you expect to happen?
No warning should be generated, however, the password is successfully generated:
Step-by-step reproduction instructions (by running
brew
commands)The text was updated successfully, but these errors were encountered: