sangoma / python-ESL

FreeSWITCH's ESL SWIG wrapper for Python packaged with setuptools
https://freeswitch.org/confluence/display/FREESWITCH/Python+ESL
Mozilla Public License 2.0
23 stars 26 forks source link

Deprecated command line option: -classic #7

Open zenichev opened 7 months ago

zenichev commented 7 months ago

Good day community.

Sorry for reporting the second issue around similar scope, but this time the issue is different, so I tend to localize such things in parts.

I've recently come across an issue with the installation via pip. Command I do run: sudo pip install python-ESL --break-system-packages

During the installation I get the following error:

      Deprecated command line option: -classic. This option is no longer available.
      error: command '/usr/bin/swig' failed with exit code 1

The way I was able to overcome this, was to downgrade swig via pip: sudo pip install swig==3.0.12

But this seems to me as a really wrong way to to do it. I think this information might be important for the project.

Other information: OS: Debian GNU/Linux 12 (bookworm) Python version: 3.11.2 Swig version: 4.1.0-0.2 python3-pip version: 23.0.1+dfsg-1

P.S.: It looks like there has been another report here: https://github.com/sangoma/python-ESL/issues/2 but I wasn't really sure it's 100% the same thing. If you feel it's the duplicate, just close mine one.