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

Very strict dependency requirements #385

Closed
bacalfa opened this issue Aug 10, 2021 · 9 comments
Closed

Very strict dependency requirements #385

bacalfa opened this issue Aug 10, 2021 · 9 comments
Labels
dependencies Pull requests that update a dependency file

Comments

@bacalfa
Copy link

bacalfa commented Aug 10, 2021

I'm very excited to try out this package, but its strict dependency requirements are giving me headaches when setting up my conda environment.

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.
fedot 0.3.1 requires scikit-learn==0.24.1, but you have scikit-learn 0.24.2 which is incompatible.
fedot 0.3.1 requires scikit-optimize==0.7.4, but you have scikit-optimize 0.9.dev0 which is incompatible.
fedot 0.3.1 requires xgboost==1.0.1, but you have xgboost 1.4.2 which is incompatible.

Is it possible to relax the requirements?

@J3FALL
Copy link
Contributor

J3FALL commented Aug 17, 2021

Hi, @bacalfa!
This is a fair note. Since FEDOT is still an early-stage project, we have tried to have the same environment for all team members. Because it imports most of the popular DS-stack libraries and some of them can conflict with each other.
However, I agree that strict requirements are not an option.
The team will discover best practices about dependencies in well-known libraries and we will do something with it.

@J3FALL J3FALL added the dependencies Pull requests that update a dependency file label Aug 17, 2021
@nicl-nno
Copy link
Collaborator

Hi, @bacalfa!

We tried to simplify the dependency requirements in the new version 0.4.0. I hope it will help to resolve your issues.
However, some versions are still restricted in some range (e.g. xgboost<1.3.0) due to compatibility issues.

Please take your feedback if some problems remain unresolvable. In this case, we will continue the investigation.

@nicl-nno
Copy link
Collaborator

Hi, @bacalfa!

Is the new version helps with your problem?

@bacalfa
Copy link
Author

bacalfa commented Aug 30, 2021

Thanks! I think it's less strict now. I'm only getting one complaint.

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.
fedot 0.4.0 requires xgboost<1.3.0,>=1.0.1, but you have xgboost 1.4.2 which is incompatible.

@nicl-nno
Copy link
Collaborator

nicl-nno commented Aug 30, 2021

Ok, a bit later we will try to adapt our code to the newer xgboost version and update the requirements.

Be free to ask any questions if you will try to do it by yourself (with a fork and pull request)!

@fsaforo1
Copy link

fsaforo1 commented Aug 5, 2022

Any update on this issue? It is almost impossible to install this tool on Linux platforms.

@nicl-nno
Copy link
Collaborator

nicl-nno commented Aug 5, 2022

The installation is already simplified in master branch - you can test it for your system.
The 0.6.0 release with this feature is also coming.

@fsaforo1
Copy link

fsaforo1 commented Aug 5, 2022

Thanks! It worked. May seem obvious now but best if you include this [see below] in the installation docs.

!pip install git+https://github.com/nccr-itmo/FEDOT.git

@nicl-nno
Copy link
Collaborator

nicl-nno commented Aug 5, 2022

Resolved and will be added to release.

@nicl-nno nicl-nno closed this as completed Aug 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

No branches or pull requests

4 participants