Skip to content

[BUG] cryptography 46.0.5 Dependency Issue #1256

Description

@Sonia-96

Describe the bug
When trying to upgrade tethys to 4.5.0, I encountered dependency conflicts related to cryptography:

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
fido2 1.2.0 requires cryptography!=35,<45,>=2.6, but you have cryptography 46.0.5 which is incompatible.

I tried to upgrade fido2 to the latest version (2.1.1), I got another conflict:

pyopenssl 26.0.0 requires cryptography<47,>=46.0.0, but you have cryptography 44.0.3 which is incompatible.

It seems that cryptography 46.0.5 may not be fully compatible with some Tethys dependencies. I noticed that pyproject.toml pins cryptography>=46.0.5, which is the latest release. Would it be possible to loosen this requirement to avoid conflicts?

To Reproduce
Steps to reproduce the behavior:

  1. Pull the latest changes of tethys
  2. Run pip instlal -e .

Expected behavior
Installation should succeed without dependency conflicts.
Screenshots

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions