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

Kathara Python API dependency on deprecated pyuv module (Debian 12) #311

Open
Pierrig1 opened this issue Oct 9, 2024 · 3 comments
Open
Assignees

Comments

@Pierrig1
Copy link

Pierrig1 commented Oct 9, 2024

Operating System

Debian12

Kathará Version

3.7.7

Bug Description

I am currently trying to use the Kathara Python API on a Debian 12 system, but I encountered a blocking issue due to the dependency on the pyuv module, which has been deprecated and is no longer installable.

Steps To Reproduce

1 Set up a Debian 12 environment.
2. Create a virtual environment using python -m venv env and activate it.
3. Attempt to install pyuv with pip install pyuv.
4. The installation fails due to the module being deprecated and incompatible with the current system.

Expected Behavior

The Kathara Python API should either avoid using deprecated libraries or suggest an alternative solution for newer systems like Debian 12.

Check Command Output

Is there any workaround or plan to replace pyuv in future releases of Kathara?

Thank you for your help!
@tcaiazzi
Copy link
Member

Dear @Pierrig1,

Thank you for opening the issue and reaching out!

The version of pyuv on PyPI is currently incompatible with newer versions of Python (>= 3.11). We've already addressed the issue by submitting a PR, but unfortunately, the fix has not yet been published to PyPI by the pyuv maintainers.

However, as mentioned in the Getting Started guide for the API, you can still download the correct version directly from GitHub using the following command:

python3 -m pip install git+https://github.com/saghul/pyuv@master#egg=pyuv

After that, everything should work smoothly.

Please let me know if this helps, and don't hesitate to reach out if you need further assistance.

@Pierrig1
Copy link
Author

Hello !
Thank you for your suggestion.

I tried the patch you mentioned, but unfortunately, the GitHub link for pyuv returns a 404 error, so I am unable to download the correct version. It seems the repository or branch might no longer be available.

Is there any alternative solution, or perhaps a different way to proceed?

Many thanks!

@Skazza94
Copy link
Member

Hi @Pierrig1,
what command did you exactly run to get a 404?

I've just tried to install it from terminal and it works:
image

Cheers,
Mariano.

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

No branches or pull requests

3 participants