KissPeter / APIFuzzer

Fuzz test your application using your OpenAPI or Swagger API definition without coding
GNU General Public License v3.0
416 stars 65 forks source link

Unable to install APIFuzzer #69

Closed shubham-ackotech closed 5 months ago

shubham-ackotech commented 7 months ago

Describe the bug

unable to install APIFuzzer, throws error APIFuzzer debug log

Please provide the related APIFuzzer debug log

Collecting APIFuzzer Using cached APIFuzzer-0.9.13-py3-none-any.whl (38 kB) Requirement already satisfied: kittyfuzzer==0.7.4 in ./.venv/lib/python3.11/site-packages (from APIFuzzer) (0.7.4) Collecting pycurl==7.43.0.6 (from APIFuzzer) Using cached pycurl-7.43.0.6.tar.gz (222 kB) Preparing metadata (setup.py) ... done Requirement already satisfied: ruamel.yaml==0.16.12 in ./.venv/lib/python3.11/site-packages (from APIFuzzer) (0.16.12) Requirement already satisfied: junit-xml==1.9 in ./.venv/lib/python3.11/site-packages (from APIFuzzer) (1.9) Requirement already satisfied: jsonpath-ng==1.5.2 in ./.venv/lib/python3.11/site-packages (from APIFuzzer) (1.5.2) Requirement already satisfied: PyYAML==6.0 in ./.venv/lib/python3.11/site-packages (from APIFuzzer) (6.0) Requirement already satisfied: json-ref-dict>=0.7.1 in ./.venv/lib/python3.11/site-packages (from APIFuzzer) (0.7.2) Requirement already satisfied: ply in ./.venv/lib/python3.11/site-packages (from jsonpath-ng==1.5.2->APIFuzzer) (3.11) Requirement already satisfied: decorator in ./.venv/lib/python3.11/site-packages (from jsonpath-ng==1.5.2->APIFuzzer) (5.1.1) Requirement already satisfied: six in ./.venv/lib/python3.11/site-packages (from jsonpath-ng==1.5.2->APIFuzzer) (1.16.0) Requirement already satisfied: docopt in ./.venv/lib/python3.11/site-packages (from kittyfuzzer==0.7.4->APIFuzzer) (0.6.2) Requirement already satisfied: bitstring in ./.venv/lib/python3.11/site-packages (from kittyfuzzer==0.7.4->APIFuzzer) (4.1.4) Requirement already satisfied: requests in ./.venv/lib/python3.11/site-packages (from kittyfuzzer==0.7.4->APIFuzzer) (2.31.0) Requirement already satisfied: jsonpointer~=2.0 in ./.venv/lib/python3.11/site-packages (from json-ref-dict>=0.7.1->APIFuzzer) (2.4) Requirement already satisfied: bitarray<3.0.0,>=2.8.0 in ./.venv/lib/python3.11/site-packages (from bitstring->kittyfuzzer==0.7.4->APIFuzzer) (2.9.2) Requirement already satisfied: charset-normalizer<4,>=2 in ./.venv/lib/python3.11/site-packages (from requests->kittyfuzzer==0.7.4->APIFuzzer) (3.3.2) Requirement already satisfied: idna<4,>=2.5 in ./.venv/lib/python3.11/site-packages (from requests->kittyfuzzer==0.7.4->APIFuzzer) (3.6) Requirement already satisfied: urllib3<3,>=1.21.1 in ./.venv/lib/python3.11/site-packages (from requests->kittyfuzzer==0.7.4->APIFuzzer) (2.2.0) Requirement already satisfied: certifi>=2017.4.17 in ./.venv/lib/python3.11/site-packages (from requests->kittyfuzzer==0.7.4->APIFuzzer) (2024.2.2) Building wheels for collected packages: pycurl Building wheel for pycurl (setup.py) ... error error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [444 lines of output] /private/var/folders/x9/mpsf7mlx5yj3fchvy4nw9h0m0000gs/T/pip-install-d9o4zaho/pycurl_620a480ac6da4440919e9485912e15ce/setup.py:933: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. if LooseVersion(distutils.version) > LooseVersion("1.0.1"): /private/var/folders/x9/mpsf7mlx5yj3fchvy4nw9h0m0000gs/T/pip-install-d9o4zaho/pycurl_620a480ac6da4440919e9485912e15ce/setup.py:935: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. if LooseVersion(distutils.version) < LooseVersion("1.0.3"): Using curl-config (libcurl 7.88.1) Warning: libcurl is configured to use SSL, but we have not been able to determine which SSL backend it is using. If your Curl is built against OpenSSL, LibreSSL, BoringSSL, GnuTLS, NSS or mbedTLS please specify the SSL backend manually. For other SSL backends please ignore this message.Not using an SSL library running bdist_wheel running build running build_py creating build creating build/lib.macosx-10.9-universal2-cpython-311 creating build/lib.macosx-10.9-universal2-cpython-311/curl copying python/curl/init.py -> build/lib.macosx-10.9-universal2-cpython-311/curl running build_ext building 'pycurl' extension creating build/temp.macosx-10.9-universal2-cpython-311 creating build/temp.macosx-10.9-universal2-cpython-311/src clang -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch arm64 -arch x86_64 -g -DPYCURL_VERSION=\"7.43.0.6\" -DHAVE_CURL_SSL=1 -I/Users/shubham.mantri/newApifuzzers/pythonProject/.venv/include -I/Library/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c src/docstrings.c -o build/temp.macosx-10.9-universal2-cpython-311/src/docstrings.o In file included from src/docstrings.c:4: src/pycurl.h:227:5: warning: "libcurl was compiled with SSL support, but configure could not determine which " "library was used; thus no SSL crypto locking callbacks will be set, which may " "cause random crashes on SSL requests" [-W#warnings]

