[Dune-devel] vX.Y.Z.alpha tags

Markus Blatt markus at dr-blatt.de
Fri Nov 26 08:40:05 CET 2021


Hi,

On Thu, Nov 25, 2021 at 04:21:45PM +0000, Dedner, Andreas wrote:
>Recently we discovered a bug in the 2.8.0 Python packages uploaded to pypi. During the installation of the packages from dune-istl/localfunctions the libs _istl.so/_localfunctions.so are not added to the venv  - the install command was missing in the CMakeLists.txt file. It's fixed now in the release branch.
>
>It is not allowed to replace Python packages with new ones using the same version on pypi. So, we can only fix this by uploading a new version. We had the same issue already with dune-fem and just uploaded 2.8.0.1. We would like to do the same with the core packages to fix this problem. On the other hand, we also only wanted to upload packages that correspond to tagged commits. Consequently, we would like to add a v2.8.0.1 tag to the core modules.

I think these tags should correspond to releases and a fourth number seems quite uncommon.

If I understand this correctly, then this tag is needed by pypi only. Have you asked how other projects handel this. Seem like there is
something similar to the Debian packages: post releases <version>-1 or <version>-2 See https://www.python.org/dev/peps/pep-0440/#post-releases
in conjunction with a a tagging scheme different from the usual releases e.g. tag each pypi version like this:

pypi/v2.8.0  # pypi based on official release
pypi/v2.8.0-1 # pypi official relase with extra patches
pypi/v2.8.0-2
...

I do not know anything about pypi, but would hope that something like this is possible. (After all there should be others that have the same problem)

Markus




More information about the Dune-devel mailing list