-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fastani
is not installed under Python 3.9
#377
Comments
With respect to this, we should be flagging the unavailability of |
The current situation as I see it is that:
When installing manually on macOS/Python3.9 according to instructions at https://github.com/ParBLiSS/FastANI an incorrect compile string is produce by the $ make
c++ -O3 -DNDEBUG -std=c++11 -Isrc -I ${CONDA_PREFIX}/lib/include -mmacosx-version-min=10.7 -stdlib=libc++ -Xpreprocessor -fopenmp -lomp -DUSE_BOOST src/cgi/core_genome_identity.cpp -o fastANI ${CONDA_PREFIX}/lib/lib/libboost_math_c99.a -lstdc++ -lz -lm Specifically, an extra $ make
c++ -O3 -DNDEBUG -std=c++11 -Isrc -I ${CONDA_PREFIX}/lib/include -mmacosx-version-min=10.7 -stdlib=libc++ -Xpreprocessor -fopenmp -lomp -DUSE_BOOST src/cgi/core_genome_identity.cpp -o fastANI ${CONDA_PREFIX}/lib/libboost_math_c99.dylib -lstdc++ -lz -lm and this compiles a working NOTE: if I think we have three options:
|
See branch |
Summary:
The third-party dependency
fastani
cannot be installed withconda
ormamba
under Python 3.9.Description:
fastani
is an item inrequirements-thirdparty.txt
but is not installable under Python 3.9:Consequently, the
pytest -v
test fails:Reproducible Steps:
pyani
under Python 3.9 in any standard way (e.g.git
clone thenpip install -e .
, etc.) -fastani
will not be installed.pytest -v
(if cloned) or apyani fastani
commandCurrent Output:
Failed tests under
pytest
, errors withpyani fastani
.Expected Output:
fastani
tests should be skipped inpytest
iffastani
is unavailable.pyani fastani
should report thatfastani
is not installed, and fail gracefully.pyani Version:
v0.3.0 (commit b8722f0)
Python Version:
3.9
Operating System:
macOS
The text was updated successfully, but these errors were encountered: