GithubHelp home page GithubHelp logo

pathwaycom / cookiecutter-pathway Goto Github PK

View Code? Open in Web Editor NEW
25.0 25.0 8.0 21 KB

Cookiecutter Pathway is a framework for jumpstarting production-ready Pathway projects quickly.

Home Page: https://pathway.com

License: MIT License

Dockerfile 10.46% Python 89.54%

cookiecutter-pathway's People

Contributors

bryanmoy avatar kamilpiechowiak avatar lewymati avatar olruas avatar pw-ppodhajski avatar szymondudycz avatar voodoo11 avatar zxqfd555-pw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cookiecutter-pathway's Issues

[Bug]: Pydantic BaseSettings have moved to pydantic-settings

Steps to reproduce

  1. Start a new cookiecutter project: cookiecutter https://github.com/pathwaycom/cookiecutter-pathway.
    2.cd into the project directory.
  2. Build the Docker container: docker compose -f local.yml build.
  3. Start the Docker container: docker compose -f local.yml up.

Relevant log output

new_pathway_app-pathway_app-1  | Traceback (most recent call last):
new_pathway_app-pathway_app-1  |   File "/new_pathway_app/run.py", line 1, in <module>
new_pathway_app-pathway_app-1  |     from new_pathway_app.config import get_settings
new_pathway_app-pathway_app-1  |   File "/new_pathway_app/new_pathway_app/config.py", line 5, in <module>
new_pathway_app-pathway_app-1  |     from pydantic import BaseSettings
new_pathway_app-pathway_app-1  |   File "/usr/local/lib/python3.11/site-packages/pydantic/__init__.py", line 218, in __getattr__
new_pathway_app-pathway_app-1  |     return _getattr_migration(attr_name)
new_pathway_app-pathway_app-1  |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
new_pathway_app-pathway_app-1  |   File "/usr/local/lib/python3.11/site-packages/pydantic/_migration.py", line 294, in wrapper
new_pathway_app-pathway_app-1  |     raise PydanticImportError(
new_pathway_app-pathway_app-1  | pydantic.errors.PydanticImportError: `BaseSettings` has been moved to the `pydantic-settings` package. See https://docs.pydantic.dev/2.4/migration/#basesettings-has-moved-to-pydantic-settings for more details.
new_pathway_app-pathway_app-1  |
new_pathway_app-pathway_app-1  | For further information visit https://errors.pydantic.dev/2.4/u/import-error
new_pathway_app-pathway_app-1 exited with code 1

What did you expect to happen?

No errors.

Version

8394e7d

Docker Versions (if used)

No response

OS

MacOS

On which CPU architecture did you run Pathway?

None

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.