Skip to content

optapy-quickstarts/employee-scheduling/requirements.txt installs broken werkzeug version #31

Description

@mknull

Werkzeug has removed legacy code in 3.0 and it broke main.py.
Attempted solutions:

  1. Using werkzeug==2.2.2 has resoved the python error, however the server on localhost:5000 displays a 404.
  2. Using a star import on services (i.e. adding in main.py a line that says "from services import * ") does not resolve any potential sequence issues.
  3. Adding a trailing "/" in app.route('/thing') does not resolve the situation.
  4. Directly accessing urls works (e.g) http://127.0.0.1:5000/schedule/ is accessible
  5. On closer inspection, there is no app.route('/'), i.e. the main page is missing. Did a commit remove it by accident?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions