GithubHelp home page GithubHelp logo

tert0 / fastapi-framework Goto Github PK

View Code? Open in Web Editor NEW
55.0 55.0 10.0 5.02 MB

A FastAPI Framework for things like Database, Redis, Logging, JWT Authentication, Rate Limits and Sessions

Home Page: https://tert0.github.io/fastapi-framework

License: MIT License

Python 99.28% Shell 0.25% Dockerfile 0.46%
async async-redis asyncio backend database fastapi framework hacktoberfest inmemory-cache jwt python python3 rate-limit redis session

fastapi-framework's Issues

Pydantic project dependency not consistent (possibly others too; consider using a singe python packaging model?)

Describe the bug
It is currently not possible to add fastapi-framework to projects using a different pydantic version.
Seems like @dependabot forgot to take care of the pyproject.toml, as it still references an outdated pydantic version.

"pydantic==1.10.5"

pydantic==1.10.8

To Reproduce

$ poetry add fastapi-framework
Using version ^1.5.3.3 for fastapi-framework

Updating dependencies
Resolving dependencies... (0.1s)

Because fastapi-framework (1.5.3.3) depends on pydantic (1.10.5)
 and no versions of fastapi-framework match >1.5.3.3,<2.0.0.0, fastapi-framework (>=1.5.3.3,<2.0.0.0) requires pydantic (1.10.5).
So, because ourpoetrypackage depends on both pydantic (^1.10.7) and fastapi-framework (^1.5.3.3), version solving failed.

When trying to use the develop branch:

$ poetry add git+https://github.com/Tert0/fastapi-framework.git#develop
Updating dependencies
Resolving dependencies... (0.0s)

Because fastapi-framework (1.5.3.3) @ git+https://github.com/Tert0/fastapi-framework.git@develop depends on pydantic (1.10.5)
 and ourpoetrypackage depends on pydantic (^1.10.7), fastapi-framework is forbidden.
So, because ourpoetrypackage depends on fastapi-framework (1.5.3.3) @ git+https://github.com/Tert0/fastapi-framework.git@develop, version solving failed.

Expected behavior
Package fastapi-framework can be used together with latest Pydantic & FastAPI versions.


(Cheers & thank you for sharing your code! Your open source work is really appreciated!)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.