Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install fails when upgrading to chia 1.3, Debian 11, Python 3.9 #952

Open
gavinmonson opened this issue Mar 12, 2022 · 6 comments
Open

Install fails when upgrading to chia 1.3, Debian 11, Python 3.9 #952

gavinmonson opened this issue Mar 12, 2022 · 6 comments

Comments

@gavinmonson
Copy link

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.

@altendky
Copy link
Collaborator

Sorry for the trouble and thanks for bumping me on this. I'm adding a test where we install plotman with Chia in CI #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.

@altendky
Copy link
Collaborator

Just merged that. Let me know if you are able to get it working or not.

@gavinmonson
Copy link
Author

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.

@altendky
Copy link
Collaborator

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.

@fireboy0526
Copy link

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.

@gavinmonson
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants