main-pyproject-toml-pydantic-2.patch 642 B

123456789101112131415
  1. diff -ruN app.orig/pyproject.toml app/pyproject.toml
  2. --- app.orig/pyproject.toml 2024-12-22 10:34:30.942179631 +0100
  3. +++ app/pyproject.toml 2024-12-22 10:37:22.305882167 +0100
  4. @@ -24,6 +24,11 @@
  5. # Core dependencies required for the package to operate.
  6. dependencies = [
  7. + # flohmarkt needs pydantic >= 2, but fastapi only has got a dependency
  8. + # for '!=1.8,!=1.8.1,!=2.0.0,!=2.0.1,!=2.1.0,<3.0.0,>=1.7.4'. Get version
  9. + # greater than 2
  10. + "pydantic >= 2.0.0",
  11. +
  12. # Web framework for building APIs based on standard Python type hints.
  13. # Documentation: <URL:https://fastapi.tiangolo.com/>.
  14. "fastapi >= 0.110.2",