Open aereaux opened 2 months ago
Hi @aereaux, seems the problem is caused by the ambigious configuration of nbxmpp
. As it is shown here, the package version is set as the attribute value of nbxmpp.__version__
and it is always 5.0.3
for all the commits between 5.0.3
and 5.0.4
. So I suppose you might need to integrate with setuptools-scm to make it work as expected. Would you like to have a try on it?
Actually, I tried to reproduce the issue by using another Python package repo with setuptools-scm
integration and it works as expected.
$ pipx install pycowsay
$ pipx inject pycowsay git+https://github.com/serious-scaffold/ss-python/
$ pipx list --include-inject
...
package pycowsay 0.0.0.2, installed using Python 3.12.6
- pycowsay
- man6/pycowsay.6
Injected Packages:
- ss-python 0.0.55.dev70+g5895610
...
$ pipx runpip pycowsay freeze
...
ss-python @ git+https://github.com/serious-scaffold/ss-python/@589561024c2d6ab2c52bd996ffd6a6bb3295ca55
...
Describe the bug
I am trying to install the version of gajim from git, which requires the version of python-nbxmpp from git. When I run the inject command it runs fine, but doesn't install the proper version.
When I run
pipx runpip gajim install git+https://dev.gajim.org/gajim/python-nbxmpp/ --force-reinstall
it seems to do what I need, so maybe a--force-reinstall
or something is needed?How to reproduce
Expected behavior
The pip freeze command should show the git version of nbxmpp.