Closed enryH closed 3 weeks ago
Additional question: currently, when I click on the link to documentation from proteobench.cubimed, I reach the latest version. Can I just change the link to https://proteobench.readthedocs.io/en/stable/ in the home page? Would you mind? This way it is consistent.
Actually, the last release (on GitHub) is 0.2.7, which is also installed on the server right now. On PyPi, there is 0.2.8b0, which seems a bit inconsistent.
I guess this is because there are only pre-releases on PyPI: https://pypi.org/project/proteobench/#history
setuptools-scm picks it up from the last tag/release in the repository.
@RobbinBouwmeester Do you know why?
We could also switch to a different PyPI release workflow if that is needed.
Additional question: currently, when I click on the link to documentation from proteobench.cubimed, I reach the latest version. Can I just change the link to https://proteobench.readthedocs.io/en/stable/ in the home page? Would you mind? This way it is consistent.
The default version on readthedocs is the stable one: https://proteobench.readthedocs.io
So yes, go ahead
It works when I run it locally. I have this in the main page: My question is: why
0.2.7b0
? It should be higher, no? In the CHANGELOG.md that I have, the head of the file is:# Changelog All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [0.2.9] - 2024-05-21 ...
Is this normal?
So the answer is: The actions which is updating PyPI is failing: https://github.com/Proteobench/ProteoBench/actions/workflows/automated_release.yml
It complains about the Changelog.md
file:
FATAL error reading changelog: changelog file does not contain version 0.2.9
The build version is however 0.2.8
Version number normalised: '0.2.8-beta' -> '0.2.8b0' (see PEP 440)
Successfully built proteobench-0.2.8b0-py3-none-any.whl
With the beta suffix.
So I guess we need to figure that out before on the main branch.
It added now also the intermediate version to the Changelog: https://github.com/Proteobench/ProteoBench/pull/315
Additional question: currently, when I click on the link to documentation from proteobench.cubimed, I reach the latest version. Can I just change the link to https://proteobench.readthedocs.io/en/stable/ in the home page? Would you mind? This way it is consistent.
The default version on readthedocs is the stable one: https://proteobench.readthedocs.io
So yes, go ahead
done.
Then you can approve and merge:)
It works when I run it locally. I have this in the main page:
My question is: why
0.2.7b0
? It should be higher, no? In the CHANGELOG.md that I have, the head of the file is:Is this normal?