Skip to content

"openai migrate" Error: Failed to download Grit CLI #1838

@atthasaeth

Description

@atthasaeth

Confirm this is an issue with the Python library and not an underlying OpenAI API

  • This is an issue with the Python library

Describe the bug

When running the openai migrate command, it attempts to download the Grit CLI from https://github.com/getgrit/gritql/releases/latest/download/marzano-x86_64-unknown-linux-gnu.tar.gz, but the link appears to be broken or outdated and it response Error: Failed to download Grit CLI from https://github.com/getgrit/gritql/releases/latest/download/marzano-x86_64-unknown-linux-gnu.tar.gz

To Reproduce

  1. Install the latest version of openai via pip: pip install openai --upgrade
  2. Observe the command attempting to download the file marzano-x86_64-unknown-linux-gnu.tar.gz.

I think that the current Grit releases on GitHub seem to have changed the prefix from marzano- to grit- in the file names, which is likely causing the download to fail.

Code snippets

No response

OS

Ubuntu 20.04 LTS

Python version

Python v3.11.4

Library version

openai 1.53.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions