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

Python 3.11.2: pip install -r requirements-310.txt fails #35

Open
r4ntix opened this issue Apr 1, 2023 · 2 comments · May be fixed by #36
Open

Python 3.11.2: pip install -r requirements-310.txt fails #35

r4ntix opened this issue Apr 1, 2023 · 2 comments · May be fixed by #36
Labels
bug Something isn't working

Comments

@r4ntix
Copy link

r4ntix commented Apr 1, 2023

Describe the bug
os: macOS 13.3
python: v3.11.2 (venv)

python -m pip install -r requirements-310.txt

Configured for RELEASE build (set with cmake -DCMAKE_BUILD_TYPE={release,debug,...})
      -- Build Type: RELEASE
      -- Generator: Unix Makefiles
      -- Build output directory: /private/var/folders/cp/ckllsv255631cqswdnxgb5ch0000gn/T/pip-install-c9_6i9ae/pyarrow_1d986c71873643a0a659c11814f85083/build/temp.macosx-13-x86_64-cpython-311/release
      -- Found Python3: /Users/r4ntix/Workspace/github/arrow-ballista-python/venv/bin/python (found version "3.11.2") found components: Interpreter Development.Module NumPy
      -- Found Python3Alt: /Users/r4ntix/Workspace/github/arrow-ballista-python/venv/bin/python
      -- Found PkgConfig: /usr/local/bin/pkg-config (found version "0.29.2")
      -- Could NOT find Arrow (missing: Arrow_DIR)
      -- Checking for module 'arrow'
      --   No package 'arrow' found
      CMake Error at /usr/local/Cellar/cmake/3.26.2/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
        Could NOT find Arrow (missing: ARROW_INCLUDE_DIR ARROW_LIB_DIR
        ARROW_FULL_SO_VERSION ARROW_SO_VERSION)
      Call Stack (most recent call first):
        /usr/local/Cellar/cmake/3.26.2/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
        cmake_modules/FindArrow.cmake:450 (find_package_handle_standard_args)
        cmake_modules/FindArrowPython.cmake:46 (find_package)
        CMakeLists.txt:231 (find_package)


      -- Configuring incomplete, errors occurred!
      error: command '/usr/local/bin/cmake' failed with exit code 1
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for pyarrow
Successfully built numpy
Failed to build pyarrow
ERROR: Could not build wheels for pyarrow, which is required to install pyproject.toml-based projects

To Reproduce
👆

Expected behavior

Additional context

@r4ntix r4ntix added the bug Something isn't working label Apr 1, 2023
@jimexist
Copy link
Member

jimexist commented Apr 1, 2023

does arrow support python 3.11 yet?

seems to me no https://pypi.org/project/arrow/

@r4ntix
Copy link
Author

r4ntix commented Apr 2, 2023

@jimexist The problem is with pyarrow. Installing the latest pyarrow==11.0.0 works, but installing pyarrow==8.0.0 in requirements-310.txt fails.
Maybe we should generate new dependency files for python 3.11.

@r4ntix r4ntix linked a pull request Apr 2, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants