Skip to content

All bump-version commands are failing #149

Description

@amontanez24

Environment Details

Please indicate the following details about the environment in which you found the bug:

  • DeepEcho version: 0.7.0

Error Description

When running any make commands that need to run bump-my-version, we get the following error

bump-my-version bump candidate --no-tag
Traceback (most recent call last):
  File "/Users/~~~~~/anaconda3/envs/deepecho-311/bin/bump-my-version", line 5, in <module>
    from bumpversion.cli import cli
  File "/Users/~~~~~~/anaconda3/envs/deepecho-311/lib/python3.11/site-packages/bumpversion/cli.py", line 13, in <module>
    from bumpversion.click_config import config_option
  File "/Users/~~~~~~/anaconda3/envs/deepecho-311/lib/python3.11/site-packages/bumpversion/click_config.py", line 10, in <module>
    from click.decorators import FC, _param_memo  # noqa: PLC2701
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ImportError: cannot import name 'FC' from 'click.decorators' (/Users/~~~~~~~~/anaconda3/envs/deepecho-311/lib/python3.11/site-packages/click/decorators.py)
make: *** [bumpversion-candidate] Error 1

This is because the newer version of bump-my-version need a new version of click, but rundoc requires click < 8.0.

Steps to reproduce

Run the following

make bumpversion-candidate

Additional context

The rundoc library is only used in our readme workflow. We can just remove it from the pyproject.toml since it isn't used for anything else and install it directly in the workflow. Then we can install the latest version of click.

We also need to uncap twine in order for our make release command to work. There is a bug in the older versions.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions