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

[Bug] poetry not installed #19274

Open
springjools opened this issue Feb 15, 2025 · 1 comment
Open

[Bug] poetry not installed #19274

springjools opened this issue Feb 15, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@springjools
Copy link

What happened?

Upgrade from 2.5.0 to 2.5.1 on Debian with Python 3.9 fails to install poetry. Resolved by manually installing it.

Commands:
git fetch
git checkout latest
git reset --hard FETCH_HEAD --recurse-submodules
sudo bash install.sh

Result:
i get this error:
OpenSSL version for Python is OpenSSL 3.0.15 3 Sep 2024Using virtualenv: /home/chia/chia-blockchain/.venvInstalling dependencies from lock file

pyproject.toml changed significantly since poetry.lock was last generated. Run poetry lock to fix the lock file.

Poetry is not present to run that command.

Version

2.5.1

What platform are you using?

Linux

What ui mode are you using?

CLI

Relevant log output

i get this error:
OpenSSL version for Python is OpenSSL 3.0.15 3 Sep 2024Using virtualenv: /home/chia/chia-blockchain/.venvInstalling dependencies from lock file

pyproject.toml changed significantly since poetry.lock was last generated. Run `poetry lock` to fix the lock file.
@springjools springjools added the bug Something isn't working label Feb 15, 2025
@BrandtH22
Copy link
Contributor

Hey @springjools , keep in mind that when upgrading from source you need to remove all of the virtual environments to have them rebuilt properly. These are the steps from our docs site https://docs.chia.net/installation/#from-source:

# Change directory
cd chia-blockchain

# Activate the virtual environment
. ./activate

# Stop running services
chia stop -d all

# Deactivate the virtual environment
deactivate

# Remove the current virtual environments
rm -r venv
rm -r .penv
rm -r .venv

# Pull the latest version
git fetch
git checkout latest
git reset --hard FETCH_HEAD --recurse-submodules

# If you get RELEASE.dev0 then delete the package-lock.json in chia-blockchain-gui and install.sh again

# This should say "nothing to commit, working tree clean"
# if you have uncommitted changes, RELEASE.dev0 will be reported
git status

# Install the new version
sh install.sh

# Activate the virtual environment
. ./activate

# Initialize the new version
chia init

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants