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

pyopenssl dependent endesive now optional #30

Merged
merged 1 commit into from
Mar 15, 2022

Conversation

rvalyi
Copy link
Member

@rvalyi rvalyi commented Mar 11, 2022

o PR #26 removeu o xmlsec mas não foi suficente para remover totalmente a dependencia ao pyopenssl que esta deprecaded ( #26 (comment) )

Porque o erpbrasil.assinatura ainda depende da lib endesive que por sua vez depende do pyopenssl sem pena:
https://github.com/m32/endesive/blob/master/requirements.txt

Como não usamos o endesive em nada do OCA/l10n-brazil, o que eu fiz foi de simplesmente deixar a dependencia ao endesive optional: a funçao de assinatura de pdf funciona apenas se vc tiver o endesive instalado e senão avisa num log. Talvez seria possivel fazer uma implementação alternativa, mas por hoje isso é a forma simpĺes que eu vi de remover a dependencia ao pyopenssl no uso comum que a gente faz do erpbrasil.assinatura.

cc @renatonlima @mbcosta @marcelsavegnago @netosjb @mileo

@renatonlima renatonlima force-pushed the remove-endesive-dep branch from 3c217f3 to e79ae88 Compare March 15, 2022 14:11
@renatonlima renatonlima merged commit e47223e into erpbrasil:master Mar 15, 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.

5 participants