Skip to content

Fix dependency conflict with starlette #176

@surchs

Description

@surchs

Is there an existing issue for this?

  • I have searched the existing issues

Expected Behavior

no conflict during install

Current Behavior

INFO: pip is looking at multiple versions of fastapi to determine which version is compatible with other requirements. This could take a while.
ERROR: Cannot install -r requirements.txt (line 14) and starlette==0.40.0 because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested starlette==0.40.0
    fastapi 0.110.1 depends on starlette<0.38.0 and >=0.37.2

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip to attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
Error: Process completed with exit code 1.

see: https://github.com/neurobagel/federation-api/actions/runs/14604877039/job/40971562246?pr=173

Error message

see #173

we already refused the bump in #144 but somehow it has made a comeback

Environment

No response

How to reproduce

No response

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    _flag:stale[BOT ONLY] Flag issue that hasn't been updated in a while and needs to be triaged againdependenciesDependency updates and their version upgrades.

    Type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions