Install fails when upgrading to chia 1.3, Debian 11, Python 3.9
I get the following error trying to install plotman on chia 1.3. If I roll back to chia 1.2.11 I don't get the error.
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. chia-blockchain 1.3.0 requires packaging==21.0, but you have packaging 20.9 which is incompatible. chia-blockchain 1.3.0 requires typing-extensions==4.0.1, but you have typing-extensions 3.10.0.2 which is incompatible.
Sorry for the trouble and thanks for bumping me on this. I'm adding a test where we install plotman with Chia in CI https://github.com/ericaltendorf/plotman/pull/953. Once that gets merged to development you can go ahead and install that using the regular installation instructions but with @development instead of @main.
Just merged that. Let me know if you are able to get it working or not.
If I run this it works
pip install --force-reinstall packaging==21.0 typing-extensions==4.0.1 git+https://github.com/ericaltendorf/plotman@development
If I run this I get the same error.
pip install --force-reinstall git+https://github.com/ericaltendorf/plotman@development
If I run with the forced packages on the main branch.
pip install --force-reinstall packaging==21.0 typing-extensions==4.0.1 git+https://github.com/ericaltendorf/plotman@main
I get an additional error ERROR: Cannot install packaging==21.0 and plotman==0.5.3 because these package versions have conflicting dependencies.
So on the development branch it will now accept the right packages if you force it. But it still tries to load the wrong ones by default.
I see the next layer of the issue, thanks. I'll correct the testing to be more accurate and try to figure out a solution. There are a couple basic issues. pip doesn't do a great job of keeping consistency dependencies across multiple install calls. The --force-reinstall was added to the plotman readme to force updating of plotman but has the side effect of force reinstalling all of its dependencies. For the moment I think if you just don't use the --force-reinstall it will be ok assuming you don't already have plotman installed.
just wanted to say that I'm updating from chia 1.2.11 to 1.3.3. Not too sure which plotman version i was using previously, but I have to use :
pip install --force-reinstall packaging==21.0 typing-extensions==4.0.1 git+https://github.com/ericaltendorf/plotman@development
the other cli, including the one from the wiki install doesn't work.
Upgraded to ubuntu 22.04/python 3.10. You can again get it to install by overriding pip. New addition is pyyaml is at 6.0 now.
pip install --force-reinstall packaging==21.0 typing-extensions==4.0.1 --ignore-installed pyyaml git+https://github.com/ericaltendorf/plotman@development