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

AttributeError: module 'lib' has no attribute 'X509_V_FLAG_NOTIFY_POLICY' #2581

Closed
ReimarBauer opened this issue Dec 2, 2024 · 9 comments
Closed
Labels
bug Something isn't working request upstream help upstream fix needed a dependency of us needs an improvement

Comments

@ReimarBauer
Copy link
Member

dependency change

./../../micromamba/envs/ci/lib/python3.11/site-packages/OpenSSL/__init__.py:8: in <module>
    from OpenSSL import crypto, SSL
../../../micromamba/envs/ci/lib/python3.11/site-packages/OpenSSL/crypto.py:1579: in <module>
    class X509StoreFlags(object):
../../../micromamba/envs/ci/lib/python3.11/site-packages/OpenSSL/crypto.py:1598: in X509StoreFlags
    NOTIFY_POLICY = _lib.X509_V_FLAG_NOTIFY_POLICY
E   AttributeError: module 'lib' has no attribute 'X509_V_FLAG_NOTIFY_POLICY'
@ReimarBauer ReimarBauer added the bug Something isn't working label Dec 2, 2024
@ReimarBauer ReimarBauer added this to the 9.2.1 milestone Dec 2, 2024
@ReimarBauer ReimarBauer added the upstream fix needed a dependency of us needs an improvement label Dec 2, 2024
@matrss
Copy link
Collaborator

matrss commented Dec 2, 2024

Looks like this issue: conda/conda#13619 (comment). And again a case of "install-time dependency resolution makes testing released packages impossible"...

@ReimarBauer
Copy link
Member Author

and again a dev on #gsoc found it first.

@ReimarBauer
Copy link
Member Author

ReimarBauer commented Dec 2, 2024

Looks like this issue: conda/conda#13619 (comment). And again a case of "install-time dependency resolution makes testing released packages impossible"...

I'd seen that closed issue too, but that is rather old. 4 days ago (feels like yesterday) the PR didn't found it.

@ReimarBauer
Copy link
Member Author

That change could match, trying.
https://anaconda.org/conda-forge/cryptography

@ReimarBauer
Copy link
Member Author

@ReimarBauer
Copy link
Member Author

@ReimarBauer
Copy link
Member Author

This will solve the problem. Again such things can only resolved by a community approach.

conda-forge/conda-forge-repodata-patches-feedstock#913

@ReimarBauer ReimarBauer removed this from the 9.2.1 milestone Dec 3, 2024
@ReimarBauer
Copy link
Member Author

Was upstream fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working request upstream help upstream fix needed a dependency of us needs an improvement
Projects
None yet
Development

No branches or pull requests

2 participants