Skip to content

License classifiers are deprecated - pyaudio #6

@p3e7

Description

@p3e7

Hi, I'm trying to install vector on macOS Tahoe.

First of, I had to remove cupy-13.4.1 from the requirements, since macOS is not supported - hope this doesn't lead to future issues.

Right now I'm stuck with a deprecated license issue. Any idea how to fix this?

Here is the error message:
... overlay/lib/python3.12/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

          ********************************************************************************
          Please consider removing the following classifiers in favor of a SPDX license expression:
  
          License :: OSI Approved :: MIT License
  
          See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
          ********************************************************************************
  
  !!
    self._finalize_license_expression()
  running bdist_wheel
  running build
  running build_py
  creating build/lib.macosx-11.1-arm64-cpython-312/pyaudio
  copying src/pyaudio/__init__.py -> build/lib.macosx-11.1-arm64-cpython-312/pyaudio
  running build_ext
  building 'pyaudio._portaudio' extension
  creating build/temp.macosx-11.1-arm64-cpython-312/src/pyaudio
  clang -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -Wall -fPIC -O2 -isystem /opt/homebrew/Caskroom/miniconda/base/envs/vector_companion/include -arch arm64 -fPIC -O2 -isystem /opt/homebrew/Caskroom/miniconda/base/envs/vector_companion/include -arch arm64 -DMACOS=1 -I/usr/local/include -I/usr/include -I/opt/homebrew/include -I/opt/homebrew/Caskroom/miniconda/base/envs/vector_companion/include/python3.12 -c src/pyaudio/device_api.c -o build/temp.macosx-11.1-arm64-cpython-312/src/pyaudio/device_api.o
  src/pyaudio/device_api.c:9:10: fatal error: 'portaudio.h' file not found
      9 | #include "portaudio.h"
        |          ^~~~~~~~~~~~~
  1 error generated.
  error: command '/usr/bin/clang' failed with exit code 1

Thanks in advance. This sounds like an awesome project and I'm very curious to check it out.
Have a nice day!

Cheers
peet

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions