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

installing pacparse with Python 3.13 fails #210

Open
pexarkh opened this issue Nov 25, 2024 · 0 comments
Open

installing pacparse with Python 3.13 fails #210

pexarkh opened this issue Nov 25, 2024 · 0 comments

Comments

@pexarkh
Copy link

pexarkh commented Nov 25, 2024

the error is below. Is that b/c pacparser is not compatible with python 3.13? or is it b/c i'm doing something incorrectly?
thanks!

> poetry install
Updating dependencies
Resolving dependencies... (0.1s)

Package operations: 1 install, 0 updates, 0 removals

  - Installing pacparser (1.4.5): Failed

  ChefBuildError

  Backend subprocess exited when trying to invoke build_wheel

  running bdist_wheel
  running build
  running build_py
  creating build/lib.macosx-14.0-arm64-cpython-313/pacparser
  copying pacparser/__init__.py -> build/lib.macosx-14.0-arm64-cpython-313/pacparser
  running build_ext
  building '_pacparser' extension
  creating build/temp.macosx-14.0-arm64-cpython-313
  clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -I.. -I/private/var/folders/nv/n6bhpcp14dq4pgfyhlsdcv7h0000gn/T/tmpat7goefy/.venv/include -I/opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.13/include/python3.13 -c pacparser_py.c -o build/temp.macosx-14.0-arm64-cpython-313/pacparser_py.o
  pacparser_py.c:22:10: fatal error: 'pacparser.h' file not found
     22 | #include "pacparser.h"
        |          ^~~~~~~~~~~~~
  1 error generated.
  error: command '/usr/bin/clang' failed with exit code 1


  at ~/.local/pipx/venvs/poetry/lib/python3.13/site-packages/poetry/installation/chef.py:164 in _prepare
      160│
      161│                 error = ChefBuildError("\n\n".join(message_parts))
      162│
      163│             if error is not None:
    → 164│                 raise error from None
      165│
      166│             return path
      167│
      168│     def _prepare_sdist(self, archive: Path, destination: Path | None = None) -> Path:

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

No branches or pull requests

1 participant