warning \

      ^
  1 warning generated.
  In file included from src/docstrings.c:4:
  src/pycurl.h:227:5: warning: "libcurl was compiled with SSL support, but configure could not determine which "      "library was used; thus no SSL crypto locking callbacks will be set, which may "      "cause random crashes on SSL requests" [-W#warnings]
  #   warning \
      ^
  1 warning generated.
  clang -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch arm64 -arch x86_64 -g -DPYCURL_VERSION=\"7.43.0.6\" -DHAVE_CURL_SSL=1 -I/Users/shubham.mantri/newApifuzzers/pythonProject/.venv/include -I/Library/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c src/easy.c -o build/temp.macosx-10.9-universal2-cpython-311/src/easy.o
  In file included from src/easy.c:1:
  src/pycurl.h:227:5: warning: "libcurl was compiled with SSL support, but configure could not determine which "      "library was used; thus no SSL crypto locking callbacks will be set, which may "      "cause random crashes on SSL requests" [-W#warnings]
  #   warning \
      ^
  src/easy.c:283:5: warning: 'UsingDeprecatedTrashcanMacro' is deprecated [-Wdeprecated-declarations]
      Py_TRASHCAN_SAFE_BEGIN(self);
      ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/cpython/object.h:507:9: note: expanded from macro 'Py_TRASHCAN_SAFE_BEGIN'
          UsingDeprecatedTrashcanMacro cond=1; \
          ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/cpython/object.h:504:1: note: 'UsingDeprecatedTrashcanMacro' has been explicitly marked deprecated here
  Py_DEPRECATED(3.11) typedef int UsingDeprecatedTrashcanMacro;
  ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED'
  #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                       ^
  2 warnings generated.
  In file included from src/easy.c:1:
  src/pycurl.h:227:5: warning: "libcurl was compiled with SSL support, but configure could not determine which "      "library was used; thus no SSL crypto locking callbacks will be set, which may "      "cause random crashes on SSL requests" [-W#warnings]
  #   warning \
      ^
  src/easy.c:283:5: warning: 'UsingDeprecatedTrashcanMacro' is deprecated [-Wdeprecated-declarations]
      Py_TRASHCAN_SAFE_BEGIN(self);
      ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/cpython/object.h:507:9: note: expanded from macro 'Py_TRASHCAN_SAFE_BEGIN'
          UsingDeprecatedTrashcanMacro cond=1; \
          ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/cpython/object.h:504:1: note: 'UsingDeprecatedTrashcanMacro' has been explicitly marked deprecated here
  Py_DEPRECATED(3.11) typedef int UsingDeprecatedTrashcanMacro;
  ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED'
  #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                       ^
  2 warnings generated.
  clang -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch arm64 -arch x86_64 -g -DPYCURL_VERSION=\"7.43.0.6\" -DHAVE_CURL_SSL=1 -I/Users/shubham.mantri/newApifuzzers/pythonProject/.venv/include -I/Library/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c src/easycb.c -o build/temp.macosx-10.9-universal2-cpython-311/src/easycb.o
  In file included from src/easycb.c:1:
  src/pycurl.h:227:5: warning: "libcurl was compiled with SSL support, but configure could not determine which "      "library was used; thus no SSL crypto locking callbacks will be set, which may "      "cause random crashes on SSL requests" [-W#warnings]
  #   warning \
      ^
  src/easycb.c:45:14: warning: 'PyEval_CallObjectWithKeywords' is deprecated [-Wdeprecated-declarations]
      result = PyEval_CallObject(cb, arglist);
               ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/ceval.h:34:5: note: expanded from macro 'PyEval_CallObject'
      PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL)
      ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/ceval.h:27:1: note: 'PyEval_CallObjectWithKeywords' has been explicitly marked deprecated here
  Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
  ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED'
  #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                       ^
  src/easycb.c:187:22: warning: 'PyEval_CallObjectWithKeywords' is deprecated [-Wdeprecated-declarations]
      python_address = PyEval_CallObject(curl_sockaddr_type, arglist);
                       ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/ceval.h:34:5: note: expanded from macro 'PyEval_CallObject'
      PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL)
      ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/ceval.h:27:1: note: 'PyEval_CallObjectWithKeywords' has been explicitly marked deprecated here
  Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
  ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED'
  #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                       ^
  src/easycb.c:198:14: warning: 'PyEval_CallObjectWithKeywords' is deprecated [-Wdeprecated-declarations]
      result = PyEval_CallObject(self->opensocket_cb, arglist);
               ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/ceval.h:34:5: note: expanded from macro 'PyEval_CallObject'
      PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL)
      ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/ceval.h:27:1: note: 'PyEval_CallObjectWithKeywords' has been explicitly marked deprecated here
  Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
  ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED'
  #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                       ^
  src/easycb.c:260:15: warning: 'PyEval_CallObjectWithKeywords' is deprecated [-Wdeprecated-declarations]
      ret_obj = PyEval_CallObject(self->sockopt_cb, arglist);
                ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/ceval.h:34:5: note: expanded from macro 'PyEval_CallObject'
      PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL)
      ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/ceval.h:27:1: note: 'PyEval_CallObjectWithKeywords' has been explicitly marked deprecated here
  Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
  ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED'
  #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                       ^
  src/easycb.c:312:15: warning: 'PyEval_CallObjectWithKeywords' is deprecated [-Wdeprecated-declarations]
      ret_obj = PyEval_CallObject(self->closesocket_cb, arglist);
                ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/ceval.h:34:5: note: expanded from macro 'PyEval_CallObject'
      PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL)
      ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/ceval.h:27:1: note: 'PyEval_CallObjectWithKeywords' has been explicitly marked deprecated here
  Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
  ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED'
  #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                       ^
  src/easycb.c:413:15: warning: 'PyEval_CallObjectWithKeywords' is deprecated [-Wdeprecated-declarations]
      ret_obj = PyEval_CallObject(self->ssh_key_cb, arglist);
                ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/ceval.h:34:5: note: expanded from macro 'PyEval_CallObject'
      PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL)
      ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/ceval.h:27:1: note: 'PyEval_CallObjectWithKeywords' has been explicitly marked deprecated here
  Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
  ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED'
  #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                       ^
  src/easycb.c:491:14: warning: 'PyEval_CallObjectWithKeywords' is deprecated [-Wdeprecated-declarations]
      result = PyEval_CallObject(cb, arglist);
               ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/ceval.h:34:5: note: expanded from macro 'PyEval_CallObject'
      PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL)
      ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/ceval.h:27:1: note: 'PyEval_CallObjectWithKeywords' has been explicitly marked deprecated here
  Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
  ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED'
  #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                       ^
  src/easycb.c:557:14: warning: 'PyEval_CallObjectWithKeywords' is deprecated [-Wdeprecated-declarations]
      result = PyEval_CallObject(self->r_cb, arglist);
               ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/ceval.h:34:5: note: expanded from macro 'PyEval_CallObject'
      PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL)
      ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/ceval.h:27:1: note: 'PyEval_CallObjectWithKeywords' has been explicitly marked deprecated here
  Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
  ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED'
  #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                       ^
  src/easycb.c:665:14: warning: 'PyEval_CallObjectWithKeywords' is deprecated [-Wdeprecated-declarations]
      result = PyEval_CallObject(self->pro_cb, arglist);
               ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/ceval.h:34:5: note: expanded from macro 'PyEval_CallObject'
      PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL)
      ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/ceval.h:27:1: note: 'PyEval_CallObjectWithKeywords' has been explicitly marked deprecated here
  Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
  ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED'
  #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                       ^
  src/easycb.c:718:14: warning: 'PyEval_CallObjectWithKeywords' is deprecated [-Wdeprecated-declarations]
      result = PyEval_CallObject(self->xferinfo_cb, arglist);
               ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/ceval.h:34:5: note: expanded from macro 'PyEval_CallObject'
      PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL)
      ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/ceval.h:27:1: note: 'PyEval_CallObjectWithKeywords' has been explicitly marked deprecated here
  Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
  ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED'
  #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                       ^
  src/easycb.c:778:14: warning: 'PyEval_CallObjectWithKeywords' is deprecated [-Wdeprecated-declarations]
      result = PyEval_CallObject(self->debug_cb, arglist);
               ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/ceval.h:34:5: note: expanded from macro 'PyEval_CallObject'
      PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL)
      ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/ceval.h:27:1: note: 'PyEval_CallObjectWithKeywords' has been explicitly marked deprecated here
  Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
  ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED'
  #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                       ^
  src/easycb.c:819:14: warning: 'PyEval_CallObjectWithKeywords' is deprecated [-Wdeprecated-declarations]
      result = PyEval_CallObject(self->ioctl_cb, arglist);
               ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/ceval.h:34:5: note: expanded from macro 'PyEval_CallObject'
      PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL)
      ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/ceval.h:27:1: note: 'PyEval_CallObjectWithKeywords' has been explicitly marked deprecated here
  Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
  ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED'
  #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                       ^
  13 warnings generated.
  In file included from src/easycb.c:1:
  src/pycurl.h:227:5: warning: "libcurl was compiled with SSL support, but configure could not determine which "      "library was used; thus no SSL crypto locking callbacks will be set, which may "      "cause random crashes on SSL requests" [-W#warnings]
  #   warning \
      ^
  src/easycb.c:45:14: warning: 'PyEval_CallObjectWithKeywords' is deprecated [-Wdeprecated-declarations]
      result = PyEval_CallObject(cb, arglist);
               ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/ceval.h:34:5: note: expanded from macro 'PyEval_CallObject'
      PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL)
      ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/ceval.h:27:1: note: 'PyEval_CallObjectWithKeywords' has been explicitly marked deprecated here
  Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
  ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED'
  #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                       ^
  src/easycb.c:187:22: warning: 'PyEval_CallObjectWithKeywords' is deprecated [-Wdeprecated-declarations]
      python_address = PyEval_CallObject(curl_sockaddr_type, arglist);
                       ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/ceval.h:34:5: note: expanded from macro 'PyEval_CallObject'
      PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL)
      ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/ceval.h:27:1: note: 'PyEval_CallObjectWithKeywords' has been explicitly marked deprecated here
  Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
  ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED'
  #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                       ^
  src/easycb.c:198:14: warning: 'PyEval_CallObjectWithKeywords' is deprecated [-Wdeprecated-declarations]
      result = PyEval_CallObject(self->opensocket_cb, arglist);
               ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/ceval.h:34:5: note: expanded from macro 'PyEval_CallObject'
      PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL)
      ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/ceval.h:27:1: note: 'PyEval_CallObjectWithKeywords' has been explicitly marked deprecated here
  Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
  ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED'
  #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                       ^
  src/easycb.c:260:15: warning: 'PyEval_CallObjectWithKeywords' is deprecated [-Wdeprecated-declarations]
      ret_obj = PyEval_CallObject(self->sockopt_cb, arglist);
                ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/ceval.h:34:5: note: expanded from macro 'PyEval_CallObject'
      PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL)
      ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/ceval.h:27:1: note: 'PyEval_CallObjectWithKeywords' has been explicitly marked deprecated here
  Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
  ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED'
  #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                       ^
  src/easycb.c:312:15: warning: 'PyEval_CallObjectWithKeywords' is deprecated [-Wdeprecated-declarations]
      ret_obj = PyEval_CallObject(self->closesocket_cb, arglist);
                ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/ceval.h:34:5: note: expanded from macro 'PyEval_CallObject'
      PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL)
      ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/ceval.h:27:1: note: 'PyEval_CallObjectWithKeywords' has been explicitly marked deprecated here
  Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
  ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED'
  #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                       ^
  src/easycb.c:413:15: warning: 'PyEval_CallObjectWithKeywords' is deprecated [-Wdeprecated-declarations]
      ret_obj = PyEval_CallObject(self->ssh_key_cb, arglist);
                ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/ceval.h:34:5: note: expanded from macro 'PyEval_CallObject'
      PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL)
      ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/ceval.h:27:1: note: 'PyEval_CallObjectWithKeywords' has been explicitly marked deprecated here
  Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
  ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED'
  #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                       ^
  src/easycb.c:491:14: warning: 'PyEval_CallObjectWithKeywords' is deprecated [-Wdeprecated-declarations]
      result = PyEval_CallObject(cb, arglist);
               ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/ceval.h:34:5: note: expanded from macro 'PyEval_CallObject'
      PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL)
      ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/ceval.h:27:1: note: 'PyEval_CallObjectWithKeywords' has been explicitly marked deprecated here
  Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
  ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED'
  #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                       ^
  src/easycb.c:557:14: warning: 'PyEval_CallObjectWithKeywords' is deprecated [-Wdeprecated-declarations]
      result = PyEval_CallObject(self->r_cb, arglist);
               ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/ceval.h:34:5: note: expanded from macro 'PyEval_CallObject'
      PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL)
      ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/ceval.h:27:1: note: 'PyEval_CallObjectWithKeywords' has been explicitly marked deprecated here
  Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
  ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED'
  #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                       ^
  src/easycb.c:665:14: warning: 'PyEval_CallObjectWithKeywords' is deprecated [-Wdeprecated-declarations]
      result = PyEval_CallObject(self->pro_cb, arglist);
               ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/ceval.h:34:5: note: expanded from macro 'PyEval_CallObject'
      PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL)
      ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/ceval.h:27:1: note: 'PyEval_CallObjectWithKeywords' has been explicitly marked deprecated here
  Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
  ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED'
  #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                       ^
  src/easycb.c:718:14: warning: 'PyEval_CallObjectWithKeywords' is deprecated [-Wdeprecated-declarations]
      result = PyEval_CallObject(self->xferinfo_cb, arglist);
               ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/ceval.h:34:5: note: expanded from macro 'PyEval_CallObject'
      PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL)
      ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/ceval.h:27:1: note: 'PyEval_CallObjectWithKeywords' has been explicitly marked deprecated here
  Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
  ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED'
  #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                       ^
  src/easycb.c:778:14: warning: 'PyEval_CallObjectWithKeywords' is deprecated [-Wdeprecated-declarations]
      result = PyEval_CallObject(self->debug_cb, arglist);
               ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/ceval.h:34:5: note: expanded from macro 'PyEval_CallObject'
      PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL)
      ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/ceval.h:27:1: note: 'PyEval_CallObjectWithKeywords' has been explicitly marked deprecated here
  Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
  ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED'
  #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                       ^
  src/easycb.c:819:14: warning: 'PyEval_CallObjectWithKeywords' is deprecated [-Wdeprecated-declarations]
      result = PyEval_CallObject(self->ioctl_cb, arglist);
               ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/ceval.h:34:5: note: expanded from macro 'PyEval_CallObject'
      PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL)
      ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/ceval.h:27:1: note: 'PyEval_CallObjectWithKeywords' has been explicitly marked deprecated here
  Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
  ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED'
  #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                       ^
  13 warnings generated.
  clang -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch arm64 -arch x86_64 -g -DPYCURL_VERSION=\"7.43.0.6\" -DHAVE_CURL_SSL=1 -I/Users/shubham.mantri/newApifuzzers/pythonProject/.venv/include -I/Library/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c src/easyinfo.c -o build/temp.macosx-10.9-universal2-cpython-311/src/easyinfo.o
  In file included from src/easyinfo.c:1:
  src/pycurl.h:227:5: warning: "libcurl was compiled with SSL support, but configure could not determine which "      "library was used; thus no SSL crypto locking callbacks will be set, which may "      "cause random crashes on SSL requests" [-W#warnings]
  #   warning \
      ^
  1 warning generated.
  In file included from src/easyinfo.c:1:
  src/pycurl.h:227:5: warning: "libcurl was compiled with SSL support, but configure could not determine which "      "library was used; thus no SSL crypto locking callbacks will be set, which may "      "cause random crashes on SSL requests" [-W#warnings]
  #   warning \
      ^
  1 warning generated.
  clang -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch arm64 -arch x86_64 -g -DPYCURL_VERSION=\"7.43.0.6\" -DHAVE_CURL_SSL=1 -I/Users/shubham.mantri/newApifuzzers/pythonProject/.venv/include -I/Library/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c src/easyopt.c -o build/temp.macosx-10.9-universal2-cpython-311/src/easyopt.o
  In file included from src/easyopt.c:1:
  src/pycurl.h:227:5: warning: "libcurl was compiled with SSL support, but configure could not determine which "      "library was used; thus no SSL crypto locking callbacks will be set, which may "      "cause random crashes on SSL requests" [-W#warnings]
  #   warning \
      ^
  1 warning generated.
  In file included from src/easyopt.c:1:
  src/pycurl.h:227:5: warning: "libcurl was compiled with SSL support, but configure could not determine which "      "library was used; thus no SSL crypto locking callbacks will be set, which may "      "cause random crashes on SSL requests" [-W#warnings]
  #   warning \
      ^
  1 warning generated.
  clang -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch arm64 -arch x86_64 -g -DPYCURL_VERSION=\"7.43.0.6\" -DHAVE_CURL_SSL=1 -I/Users/shubham.mantri/newApifuzzers/pythonProject/.venv/include -I/Library/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c src/easyperform.c -o build/temp.macosx-10.9-universal2-cpython-311/src/easyperform.o
  In file included from src/easyperform.c:1:
  src/pycurl.h:227:5: warning: "libcurl was compiled with SSL support, but configure could not determine which "      "library was used; thus no SSL crypto locking callbacks will be set, which may "      "cause random crashes on SSL requests" [-W#warnings]
  #   warning \
      ^
  src/easyperform.c:31:10: warning: 'PyEval_CallObjectWithKeywords' is deprecated [-Wdeprecated-declarations]
      io = PyEval_CallObject(bytesio, NULL);
           ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/ceval.h:34:5: note: expanded from macro 'PyEval_CallObject'
      PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL)
      ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/ceval.h:27:1: note: 'PyEval_CallObjectWithKeywords' has been explicitly marked deprecated here
  Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
  ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED'
  #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                       ^
  2 warnings generated.
  In file included from src/easyperform.c:1:
  src/pycurl.h:227:5: warning: "libcurl was compiled with SSL support, but configure could not determine which "      "library was used; thus no SSL crypto locking callbacks will be set, which may "      "cause random crashes on SSL requests" [-W#warnings]
  #   warning \
      ^
  src/easyperform.c:31:10: warning: 'PyEval_CallObjectWithKeywords' is deprecated [-Wdeprecated-declarations]
      io = PyEval_CallObject(bytesio, NULL);
           ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/ceval.h:34:5: note: expanded from macro 'PyEval_CallObject'
      PyEval_CallObjectWithKeywords(callable, arg, (PyObject *)NULL)
      ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/ceval.h:27:1: note: 'PyEval_CallObjectWithKeywords' has been explicitly marked deprecated here
  Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
  ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED'
  #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                       ^
  2 warnings generated.
  clang -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch arm64 -arch x86_64 -g -DPYCURL_VERSION=\"7.43.0.6\" -DHAVE_CURL_SSL=1 -I/Users/shubham.mantri/newApifuzzers/pythonProject/.venv/include -I/Library/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c src/module.c -o build/temp.macosx-10.9-universal2-cpython-311/src/module.o
  In file included from src/module.c:1:
  src/pycurl.h:227:5: warning: "libcurl was compiled with SSL support, but configure could not determine which "      "library was used; thus no SSL crypto locking callbacks will be set, which may "      "cause random crashes on SSL requests" [-W#warnings]
  #   warning \
      ^
  src/module.c:415:25: error: expression is not assignable
      Py_TYPE(&Curl_Type) = &PyType_Type;
      ~~~~~~~~~~~~~~~~~~~ ^
  src/module.c:416:30: error: expression is not assignable
      Py_TYPE(&CurlMulti_Type) = &PyType_Type;
      ~~~~~~~~~~~~~~~~~~~~~~~~ ^
  src/module.c:417:30: error: expression is not assignable
      Py_TYPE(&CurlShare_Type) = &PyType_Type;
      ~~~~~~~~~~~~~~~~~~~~~~~~ ^
  src/module.c:1468:5: warning: 'PyEval_InitThreads' is deprecated [-Wdeprecated-declarations]
      PyEval_InitThreads();
      ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/ceval.h:132:1: note: 'PyEval_InitThreads' has been explicitly marked deprecated here
  Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void);
  ^
  /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED'
  #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                       ^
  2 warnings and 3 errors generated.
  error: command '/usr/bin/clang' 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 pycurl Running setup.py clean for pycurl Failed to build pycurl ERROR: Could not build wheels for pycurl, which is required to install pyproject.toml-based projects

Software environment (please complete the following information):

KissPeter commented 7 months ago

ERROR: Could not build wheels for pycurl, which is required to install unfortunately pycurl is not trivial to install Pls check https://github.com/KissPeter/APIFuzzer?tab=readme-ov-file#pre-requirements If you found out, instructions are welcome Alternatively you can use Docker: https://github.com/KissPeter/APIFuzzer?tab=readme-ov-file#using-docker

KissPeter commented 5 months ago

closing due to inactivity