Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Allow changing the version of mypy bundled inside Fern's generated SDK #5149

Open
andreibratu opened this issue Nov 11, 2024 · 0 comments

Comments

@andreibratu
Copy link

Problem description

The mypy version bundled in the dev dependencies of a SDK generated by Fern is locked at 1.0.1: https://github.com/humanloop/humanloop-python/blob/master/pyproject.toml#L42

Why would it be useful?

mypy==1.0.1 raises an error in our CI pipeline when running poetry run mypy . --enable-incomplete-feature=Unpack in the compile step.

This is fixed by bumping mypy to 1.6.0. Unfortunately, pyproject.toml is auto-generated by Fern.

Describe the solution (optional)

The generators.yml file should allow developers to specify the version of mypy used.

Additional context

[BLANK]

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

No branches or pull requests

1 participant