Closed hgalytoby closed 11 months ago
This seems to be caused by latest update in setuptools
, particularly this commit. The setup.cfg
file seems to be inconsistent with pyproject.toml
causing the build to fail.
For some reason building faust-streaming
downloads this latest version of setuptools
and causes the error:
pip install --verbose faust-streaming
Using pip 23.0.1 from /Users/tomek/workspace/faust-test/venv/lib/python3.10/site-packages/pip (python 3.10)
Collecting faust-streaming
Downloading faust-streaming-0.10.16.tar.gz (757 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 757.2/757.2 kB 6.5 MB/s eta 0:00:00
Running command pip subprocess to install build dependencies
Ignoring cython: markers 'implementation_name == "cpython" and python_version >= "3.12"' don't match your environment
Collecting setuptools
Downloading setuptools-69.0.0-py3-none-any.whl (819 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 819.4/819.4 kB 6.9 MB/s eta 0:00:00
-- more package downloads --
Installing collected packages: wheel, typing-extensions, tomli, setuptools, packaging, cython, setuptools_scm
Successfully installed cython-3.0.5 packaging-23.2 setuptools-69.0.0 setuptools_scm-8.0.4 tomli-2.0.1 typing-extensions-4.8.0 wheel-0.41.3
-- installing --
AttributeError: 'NoneType' object has no attribute 'get'
note: This error originates from a subprocess, and is likely not a problem with pip.
Did anyone find a workaround for this issue until a fix is released?
Btw. This seems universal for arm64, happens for me on Linux image too. The same error happens in faust CI pipelines.
We are facing same issue on arm64 ec2 instances, a quick fix will be appreciated as we have production workloads
I've added a pr that attempts to temporarily fix the issue https://github.com/faust-streaming/faust/pull/571, but it looks like CI workflows need approval to see if it works.
For now I have pinned to faust-streaming==0.10.13
, before the pyproject.toml file was introduced.
The new version has been released to address this issue. Thank you, everyone.
🎉🎉🎉
Steps to reproduce
Actual behavior
On 2023/11/20, I successfully installed and ran faust-streaming using Docker. However, as of today, 2023/11/21, I am unable to install faust-streaming anymore. I attempted to install faust-streaming separately using two different images, namely Ubuntu and Python 3.10.13, but without success.
I can install faust-streaming locally on my Mac.
I can install faust-streaming on Ubuntu using Docker and a Dockerfile.
I can install faust-streaming on Windows.
I am unsure why using Docker on Mac is presenting this issue. Has anyone else encountered a similar problem?
I conducted separate tests on MacOs M1 versions 14.1.1, 12.6.2, and 13.4.1.
Full traceback
Versions