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

Draft changelog fails #385

Open
davidbrochart opened this issue Sep 15, 2022 · 5 comments
Open

Draft changelog fails #385

davidbrochart opened this issue Sep 15, 2022 · 5 comments
Labels
bug Something isn't working

Comments

@davidbrochart
Copy link
Contributor

Description

I'm trying to create a Draft Changelog for jupyverse, explicitly specifying a 0.0.40 version, and I get this error in "bump-version":

Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.10.6/x64/bin/hatchling", line 8, in <module>
    sys.exit(hatchling())
  File "/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/hatchling/cli/__init__.py", line 26, in hatchling
    command(**kwargs)
  File "/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/hatchling/cli/version/__init__.py", line 33, in version_impl
    updated_version = metadata.hatch.version.scheme.update(desired_version, original_version, version_data)
  File "/opt/hostedtoolcache/Python/3.10.6/x64/lib/python3.10/site-packages/hatchling/version/scheme/standard.py", line 48, in update
    raise ValueError(
ValueError: Version `0.0.39` is not higher than the original version `0.0.39`
@davidbrochart davidbrochart added the bug Something isn't working label Sep 15, 2022
@blink1073
Copy link
Contributor

Hmm, I see RH_VERSION_SPEC is set to 0.0.40 but in bump-version it is choosing 0.0.39

@blink1073
Copy link
Contributor

I think we need to add logging to cli.py to show what values the command was called with, and whether they were overridden by environment variables. We'd have to be careful not to output sensitive things like tokens, which would have to be put on a block list.

@davidbrochart
Copy link
Contributor Author

I've released jupyverse successfully, by setting next as the new version.

@blink1073
Copy link
Contributor

This should be fixed now, we had a bug where we were bumping the version twice

@jtpio
Copy link
Member

jtpio commented Mar 16, 2023

@davidbrochart are you still experiencing this issue, or do you think it could be closed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants