marshmallow-code / marshmallow-sqlalchemy

SQLAlchemy integration with marshmallow
https://marshmallow-sqlalchemy.readthedocs.io
MIT License
549 stars 94 forks source link

Dependency conflict #497

Closed braginkit closed 1 year ago

braginkit commented 1 year ago

According to docs, requirements for marshmallow-sqlalchemy are: "Requires Python >= 3.7, marshmallow >= 3.0.0, and SQLAlchemy >= 1.3.0"

I'm using:

When I try to pip install marshmallow-sqlalchemy==0.29.0, this happens:

ERROR: Cannot install -r requirements/base (line 13) and SQLAlchemy==1.3.6 because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested SQLAlchemy==1.3.6
    marshmallow-sqlalchemy 0.29.0 depends on SQLAlchemy<3.0 and >=1.4.40

As you can see, docs and pip are not on the same page.

lafrech commented 1 year ago

I just fixed the docs and README. 1.4.40 required indeed.

Migrating from 1.3 to 1.4 shouldn't be an issue.