Skip to content

Could you update the dependencies? #47

Closed

Description

@marcuth

I'm facing compatibility issues with the pydantic version, which is later a dependency on fastapi and won't let me update either of them...

Activity

  1. ItayTheDar commented on Mar 4, 2024

    @ItayTheDar
    Contributor

    Hi @1Marcuth !
    Thank you for raising this issue. So you are saying when pip install pynest-api there is a dependency error? Could you attach maybe screenshots?

    The updating dependencies is part of the initiative to move to poetry so i hope it will happened soon.

  2. marcuth commented on Mar 4, 2024

    @marcuth
    Author

    Not really, this happens when I try to install a library that uses a newer version of pydantic in its code. Then it ends up that I can't install it due to this incompatibility of pydantic versions between pynest and this other library that I mentioned.

    (dc-data-api-py3.12) PS D:\programming\projects\actives\typescript\dc-data-api> poetry add git+https://github.com/1Marcuth/dc-wiki.git        
    
    Updating dependencies
    Resolving dependencies... (0.3s)
    
    Because dcwiki (0.1.1) @ git+https://github.com/1Marcuth/dc-wiki.git@HEAD depends on pydantic (^2.6.1)
     and fastapi (0.95.1) depends on pydantic (>=1.6.2,<1.7 || >1.7,<1.7.1 || >1.7.1,<1.7.2 || >1.7.2,<1.7.3 || >1.7.3,<1.8 || >1.8,<1.8.1 || >1.8.1,<2.0.0), dcwiki (0.1.1) @ git+https://github.com/1Marcuth/dc-wiki.git@HEAD is incompatible with fastapi (0.95.1).
    And because pynest-api (0.1.2) depends on fastapi (0.95.1)
     and no versions of pynest-api match >0.1.2,<0.2.0, dcwiki (0.1.1) @ git+https://github.com/1Marcuth/dc-wiki.git@HEAD is incompatible with pynest-api (>=0.1.2,<0.2.0).
    So, because dc-data-api depends on both pynest-api (^0.1.2) and dcwiki (0.1.1) @ git+https://github.com/1Marcuth/dc-wiki.git, version solving failed.
    
  3. ItayTheDar commented on Mar 6, 2024

    @ItayTheDar
    Contributor

    I'll try to reproduce that and see if there is a quick fix

  4. ItayTheDar commented on Jul 28, 2026

    @ItayTheDar
    Contributor

    Resolved in the current release line. PyNest now supports Pydantic 2 (pydantic>=2.9.2,<3.0.0) and uses a modern FastAPI line (fastapi>=0.136.3,<0.137.0), eliminating the original FastAPI 0.95 / Pydantic <2 dependency conflict. The dependency modernization landed through #122 and was updated further in #135.

    Closing as completed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions