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

Installing pyobsplot fails in jupyterlite xeus-python kernel #49

Open
martenrichter opened this issue Jan 3, 2025 · 5 comments
Open

Comments

@martenrichter
Copy link

I have tried to install pyobsplot with jupyter lite and the xeus kernel, and it fails because of the watchfiles dependency.
Is it possible to make this dependency optional?

See:

The following packages are incompatible
└─ pyobsplot is not installable because there are no viable options
   ├─ pyobsplot [0.3.7|0.3.8|0.4.0] would require
   │  └─ polars >=0.16.0 , which does not exist (perhaps a missing channel);
   ├─ pyobsplot 0.4.1 would require
   │  └─ pyarrow >=13.0.0,<14.0.0 , which does not exist (perhaps a missing channel);
   ├─ pyobsplot 0.4.2 would require
   │  └─ polars >=0.20.0 , which does not exist (perhaps a missing channel);
   └─ pyobsplot [0.5.0|0.5.1] would require
      └─ watchfiles >=0.18.0 , which does not exist (perhaps a missing channel).
@juba
Copy link
Owner

juba commented Jan 6, 2025

I'm not really familiar with jupyter lite and the xeus kernel. Could you tell me how you are intalling pyobsplot ? Using an environment.yml file ?

@martenrichter
Copy link
Author

Yes with envirnonment.yml :
https://github.com/fails-components/jupyterfails/blob/master/environment.yml
(if I add you package there it fails).
Jupyter lite has only support for a limited number of binary packages. And it is super handy for setups in universities.

@juba
Copy link
Owner

juba commented Jan 6, 2025

Unfortunately I think that the main problem will be the absence of the polars package. If I add it to environment.yml it seems that it is not available.

It may have been possible to avoid the watchfiles dependency, but polars is really needed by pyobsplot...

@martenrichter
Copy link
Author

OK, so it complains only about one random missing package, and Polars is still needed? Polars is a binary package? If so, then it is not as easy as I thought. Sorry...

@juba
Copy link
Owner

juba commented Jan 7, 2025

That's my understanding. It complains about watchfiles for pyobsplot 0.5.x, but I think it would complain about polars if watchfiles was available.

Polars is a package with an interface to a rust codebase, so it must indeed be a binary package.

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

2 participants