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

upgrade not able to remove old version after upgrade dora 0.3.1 #411

Closed
bobd988 opened this issue Jan 15, 2024 · 1 comment
Closed

upgrade not able to remove old version after upgrade dora 0.3.1 #411

bobd988 opened this issue Jan 15, 2024 · 1 comment
Assignees
Labels
bug Something isn't working cli CLI coordinator daemon linux python Python API

Comments

@bobd988
Copy link
Contributor

bobd988 commented Jan 15, 2024

Describe the bug
Dora upgrade from 0.2.4 to 0.3.1 samples not long worked. The 0.3.1 env was a PC is ubuntu 22.04.2 with conda env with python 3.11.
It turns out the old dora version was not removed.

Following the steps to install to conda env

cargo install dora-cli
cargo install dora-coordinator
cargo install dora-daemon

the message showed the old dora-rs 0.2.4 was replaced with 0.3.1 successfully.

To Reproduce
dora new abc_project --lang python
dora start dataflow.yml --name first-dataflow

the error is
Traceback (most recent call last):
File "", line 3, in
AssertionError: Python dora-rs should be 0.2.4, but current version is 0.3.1. Please reinstall it with: pip install dora-rs==0.2.4 --force
Could not validate yaml: Dataflow could not be validated.: Something went wrong with Python dora-rs. Please reinstall it with: pip install dora-rs==0.2.4 --force

dora --version showed -.2.4 , then cargo uninstall dora-cli, it showed two version is system.

[email protected]
[email protected]

cargo uninstall [email protected]
cargo install [email protected] --force

now run dora-cli
dora-cli: command not found

Expected behavior
cargo install should replace the old with new version completely. However the old dora component was not cleaned.

Environments (please complete the following information):
pip show dora-rs
Name: dora-rs
Version: 0.3.1

@haixuanTao
Copy link
Collaborator

haixuanTao commented Jan 15, 2024

Sorry. dora-cli has been renamed dora for consistency in 0.3.1.

You can just use dora without adding the -cli at the end.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cli CLI coordinator daemon linux python Python API
Projects
None yet
Development

No branches or pull requests

2 participants