tags 944911 + upstream
thanks

Aurelien Jarno wrote:

> libfiu fails to build from source:
> | ./wrap-python 3 ./test-manyfps.py
> | Found too many matching python3 bindings

This happens because we build for all Python versions, eg:

        cd bindings/python && \
        set -e && for i in $(PYTHON_VERSIONS); do \
                python$$i ./setup.py build; \
        done

… which leaves us with:

  bindings
  └── python
      └── build
          ├── lib.linux-x86_64-3.7
          ├── lib.linux-x86_64-3.8
          ├── temp.linux-x86_64-3.7
          └── temp.linux-x86_64-3.8


… and then when we call "./wrap-python 3" this finds both the
lib.linux-x86_64-3.7 and lib.linux-x86_64-3.8 directories.

I'm not sure about the best solution here and have vaguely considered
manually deleting all but the default version of Python from
bindings/python/build but it would be preferable if we could run the
tests against all (or "all built") versions of Python. Alberto, would
this be possible?


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      la...@debian.org 🍥 chris-lamb.co.uk
       `-

Reply via email to