Skip to content

Latest built init command fails 1.15.0 #1616

@mike-leuer

Description

@mike-leuer

Describe the bug
Command run 'alembic init alembic' (Tried both python 3.11 and 3.9, got same error)
Switched to version 1.14.1 and able to run the command with no errors.

Error for
1.15.0 with 'alembic init alembic'

Traceback (most recent call last):
  File "/workspaces/myenv/bin/alembic", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/workspaces/myenv/lib/python3.11/site-packages/alembic/config.py", line 636, in main
    CommandLine(prog=prog).main(argv=argv)
  File "/workspaces/myenv/lib/python3.11/site-packages/alembic/config.py", line 626, in main
    self.run_cmd(cfg, options)
  File "/workspaces/myenv/lib/python3.11/site-packages/alembic/config.py", line 603, in run_cmd
    fn(
  File "/workspaces/myenv/lib/python3.11/site-packages/alembic/command.py", line 115, in init
    assert config_file is not None

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions