I have mighty issues installing hopsworks on my local machine with poetry or pip. One package seem to be required with specific version numbers that cannot be installed at the moment:
Note: This error originates from the build backend, and is likely not a problem with poetry but with fastavro (1.7.3) not supporting PEP 517 builds. You can verify this by running 'pip wheel --use-pep517 "fastavro (==1.7.3)"'.
Attempted Remedy
I have so far tried to install the packages separately but this runs into version issues with hopsworks 3.2.0.
I am using python version 3.10.1 within a poetry virtual environment. Fwiw, I had the same error with confluent-kafka, and there is a solution in your documentation. So maybe that is related but I couldn’t get it to work with fastarvo.
This is the error code I get when installing the packages seperately and the most recent version. This was for confulent-kafka, but I got the same error for fastavro.
Because hsfs (3.2.0) depends on confluent-kafka (<=1.9.0) and no versions of hsfs match >3.2.0,<3.3.0, hsfs (>=3.2.0,<3.3.0) requires confluent-kafka (<=1.9.0). And because hopsworks (3.2.0) depends on hsfs (>=3.2.0,<3.3.0), hopsworks (3.2.0) requires confluent-kafka (<=1.9.0). So, because <PROJECT> depends on both confluent-kafka (2.1.0) and hopsworks (3.2.0), version solving failed.
i was also able to install hopsworks 3.3.0rc (not 100% sure on the letters in the version number) but that gave me HttpsConnectionError on port 433 issues and I cannot seem to replicate the installation again at the moment for some reason.
The Hopsworks library has a dependency on: "fastavro>=1.4.11,<=1.7.3". The fix for the issue above is available in fastavro 1.8.1. We are making a new release of the Hopsworks library to relax the fastavro version constraints.
I’ll let you know when the release is going to be available on PyPi.