Skip to content

gto 1.9.0: pin typer <0.26, add missing click dependency - #16

Merged
shcheklein merged 2 commits into
conda-forge:mainfrom
shcheklein:fix-1.9.0-typer-click
Jul 9, 2026
Merged

shcheklein merged 2 commits into
conda-forge:mainfrom
shcheklein:fix-1.9.0-typer-click

Conversation

@shcheklein

Copy link
Copy Markdown
Member

Fresh installs of gto from conda-forge are currently broken: the recipe declares typer >=0.4.1 unpinned, the solver picks typer 0.26.x, and typer ≥0.26 vendors click — it no longer depends on it. Since nothing else in gto's dependency tree pulls click in, and gto imports click directly (gto/cli.py), the CLI dies on ModuleNotFoundError: click. Even with click present, gto 1.9.0's CLI machinery is incompatible with vendored-click typer and crashes on gto --help.

This rebuild pins typer >=0.4.1,<0.26 (the last real-click typer) and declares the click dependency explicitly, matching the upstream fix in iterative/gto#497. The recipe's own gto --help test exercises the fix.

Heads-up for the next version bump: upstream is removing typer entirely (iterative/gto#499), so the 1.10.0 autotick PR will need typer dropped and click >=8.2,<9 kept in run:.

Checklist

  • Used a personal fork of the feedstock to propose changes
  • Bumped the build number (if the version is unchanged)
  • Reset the build number to 0 (if the version changed)
  • Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
  • Ensured the license file is being packaged.

@shcheklein

Copy link
Copy Markdown
Member Author

@conda-forge-admin, please rerender

@conda-forge-admin

Copy link
Copy Markdown
Contributor

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe/recipe.yaml) and found it was in an excellent condition.

@shcheklein
shcheklein merged commit 1ae7106 into conda-forge:main Jul 9, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants