Open markope opened 1 year ago
I'm not able to reproduce these failures locally - could you give a list of steps you went through to initialize your environment? In particular, I ran:
$ conda create -n test-dask-sql-py311-wheel python=3.11 setuptools-rust
$ conda activate test-dask-sql-py311-wheel
$ python -m pip wheel dask_sql
Relevant to this issue is #1143, where I started evaluating the blockers to introducing support for 3.11; as of now, we're waiting for 3.11 builds of mlflow
to be published.
I am working in a fresh VM with Windows Server 2012R2
I installed the required Microsoft Visual C++ Redistributable
I installed python using the official windows installer from python.org https://www.python.org/ftp/python/3.11.3/python-3.11.3-amd64.exe
No conda involved. I also did not create a virtualenv.
I did install setuptools and setuptools_rust with python -m pip install setuptools setuptools_rust
I run python -m pip wheel das_sql
Then the described error appears.
As a temporary workaround I use dask-sql==2022.08.0
there the command works:
python -m pip wheel dask_sql
Tried to roughly recreate this process by pulling in a Docker image running Python 3.11 on Windows Server:
docker run --rm -it --entrypoint cmd python:3.11-windowsservercore-ltsc2022
And running the following commands:
cd Users\Default
python -m pip install setuptools_rust
python -m pip wheel dask_sql
Doing this, I was unable to reproduce the setuptools_rust
error you encountered; I suspect this could be an issue with the specific Python installation method you're using, some relevant things to know here are:
python -m pip list
looks like immediately after installing setuptools_rust
If the main concern here is availability of dask-sql wheels on python 3.11, there is currently work being done in #1143 to begin publishing 3.11 wheels.
When I try to build a wheel on python 3.11 on my windows2012 R2 Server I get an error related to setuptools_rust. I do have setuptools and setuptools_rust installed on my python. Verified on the command line python with
With this setup when I execute
then I get this output:
What happened:
What you expected to happen:
Either a wheel already exists or I am able to build a wheel myself. ( On pypi.org I see that wheels are only provided for python up tp 3.10 )
Environment: