Giter Club home page Giter Club logo

Comments (3)

ACEnglish avatar ACEnglish commented on July 4, 2024

This appears to be a problem upstream from Truvari. Best I can tell from google searches is that there's something going on with python 3.11 and/or cython (example)? Alternatively, you could try asking the edlib developers or look for help from python/cython user groups. I don't believe there's anything I can change in truvari to fix this issue.

from truvari.

Overcraft90 avatar Overcraft90 commented on July 4, 2024

I see thanks @ACEnglish for the prompt reply, I will look into that and hopefully find a solution. For the time being maybe I keep this open, so once I've some news I can post here. Thanks again!

from truvari.

ACEnglish avatar ACEnglish commented on July 4, 2024

I'm testing a new Truvari release and ran into the same problem. I able to install edlib without the wheel by performing the following steps:

git clone https://github.com/Martinsos/edlib.git
cd edlib/bindings/python
make sdist
python3 -m pip install dist/edlib-1.3.9.tar.gz

I believe the problem is that edlib wheel needs to be updated to be pip-installable for python 3.11. But after the manual installation above, Truvari's installation no longer ran in to edlib's problem:

  DEPRECATION: edlib is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559
  Running setup.py install for edlib ... error
  error: subprocess-exited-with-error

  × Running setup.py install for edlib did not run successfully.
  │ exit code: 1
  ╰─> [16 lines of output]
      running install
      /Users/english/temp/test_truvari/lib/python3.11/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
        warnings.warn(
      running build
      running build_ext
      building 'edlib' extension
      creating build
      creating build/temp.macosx-13-x86_64-cpython-311
      creating build/temp.macosx-13-x86_64-cpython-311/edlib
      creating build/temp.macosx-13-x86_64-cpython-311/edlib/src
      clang -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Iedlib/include -I/Users/english/temp/test_truvari/include -I/usr/local/opt/[email protected]/Frameworks/Python.framework/Versions/3.11/include/python3.11 -c edlib.bycython.cpp -o build/temp.macosx-13-x86_64-cpython-311/edlib.bycython.o -O3 -std=c++11
      edlib.bycython.cpp:198:12: fatal error: 'longintrepr.h' file not found
        #include "longintrepr.h"
                 ^~~~~~~~~~~~~~~
      1 error generated.
      error: command '/usr/bin/clang' failed with exit code 1
      [end of output]

from truvari.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.