You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The prepare_package.sh script changes the version number of plenum and node in the setup.py to match with the deb versioning (~).
fpm extracts that and writes the deb depends on correctly with the deb versioning.
The problem is in the final deb package, the requires.txt lists the pypi version in the deb format with the ~ in it.
If someone only install with apt and uses indy-node /plenum it isn't noticeable.
If someone on the other hand wants to install the sovrin package pip checks that setup.py sees the already (with apt) installed indy-node but tries to load the dependencies listed in the requires.txt from pypi, which obviously fails due to the version mismatch. (Pypi only has the package with the .)
If the apt package of indy-node is removed and only installed via pip the problem doesn't exists. (since the changes in #1779 )
The text was updated successfully, but these errors were encountered:
Hm i think we haven't really looked into it more.
And i think it is only the special case if someone wants to install mixed(apt and pypi installation) that this problem really occurs. Pure apt and pypi installation should be fine.
Thanks. I recall better now. It's also not a problem for full releases.
The work here would involve a review of the Python and deb package versioning schemes to see if there is a way to align the pre-release versioning so these version conflicts between the Python and deb packages don't occur.
To put it in the context of a user story. As a developer I would like to be able to install indy-node packages and dependances using a mix of deb and Python packages without running into unresolvable version numbering conflicts between the version dependencies listed in the deb install and the actual version numbers of the published python packages.
The
prepare_package.sh
script changes the version number of plenum and node in thesetup.py
to match with the deb versioning (~
).fpm extracts that and writes the deb depends on correctly with the deb versioning.
The problem is in the final deb package, the
requires.txt
lists the pypi version in the deb format with the~
in it.If someone only install with apt and uses indy-node /plenum it isn't noticeable.
If someone on the other hand wants to install the sovrin package pip checks that setup.py sees the already (with apt) installed indy-node but tries to load the dependencies listed in the
requires.txt
from pypi, which obviously fails due to the version mismatch. (Pypi only has the package with the.
)If the apt package of indy-node is removed and only installed via pip the problem doesn't exists. (since the changes in #1779 )
The text was updated successfully, but these errors were encountered: